hi Qiu, could you try to add:
using namespace rdfs = http://www.w3.org/2000/01/rdf-schema# to your queries. RQL engine does not know what is 'rdfs:' and assumes it is a namespace which is different from http://www.w3.org/2000/01/rdf-schema# thus the URIs 'rdfs:subClassOf' and http://www.w3.org/2000/01/rdf-schema#subClassOf are treated as unequal and I think that this is the reason for lack of results. Are the equivalent SeRQL queries also doesn't return any results? HTH, Damyan ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <owlim-discussion@ontotext.com> Sent: Thursday, May 31, 2007 4:12 PM Subject: [OWLIM-discussion] tbox query using OWLIM > Hello! > > I want to make a simple query on TBox using OWLIM. But I can not get > any results, even I know there is some result and I can get such kind > of result by other reasoners. So I think there must be something wrong > with my query (for other ABox queries, it works fine). By referring to > the OWLIM manual > > http://139.91.183.30:9090/RDF/RQL/Manual.html, > > I tried the fowlling queries: > > (1) SELECT X from {X} rdfs:subClassOf {Y} (2) SELECT X from > subClassOf(http://vicodi.org/ontology#Building) > (3) SELECT X from {X} rdfs:subClassOf vic:Building using namespace > vic=http://vicodi.org/ontology# > > I just want to get all the (inferred) subclasses of a concept. Thank > you very much for your help. > > Regards, > > Qiu > > > _______________________________________________ > OWLIM-discussion mailing list > OWLIM-discussion@ontotext.com > http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com > _______________________________________________ OWLIM-discussion mailing list OWLIM-discussion@ontotext.com http://ontotext.com/mailman/listinfo/owlim-discussion_ontotext.com