- From: Monika Solanki <monika@dmu.ac.uk>
- Date: Wed, 23 Jul 2003 10:26:11 +0100
- To: Xie Guotong <guotongxie@hotmail.com>
- CC: www-rdf-interest@w3.org
I think you can try the RDF Schema tutorial on xfront.com. Hope this helps. Cheers, Monika Xie Guotong wrote: > > Hi,everyone > Now I am in face of a task to translate a XML Schema into a RDF > Schema.I read the RDF Vocabulary Description Language 1.0: RDF Schema > in W3C carefully and found that there are rarely samples to > demonstrate how to use each semantic tag in a RDF Schema.I searched > everywhere for a more complex sample of RDF Schema but found nothing > valuable. > To express my question more clearly,I will use a simple > problem.Suppose I have defined a Class named Person,How can I define a > Class named Team with a semantic rule as follows: A Team is composed > of a collection of Person. > <?xml version="1.0" encoding="UTF-8"?> > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" > elementFormDefault="qualified" attributeFormDefault="unqualified"> > <xs:element name="Team"> > <xs:complexType> > <xs:sequence> > <xs:element name="members" type="Person" maxOccurs="unbounded"/> > </xs:sequence> > </xs:complexType> > </xs:element> > <xs:complexType name="Person"> > <xs:sequence> > <xs:element name="name" type="xs:string"/> > <xs:element name="age" type="xs:int"/> > <xs:element name="single" type="xs:boolean"/> > </xs:sequence> > </xs:complexType> > </xs:schema> > > The XML fragment above is only a sketch map and the actual XML Schema > is more complicated.I wonder if you anyone have a more complex RDF > Schema sample or can tell me where to find them.Thank you very much. > > Best, > > Guo Tong Xie > > _________________________________________________________________ > 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn -- **>><<**>><<**>><<**>><<**>><<**>><<**>><<** Monika Solanki Software Technology Research Laboratory(STRL) De Montfort University Hawthorn building, H00.18 The Gateway Leicester LE1 9BH, UK phone: +44 (0)116 250 6170 intern: 6170 email: monika@dmu.ac.uk web: http://www.cse.dmu.ac.uk/~monika **>><<**>><<**>><<**>><<**>><<**>><<**>><<**
Received on Wednesday, 23 July 2003 05:20:22 UTC