W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2003

Question about RDF Schema

From: Xie Guotong <guotongxie@hotmail.com>
Date: Wed, 23 Jul 2003 01:53:33 +0000
To: www-rdf-interest@w3.org
Message-ID: <BAY7-F57ZXl4zs9N3kn00011fa2@hotmail.com>

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:element name="members" type="Person" maxOccurs="unbounded"/>
 <xs:complexType name="Person">
   <xs:element name="name" type="xs:string"/>
   <xs:element name="age" type="xs:int"/>
   <xs:element name="single" type="xs:boolean"/>

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.	


Guo Tong Xie

与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  
Received on Tuesday, 22 July 2003 21:54:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:46 UTC