Closed nemanjavuk closed 7 years ago
Hi, can you please provide a (relevant subset; apparently the subClassOf statements would be sufficient) example of your input data so that we can try to reproduce the isse? Are you sure that your N-TRIPLES file is error free? Also, did you use the release or develop version of sansa?
I tried with a larger example but even if you try with a file with only the following triple:
<http://example.org/#Spiderman> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://example.org/#Superhero> .
I get the same exception. I used the develop branch of SANSA-Examples. Thank you
I tested the triple with the current versions of the rdf and query layers in develop, and there this triple works. However, it is most likely related to an existing issue about deriving SQL table names for RDF partitions in the RDF layer: https://github.com/SANSA-Stack/SANSA-RDF/issues/19
I am closing this concrete issue (which is resolved) in favor of the more general issue SANSA-Stack/SANSA-RDF#19
I tried to run a net.sansa_stack.examples.spark.query.Sparqklify example class with my own file in nt format and it gives back the following stack trace:
`Exception in thread "main" org.apache.spark.sql.catalyst.parser.ParseException: mismatched input '-' expecting(line 1, pos 3)
== SQL == rdf-schema#subClassOf ---^^^