navarral opened a new issue, #1791: URL: https://github.com/apache/jena/issues/1791
### Version 4.7.0 ### Question Hi, I am trying to load .trig file in fuseki-geosparql that has a named graph, but the .trig file does not load correctly resulting into an empty dataset. However, when Ioad the file in the fuseki-server it works. Do you have any advice on what to include in the command to make it work for fuseki-geosparql? Please find below the necessary information to reproduce the error, I have downloaded [jena-fuseki-geosparql-4.7.0.jar](https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/4.7.0/jena-fuseki-geosparql-4.7.0.jar) from https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-geosparql/4.7.0/ . I am using the following command: java -jar jena-fuseki-geosparql-4.7.0.jar -rf "test-geosparql.trig" -i Error I get is: [2023-02-27 16:57:47] DatasetOperations INFO Reading RDF - Started - File: test-geosparql.trig, Graph Name: , RDF Format: Turtle/pretty [2023-02-27 16:57:47] riot WARN Only triples or default graph data expected : named graph data ignored [2023-02-27 16:57:47] DatasetOperations INFO Reading RDF - Completed - File: test-geosparql.trig, Graph Name: , RDF Format: Turtle/pretty [2023-02-27 16:57:48] GeoSPARQLOperations INFO Applying GeoSPARQL Schema - Started [2023-02-27 16:57:48] GeoSPARQLOperations INFO GeoSPARQL schema not applied to empty graph: default [2023-02-27 16:57:48] GeoSPARQLOperations INFO Applying GeoSPARQL Schema - Completed [2023-02-27 16:57:48] DatasetOperations WARN Dataset empty. Spatial Index not constructed. Server will require restarting after adding data and any updates to build Spatial Index. The test-geosparql.trig is the following (I have removed most of the triples just to leave a minimal example): @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix dct: <http://purl.org/dc/terms/> . @prefix qb: <http://purl.org/linked-data/cube#> . <https://example.org/graph-A> { <https://example.org/dataset-1> a qb:DataSet ; dct:title "Test Dataset"@en ; . } -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
