Hi every one I have little problem since owlim does not find the direct type of instances. Somewhere in my ontology I have the following instance defined:
<messemodul:button rdf:about="#RedButton"/> My OWLIM system does is able to load the ontology into the triple store. By this RepositoryResult<Statement> iter = repositoryConn.getStatements("http://134.96.184.229/isreal/messemodul_abox.owl#RedButton", null, null, true); I get several triple including (http://134.96.184.229/isreal/messemodul_abox.owl#RedButton, http://www.w3.org/1999/02/22-rdf-syntax-ns#type, http://134.96.184.229/isreal/messemodul.owl#button) (http://134.96.184.229/isreal/messemodul_abox.owl#RedButton, http://www.w3.org/1999/02/22-rdf-syntax-ns#type, http://www.w3.org/2002/07/owl#Thing) But when I use this sparql query: SELECT ?pred ?obj WHERE { <http://134.96.184.229/isreal/messemodul_abox.owl#RedButton>?pred ?obj . } I do not get the first triple saying that RedButton is a button. I just get all the other triples. Using a ask query: ASK { <http://134.96.184.229/isreal/messemodul_abox.owl#RedButton> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://134.96.184.229/isreal/messemodul.owl#button> . } I get true. Can anyone help? Best regards Stefan -------------------required by german law-------------------- Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Trippstadter Strasse 122, D-67663 Kaiserslautern, Germany Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 ------------------------------------------------------------- _______________________________________________ OWLIM-discussion mailing list OWLIM-discussion@ontotext.com http://ontotext.com/mailman/listinfo/owlim-discussion