John, hi again! This appears to be a known issue in BigOWLIM and should be resolved for the next official release. Thanks for pointing it out, this helps us prioritize the issue better!
As with the previous issue, I'll let you know when there is new BigOWLIM officially released so you can make use of this currently broken functionality. Cheers, Ivan On Wednesday 11 November 2009 17:56:42 John Moon wrote: > Hi all, > > I'm using BigOWLIM 3.2 and the "directsubclassof" SERQL statement does > not seem to work correctly when using equivalentClass. For example > using this simple ontology: > > <?xml version="1.0"?> > <!DOCTYPE rdf:RDF [ > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > > <!ENTITY owl "http://www.w3.org/2002/07/owl#" > > <!ENTITY owl "http://www.Test.com/ontology/" > > ]> > > <rdf:RDF > xmlns ="&owl;" > xmlns:owl ="&owl;" > xml:base ="http://www.Test.com/ontology/" > xmlns:rdf ="&rdf;" > xmlns:rdfs="&rdfs;" > > > <owl:Ontology rdf:about=""> > <owl:versionInfo > rdf:datatype="http://www.w3.org/2001/XMLSchema#string">July 24, > 2009</owl:versionInfo> > </owl:Ontology> > > <owl:Class rdf:about="Person"/> > > <owl:Class rdf:about="PrincipalResidentOfWhiteHouse"> > <rdfs:subClassOf rdf:resource="Person" /> > </owl:Class> > > <owl:Class rdf:about="US_President"> > <equivalentClass rdf:resouce="PrincipalResidentOfWhiteHouse"/> > <rdfs:subClassOf rdf:resource="Person" /> > </owl:Class> > > </rdf:RDF> > > When i run this query: > "SELECT * FROM {X} sesame:directSubClassOf > {<http://www.Test.com/ontology/Person>}" > > I only get back > "http://www.Test.com/ontology/PrincipalResidentOfWhiteHouse" > > But i should get back both US_President and PrincipalResidentOfWhiteHouse > > According to sesame docs: > > {X} sesame:directSubClassOf {Y} > > This relation holds for every X and Y where: > > 1. X rdfs:subClassOf Y. > 2. X != Y. > 3. There is no class Z (Z != Y and Z != X) such that X > rdfs:subClassOf Z and Z rdfs:subClassOf Y. > > If i remove the equivalentClass it works fine. > I'm using owl-max. > > Thanks, > > John > _______________________________________________ > OWLIM-discussion mailing list > [email protected] > http://ontotext.com/mailman/listinfo/owlim-discussion _______________________________________________ OWLIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/owlim-discussion
