>is it better to go with SPARQL queries or Jena Inference mechanism?
You might want to look into SPIN, which provides a way to implement rules using SPARQL CONSTRUCT and ASK queries: http://www.spinrdf.org/
Bob On 3/26/2011 1:18 PM, Anuj Kumar wrote:
Hello Everyone, I am trying some basic inferencing with Jena 2 Inference support and following the tutorial given here: http://jena.sourceforge.net/inference/ There are some basic inferencing regarding the property of a resource and its sub property in my TDB instance. I have loaded a set of triples into TDB and I am creating a model from the TDBFactory using the TDB database location. The basic inferencing is taking longer time as compared to SPARQL queries. I have limited RAM of 2GB and just trying to compare the two approaches. What exactly is a better approach to do such inferencing? Also if you have your own custom rules, is it better to go with SPARQL queries or Jena Inference mechanism? Any thoughts/suggestion will be of great help. Also, if this is the right place; there is a small typo in 3rd line of http://jena.sourceforge.net/inference/#RDFSintro -> or manually via * ReasonerRegistery*.getRDFSReasoner() should be *ResonerRegistry*. Same change is required in first line of http://jena.sourceforge.net/inference/#OWLconfiguration Thanks, Anuj
