- From: Brian Ulicny <bulicny@vistology.com>
- Date: Fri, 14 Mar 2014 10:40:37 -0400
- To: henry.story@bblfish.net
- Cc: public-owl-dev@w3.org
- Message-ID: <CAHGvn_xE9yPT0V3UGy1-tv=9FN0z4hv0v+kWB2hJzfEDyLf_zQ@mail.gmail.com>
I think you are looking for a SELF-restriction here: http://www.w3.org/2007/OWL/wiki/New_Features_and_Rationale#F4:_Self_Restriction This is not part of OWL 2 RL, but you can easily write a rule for this. Best regards, Brian Ulicny, PhD Chief Scientist VIStology, Inc On Fri, Mar 14, 2014 at 10:31 AM, <henry.story@bblfish.net> wrote: > > I would like to specify the class that is such that the object of one > relation > is the same ( or same domain ) as object of another relation. > > Something that could be written like this ( were it to exist ) > > SomeType > owl:equivalentClass > [ a owl:SameRangeRestriction; > owl:onProperty :rel1; > owl:onProperty :rel2 > ] . > > One could define the class of lovers of their mothers like that > > MothersLovers owl:equivalentClass [ a owl:SameRangeRestriction > owl:onProperty :lover > owl:onProperty :mother ] . > > As that SameRangeRestriction does not exist, I tried this: > > MothersLovers > owl:equivalentClass [ a owl:Restriction; > owl:onProperty [ rdfs:subPropertyOf [ owl:propertyChainAxiom > ( :lover [ owl:InverseOf :mother ] )]; > a owl:ReflexiveProperty ]; > owl:minCardinality 1 ] . > > > But Pellet does not like property chain axioms in Restrictions. ( perhaps > other resoners allow this?) > Is there some way to do this properly? ( I do have a real use case, but > it's more complex to explain ) > > Henry > > > Social Web Architect > http://bblfish.net/ > > >
Received on Friday, 14 March 2014 14:41:05 UTC