I’m not sure how to setup VOS for using inference in SPARQL queries.
From what I understood I have to:
- Load the ontology or ontologies into individual named graphs
- Create rule sets, including one or more of this named graphs
- Write the SPARQL query and include a DEFINE statement to reference the rule set.
When this is done, the query will return the rdf triples that really exist (that were loaded), and the ones that are created on the fly using inferencing based on the relations present in the ontology referenced by the rule set.
Is this the right way?