navarral commented on issue #1791: URL: https://github.com/apache/jena/issues/1791#issuecomment-1465688239
I expanded the minimal example to include geosparql information but it still did not work. ```turtle @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 geo: <http://www.opengis.net/ont/geosparql#> . @prefix dct: <http://purl.org/dc/terms/> . @prefix qb: <http://purl.org/linked-data/cube#> . @prefix locn: <http://www.w3.org/ns/locn#> . # -- Named Graph -------------- <https://example.org/graph-A> { # -- Data Set ------------------- <https://example.org/dataset-1> a qb:DataSet , geo:Feature ; dct:title "Test Dataset"@en ; locn:geometry <https://example.org/dataset-1-geo> ; . <https://example.org/dataset-1-geo> a geo:Geometry ; geo:asWKT "POINT(10.5341 42.9391)"^^geo:wktLiteral ; . } ``` @galbiston I confirm that the `/path/for/database/` is the same in both of the following commands `bin/tdbloader --loc /path/for/database/TestTDB test-geosparql.trig` 07:54:51 INFO loader :: -- Start triples data phase 07:54:51 INFO loader :: ** Load empty triples table 07:54:51 INFO loader :: -- Start quads data phase 07:54:51 INFO loader :: ** Load into quads table with existing data 07:54:51 INFO loader :: Load: test-geosparql.trig -- 2023/03/13 07:54:51 GMT 07:54:52 INFO loader :: -- Finish triples data phase 07:54:52 INFO loader :: -- Finish quads data phase 07:54:52 INFO loader :: ** Data: 6 quads loaded in 0.27 seconds [Rate: 22.39 per second] 07:54:52 INFO loader :: -- Start quads index phase 07:54:52 INFO loader :: -- Finish quads index phase 07:54:52 INFO loader :: -- Finish triples load 07:54:52 INFO loader :: -- Finish quads load 07:54:52 INFO loader :: ** Completed: 6 quads loaded in 0.28 seconds [Rate: 21.43 per second] `java -jar jena-fuseki-geosparql-4.7.0.jar -t "/path/for/database/TestTDB"` WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. [2023-03-13 08:05:08] Main INFO Arguments Received: [-t, TestTDB] [2023-03-13 08:05:08] DatasetOperations INFO Server Configuration: port=3030, datsetName=ds, loopbackOnly=true, updateAllowed=false, inference=false, applyDefaultGeometry=false, validateGeometryLiteral=false, convertGeoPredicates=false, removeGeoPredicates=false, queryRewrite=true, tdbFile=TestTDB, fileGraphFormats=[], fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, tdb2=false, transformGeometry=true, help=false [2023-03-13 08:05:08] DatasetOperations INFO TDB Dataset: TestTDB, TDB2: false [2023-03-13 08:05:08] system WARN The “SIS_DATA” environment variable is not set. [2023-03-13 08:05:08] GeoSPARQLOperations INFO Find Mode SRS - Started [2023-03-13 08:05:08] GeoSPARQLOperations INFO Find Mode SRS - Completed [2023-03-13 08:05:08] SpatialIndex INFO Saving Spatial Index - Started: /path/for/database/TestTDB/spatial.index [2023-03-13 08:05:08] SpatialIndex INFO Saving Spatial Index - Completed: /path/for/database/TestTDB/spatial.index [2023-03-13 08:05:08] GeosparqlServer INFO GeoSPARQL Server: Running - Port: 3030, Dataset: /ds, Loopback Only: true, Allow Update: false [2023-03-13 08:05:08] Server INFO Start Fuseki (http=3030) The .trig files seems to be uploaded but not accessible as it returns an empty result: [2023-03-13 08:05:41] Fuseki INFO [1] POST http://localhost:3030/ds [2023-03-13 08:05:41] Fuseki INFO [1] Query = PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX qb: <http://purl.org/linked-data/cube#> SELECT * { ?s ?p ?o } LIMIT 5 [2023-03-13 08:05:41] Fuseki INFO [1] 200 OK (136 ms) Am I missing something? @SimonBin thanks for your answer! I will keep it in mind for certain use cases. However, in this particular one, I am looking for an open-source triplestore with GeoSPARQL support (like Jena) to import ~50Milion triples to run GeoSPARQL queries offline as there is some health data involved. Any advice would be welcome. I would have preferred to use geosparql-fuseki for the full GeoSPARQL support but if it does not support named graphs I might try to use jena-fuseki with GeoSPARQL enabled. Is there a ready to use fuseki server with GeoSPARQL enabled? -- 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]
