- From: l <linst@yourw.com.cn>
- Date: Wed, 30 Mar 2005 23:41:44 +0800
- To: "Jeremy Wong" <50263336@student.cityu.edu.hk>
- Cc: "semantic-web" <semantic-web@w3.org>
Jeremy Wong,hi£¡ thanks. I prefer the first way. But how to describe the range of s:students? As i said, if it is <rdfs:range rdf:resource="#person"/>, it is impossible to use rdf:parseType="Collection" after s:students. regrads. ======= 2005-03-30 23:32:57 ÄúÔÚÀ´ÐÅÖÐдµÀ£º======= >l, > >There are 2 ways to say that there are 3 students in the course. > >A) Count the number of elements in the collection. Note that a collection is >closed, i.e. no more elements can be added. > >B) Add a property like "studentCount" to describe that there are 3 students. > > >Jeremy > >----- Original Message ----- >From: "l" <linst@yourw.com.cn> >To: "semantic-web" <semantic-web@w3.org> >Sent: Wednesday, March 30, 2005 11:12 PM >Subject: how to describe the range of this kind of property > > >> Hi all, >> >> It really confuse me. >> In http://www.w3.org/TR/2004/REC-rdf-primer-20040210, there is a example: >> <rdf:Description rdf:about="http://example.org/courses/6.001"> >> <s:students rdf:parseType="Collection"> >> <rdf:Description rdf:about="http://example.org/students/Amy"/> >> <rdf:Description >> rdf:about="http://example.org/students/Mohamed"/> >> <rdf:Description >> rdf:about="http://example.org/students/Johann"/> >> </s:students> >> </rdf:Description> >> >> >> My question is how to describe the range of property s:students. Below is >> a wrong description: <rdfs:range rdf:resource="#person"/>. This >> description is not compatible with above example. With this range >> description, I could only use s:students like this: >> <rdf:Description rdf:about="http://example.org/courses/6.001"> >> <s:students rdf:about="http://example.org/students/Amy"/> >> <rdf:Description rdf:about="http://example.org/courses/6.001"> >> <s:students rdf:about="http://example.org/students/Mohamed"/> >> <rdf:Description rdf:about="http://example.org/courses/6.001"> >> <s:students rdf:about="http://example.org/students/Johann"/> >> >> >> But actually, I want to say that this course has and only has 3 students, >> no more, no less. >> How could I do. >> Please help. >> >> Thanks and regards >> >> >> ¡¡ >> >> >> ¡¡¡¡¡¡¡¡ >> ¡¡ >> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ >> > > > = = = = = = = = = = = = = = = = = = = = ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ö Àñ£¡ ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡l ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡linst@yourw.com.cn ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-03-30
Received on Wednesday, 30 March 2005 15:41:45 UTC