Advertisement
Guest User

Untitled

a guest
Feb 27th, 2016
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.88 KB | None | 0 0
  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE rdf:RDF [
  5.    <!ENTITY beautiful "beautiful#" >
  6.     <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
  7.     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
  8.     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
  9.     <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
  10. ]>
  11.  
  12.  
  13. <rdf:RDF xmlns="beautiful#"
  14.     xml:base="beautiful"
  15.     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  16.     xmlns:beautiful="beautiful#"
  17.     xmlns:owl="http://www.w3.org/2002/07/owl#"
  18.     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  19.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  20.     <owl:Ontology rdf:about="beautiful"/>
  21.    
  22.  
  23.  
  24.     <!--
  25.    ///////////////////////////////////////////////////////////////////////////////////////
  26.    //
  27.    // Object Properties
  28.    //
  29.    ///////////////////////////////////////////////////////////////////////////////////////
  30.     -->
  31.  
  32.    
  33.  
  34.  
  35.     <!-- beautiful#hasChild -->
  36.  
  37.     <owl:ObjectProperty rdf:about="beautiful#hasChild"/>
  38.    
  39.  
  40.  
  41.     <!--
  42.    ///////////////////////////////////////////////////////////////////////////////////////
  43.    //
  44.    // Classes
  45.    //
  46.    ///////////////////////////////////////////////////////////////////////////////////////
  47.     -->
  48.  
  49.    
  50.  
  51.  
  52.     <!-- beautiful#Beautiful -->
  53.  
  54.     <owl:Class rdf:about="beautiful#Beautiful"/>
  55.    
  56.  
  57.  
  58.     <!-- beautiful#Child -->
  59.  
  60.     <owl:Class rdf:about="beautiful#Child"/>
  61.    
  62.  
  63.  
  64.     <!-- beautiful#Happy -->
  65.  
  66.     <owl:Class rdf:about="beautiful#Happy">
  67.         <owl:equivalentClass>
  68.             <owl:Class>
  69.                 <owl:intersectionOf rdf:parseType="Collection">
  70.                     <rdf:Description rdf:about="beautiful#Person"/>
  71.                     <owl:Restriction>
  72.                         <owl:onProperty rdf:resource="beautiful#hasChild"/>
  73.                         <owl:allValuesFrom rdf:resource="beautiful#Beautiful"/>
  74.                     </owl:Restriction>
  75.                 </owl:intersectionOf>
  76.             </owl:Class>
  77.         </owl:equivalentClass>
  78.         <owl:equivalentClass>
  79.             <owl:Class>
  80.                 <owl:intersectionOf rdf:parseType="Collection">
  81.                     <rdf:Description rdf:about="beautiful#Beautiful"/>
  82.                     <rdf:Description rdf:about="beautiful#Person"/>
  83.                 </owl:intersectionOf>
  84.             </owl:Class>
  85.         </owl:equivalentClass>
  86.     </owl:Class>
  87.    
  88.  
  89.  
  90.     <!-- beautiful#Parent -->
  91.  
  92.     <owl:Class rdf:about="beautiful#Parent"/>
  93.    
  94.  
  95.  
  96.     <!-- beautiful#Person -->
  97.  
  98.     <owl:Class rdf:about="beautiful#Person"/>
  99.    
  100.  
  101.  
  102.     <!-- beautiful#Successful -->
  103.  
  104.     <owl:Class rdf:about="beautiful#Successful">
  105.         <owl:equivalentClass>
  106.             <owl:Class>
  107.                 <owl:intersectionOf rdf:parseType="Collection">
  108.                     <rdf:Description rdf:about="beautiful#Beautiful"/>
  109.                     <rdf:Description rdf:about="beautiful#Successful"/>
  110.                 </owl:intersectionOf>
  111.             </owl:Class>
  112.         </owl:equivalentClass>
  113.     </owl:Class>
  114.    
  115.  
  116.  
  117.     <!--
  118.    ///////////////////////////////////////////////////////////////////////////////////////
  119.    //
  120.    // Individuals
  121.    //
  122.    ///////////////////////////////////////////////////////////////////////////////////////
  123.     -->
  124.  
  125.    
  126.  
  127.  
  128.     <!-- beautiful#Aphrodite -->
  129.  
  130.     <owl:NamedIndividual rdf:about="beautiful#Aphrodite">
  131.         <rdf:type rdf:resource="beautiful#Beautiful"/>
  132.         <rdf:type rdf:resource="beautiful#Parent"/>
  133.         <rdf:type rdf:resource="beautiful#Person"/>
  134.         <hasChild rdf:resource="beautiful#Eros"/>
  135.     </owl:NamedIndividual>
  136.    
  137.  
  138.  
  139.     <!-- beautiful#Eros -->
  140.  
  141.     <owl:NamedIndividual rdf:about="beautiful#Eros">
  142.         <rdf:type rdf:resource="beautiful#Person"/>
  143.         <rdf:type rdf:resource="beautiful#Successful"/>
  144.     </owl:NamedIndividual>
  145. </rdf:RDF>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement