Hi! I am new to semantic web technologies, and have started with RDF/OWL for making web applications. Currently i have a requirement for accessing a Ontology (OntModel with OWLModelSpec.OWL_MEM_RULE_INF) from an OWL file.I am also able to Store in local TDB, all done by JENA 2.11.0. Thanks to the Nice API and Tutorial provided for the same. I need to fire SPARQL queries on the model to get some fruitful results. Once the TDB is created, in order to fire search query on the same, the results are not as expected.
As per my SPARQL qurey, when directly made to the TDB Dataset, does not returns results (i.e. results with inference rules) accordingly. Where as If the same query is fired on the OntModel (loaded from the TDB, with OWLModelSpec.OWL_MEM_RULE_INF ) itself the results are found to be as expected. How do I solve the problem of making queries directly to the Dataset and not to OntModel with inference rule enabled? Please help!! Thanks in Advance!! -- *Dibyanshu Jaiswal* Mb: +91 9038304989 Mb: +91 9674272265
