dbpedia / gstore

Git repo / triple store hybrid graph storage
Apache License 2.0
3 stars 0 forks source link

Enable federated SPARQL queries per default #12

Closed holycrab13 closed 2 years ago

holycrab13 commented 2 years ago

Start virutoso with the appropriate settings or let the gstore change the settings on the virtuoso after startup Permissions that need to be granted:

grant SPARQL_LOAD_SERVICE_DATA to "SPARQL";
grant SPARQL_SPONGE to "SPARQL";
manonthegithub commented 2 years ago

example of a query:


PREFIX dbo: <http://dbpedia.org/ontology/>

SELECT * WHERE {

  SERVICE <http://dbpedia.org/sparql> { 
    {
      SELECT DISTINCT ?city WHERE {
          ?city a dbo:City .
      } LIMIT 10
    }
  }
}
manonthegithub commented 2 years ago

this can be done in a few ways.

manonthegithub commented 2 years ago

@holycrab13 should work with latest commits... please check :), feel free to reopen in case of problems