<Ontology>
<Class name=”Person” >
<property name=”name” type=”string”/>
<property name=”nickname” type=”string”/>
<property name=”birthdate” type=”date”/>
<reference name=”has_father”/>
<reference name=”has_mother”/>
<reference name=”has_wife”/>
<reference name=”has_husband”/>
</Class>
<Class name=”Animal” >
<property name=”name” type=”string”/>
</Class>
<Class name=”Work_Exp” >
<property name=”name” type=”string”/>
</Class>
</Ontology>

===========================================

<Person id=”1″>
<properties>
<name>อภิสิทธิ์</name>
<nickname>มาร์ค</nickname>
</propertes>
<references>
<has_father>#Person2</has_father>
<has_mother>#Person3</has_mother>
<has_wife>#Person3</has_wife>
</references>
</Person>

<Person id=”2″>
<properties>
<name>อรรถสิทธิ์</name>
<nickname></nickname>
</properties>
<references>
<has_father></has_father>
<has_mother></has_mother>
<has_wife>#Person4</has_wife>
</references>
</Person>

ใส่ความเห็น

อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น

This site uses Akismet to reduce spam. Learn how your comment data is processed.