W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2004

question about list and range of property

From: Shengping Liu <lsp@is.pku.edu.cn>
Date: Fri, 11 Jun 2004 01:19:47 +0800
To: <www-rdf-interest@w3.org>
Message-ID: <000001c44f0f$220911e0$ab4669a2@tcl.is.pku.edu.cn>
Hi,
  If in my RDF Schema,  the range of property knows is Person, i.e.,
<knows, rdfs:range Person>
then if some one knows many persons, can I write this in RDF?
<Person rdf:ID="P1">
<knows parseType="collection"> 
       <Person rdf:resource="#P2">
       <Person rdf:resource="#P3">
    </knows>
</Person>
 
is this RDF file validated against the RDF Schema?
 
1)       If true: by the semantics of rdfs:range , an instance of
rdf:List  would be  a Person, seems error; 
2)       If false:  then I must define the range of property "knows" is
rdf:List, but I can't constrict the list 
that only contains instances of  Person, and this definition would be
contrary to the intuition 
and make RDF data aggregation difficult. 
 
What is your idea? Thanks!
 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =  
Shengping Liu
Department of Information Science, Peking University, China.
 
Phone: 86-10-62757175
Mail:  lsp@is.pku.edu.cn
 
Received on Thursday, 10 June 2004 13:19:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:07 GMT