graphdb - Setting to query only Default Graph and exclude Named Graphs -


in graphdb documentation, see "the dataset’s default graph contains merge of database’s default graph , database named graphs." means "if statement ex:x ex:y ex:z exists in database in graph ex:g" query such select * { ?s ?p ?o } return triple ex:x ex:y ex:z

i wondering if there setting can triggered either via web interface or via rdf4j/openrdf api disable behavior in specified graphdb repository. is, purposes of project prefer have triples stored in named graphs appear in results query named graph.

i have not seen searching through documentation or on settings available on web interface, maybe here knows don't.

edit: not looking sparql solution problem. know can query default graph using sparql, want able use query select * { ?s ?p ?o } , see results in default graph default.

graphdb/rdf4j have different interpretation jena how query default graph. easy way query explicit statements in default graph use special graph sesame:nil. sparql-based solution write:

prefix sesame: <http://www.openrdf.org/schema/sesame#> select ?s ?p ?o sesame:nil {    ?s ?p ?o . } limit 100 

i don't think there easy non-sparql based solution changing configuration option or use special graph on sparql graph store protocol.


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -