Dear List I am using N3QL to get anatomic structures and relationship from an ontology. When query for subclasses of a concept, some bnodes are returned, as a result of restriction on that class, for example: In the ontology: --------------------------------------- :Hip a owl:Class ; rdfs:subClassOf :BodyJunctionalBodyPart ; rdfs:subClassOf [ a owl:Restriction ; owl:onProperty :hasBetaConnection ; owl:someValuesFrom :Thigh ] . ---------------------- So a query [] select {?A ?B} where {?A rdfs:subClassOf ?B}. will give results :Hip :BodyJunctionalBodyPart :Hip var:_123456 (bnode). Is there a way to eliminate the bnodes in the query result, i.e by using a filter clause maybe? Thanks for your help. HelenReceived on Saturday, 8 September 2007 11:37:52 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:22:51 GMT