- From: Vuk Milicic <vuk.milicic@eurecom.fr>
- Date: Tue, 25 Mar 2014 18:04:49 +0100
- To: Markus Lanthaler <markus.lanthaler@gmx.net>
- Cc: public-hydra@w3.org, public-lod@w3.org, W3C Web Schemas Task Force <public-vocabs@w3.org>
On 25 Mar 2014, at 16:48, Markus Lanthaler <markus.lanthaler@gmx.net> wrote: > On Monday, March 24, 2014 6:49 PM, Vuk Milicic wrote: >> Hi Markus, >> >> How about this: >> >> </markus/friends/> rdfs:subClassOf schema:Person . > > This would imply that /markus/friends is a schema:Person, which it is not. > It is a collection keeping references to persons. Yes, in that scenario </markus/friends> identifies "a Markus' friend", not the collection. If described this way, it would still keep references to people through the rdf:type property. Similarly: </markus/friends[/page/{page}> rdfs:subClassOf </markus/friends> . >> </alice> a </markus/friends/> . >> </markus> schema:knows </alice> . > > So, how would I link from /markus to /markus/friends? I am not an OWL expert, but I will give it a try (note that OWL Full must be used): </markus/friends> a owl:Class ; rdfs:subClassOf schema:Person, [ a owl:Restriction; owl:onProperty [ owl:inverseOf schema:knows ]; owl:hasValue </markus> ] Vuk MIlicic @faviki
Received on Tuesday, 25 March 2014 17:05:18 UTC