navarral commented on issue #1791:
URL: https://github.com/apache/jena/issues/1791#issuecomment-1461761780

   @rvesse @galbiston thanks for looking into it! 
   
   I tried the following but it does not load correctly the test-geosparql.trig 
file:
   
   1. I loaded a sample RDF file, that I know it works, to set up a dataset in 
a "TestTDB" 
   
   `java -jar jena-fuseki-geosparql-4.7.0.jar -rf "EU-nuts-rdf-geosparql.ttl" 
-t "TestTDB" -i`
   
   2. I tested a GeoSPARQL query and it works just fine but then, I try to 
upload the .trig file following your guidance:
   
   `java -jar jena-fuseki-geosparql-4.7.0.jar -rf 
"test-geosparql.trig#https://example.org/graph-A&trig"; -t "TestTDB" -i`
   
   but the data does not load. I ran a query and it only finds the first file 
from 1. . I have also pasted 
[http://localhost:3030/ds](http://localhost:3030/ds) to export all the data and 
it is not there.
   
   [2023-03-09 10:32:26] Main       INFO  Arguments Received: [-rf, 
test-geosparql.trig#https://example.org/graph-A&trig, -t, TestTDB]
   [2023-03-09 10:32:26] 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=[FileGraphFormat{rdfFile=test-geosparql.trig, 
graphName=https://example.org/graph-A&trig, rdfFormat=Turtle/pretty}], 
fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], 
indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, tdb2=false, 
transformGeometry=true, help=false
   [2023-03-09 10:32:26] DatasetOperations INFO  TDB Dataset: TestTDB, TDB2: 
false
   [2023-03-09 10:32:26] system     WARN  The “SIS_DATA” environment variable 
is not set.
   [2023-03-09 10:32:27] DatasetOperations INFO  Reading RDF - Started - File: 
test-geosparql.trig, Graph Name: https://example.org/graph-A&trig, RDF Format: 
Turtle/pretty
   [2023-03-09 10:32:27] riot       WARN  Only triples or default graph data 
expected : named graph data ignored
   [2023-03-09 10:32:27] DatasetOperations INFO  Reading RDF - Completed - 
File: test-geosparql.trig, Graph Name: https://example.org/graph-A&trig, RDF 
Format: Turtle/pretty
   
   
   3. I tried with specifying the conversion to .trig with ">trig", but I got 
the same results
   
   `java -jar jena-fuseki-geosparql-4.7.0.jar -rf 
"test-geosparql.trig#https://example.org/graph-A&trig>trig" -t "TestTDB" -i`
   
   [2023-03-09 10:31:31] Main       INFO  Arguments Received: [-rf, 
test-geosparql.trig#https://example.org/graph-A&trig>trig, -t, TestTDB]
   [2023-03-09 10:31:31] 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=[FileGraphFormat{rdfFile=test-geosparql.trig, 
graphName=https://example.org/graph-A&trig, rdfFormat=TriG/pretty}], 
fileGraphDelimiters=[], indexEnabled=true, indexSizes=[-1, -1, -1], 
indexExpiries=[5000, 5000, 5000], spatialIndexFile=null, tdb2=false, 
transformGeometry=true, help=false
   [2023-03-09 10:31:31] DatasetOperations INFO  TDB Dataset: TestTDB, TDB2: 
false
   [2023-03-09 10:31:31] system     WARN  The “SIS_DATA” environment variable 
is not set.
   [2023-03-09 10:31:31] DatasetOperations INFO  Reading RDF - Started - File: 
test-geosparql.trig, Graph Name: https://example.org/graph-A&trig, RDF Format: 
TriG/pretty
   [2023-03-09 10:31:31] riot       WARN  Only triples or default graph data 
expected : named graph data ignored
   [2023-03-09 10:31:31] DatasetOperations INFO  Reading RDF - Completed - 
File: test-geosparql.trig, Graph Name: https://example.org/graph-A&trig, RDF 
Format: TriG/pretty
   
   
   Do you have any further workarounds or command options that I could try?
   
   Many thanks,
   


-- 
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]

Reply via email to