Some inferencing is prepared in the (neo4j-rdf) code, but not enabled and the GraphDatabaseSailConnectionImp l doesn't implement InferencerConnection. So it isn't supported yet, but I think the effort to support it wouldn't be all that much... at least the subClassOf operation.
If you feel like digging into the code there's some commented code commented in <http://VerboseQuadStore.java>VerboseQuadStore.java<https://svn.neo4j.org/components/rdf/trunk/src/main/java/org/neo4j/rdf/store/VerboseQuadStore.java>on line 614-645 and enabling it on line 578-581. However it's not tested, but it should be conceptually in that direction (just made that commented code compile a moment ago). 2010/12/7 Schmidt, Dennis <dennis.schm...@sap.com> > Hi all, > > After finally getting the neo4j-rdf-sail to work I am wondering if there is > any way to get inferencing working. Using > > [...] > Sail sail = new GraphDatabaseSail( graphDb, rdfStore ); > DirectTypeHierarchyInferencer inf = new > DirectTypeHierarchyInferencer( > new ForwardChainingRDFSInferencer( > (NotifyingSail) sail)); > rdfRepository = new SailRepository(inf); > > I just get "org.neo4j.rdf.sail.GraphDatabaseSailConnectionImpl cannot be > cast to org.openrdf.sail.inferencer.InferencerConnection", which, according > to http://www.openrdf.org/forum/mvnforum/viewthread?thread=1695 means > inferencing is not supported. > But on the main component page for the sail it states however "A neo4j RDF > Sesame Storage and Inference Layer.". Using the basic example under > http://components.neo4j.org/neo4j-rdf-sail/index.html I get everything > else working so far, but not even rdfs:subClassOf inferencing seems to be > supported (I just get empty results for queries that usually returned > thousands of results). So is there maybe something I'd have to do to make it > work or is it just not supported (yet)? > > Regards, > Dennis Schmidt > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user