Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

RPG Ontology

By: KIKIJIKI on Nov 30th, 2012  |  syntax: XML  |  size: 16.37 KB  |  views: 58  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE rdf:RDF [
  5.    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
  6.     <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
  7.     <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
  8.     <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
  9. ]>
  10.  
  11.  
  12. <rdf:RDF xmlns="http://www.kikijiki.com/ontologies/rpg.owl#"
  13.     xml:base="http://www.kikijiki.com/ontologies/rpg.owl"
  14.     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  15.     xmlns:owl="http://www.w3.org/2002/07/owl#"
  16.     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  17.     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  18.     <owl:Ontology rdf:about="http://www.kikijiki.com/ontologies/rpg.owl">
  19.         <owl:versionIRI rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl/0.0.1"/>
  20.     </owl:Ontology>
  21.    
  22.  
  23.  
  24.     <!--
  25.    ///////////////////////////////////////////////////////////////////////////////////////
  26.    //
  27.    // Annotation properties
  28.    //
  29.    ///////////////////////////////////////////////////////////////////////////////////////
  30.     -->
  31.  
  32.    
  33.  
  34.  
  35.     <!--
  36.    ///////////////////////////////////////////////////////////////////////////////////////
  37.    //
  38.    // Datatypes
  39.    //
  40.    ///////////////////////////////////////////////////////////////////////////////////////
  41.     -->
  42.  
  43.    
  44.  
  45.  
  46.     <!--
  47.    ///////////////////////////////////////////////////////////////////////////////////////
  48.    //
  49.    // Object Properties
  50.    //
  51.    ///////////////////////////////////////////////////////////////////////////////////////
  52.     -->
  53.  
  54.    
  55.  
  56.  
  57.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#canBeCastedBy -->
  58.  
  59.     <owl:ObjectProperty rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#canBeCastedBy">
  60.         <owl:inverseOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#canCast"/>
  61.     </owl:ObjectProperty>
  62.    
  63.  
  64.  
  65.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#canCast -->
  66.  
  67.     <owl:ObjectProperty rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#canCast">
  68.         <rdfs:range rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  69.         <rdfs:domain rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass"/>
  70.     </owl:ObjectProperty>
  71.    
  72.  
  73.  
  74.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#hasClass -->
  75.  
  76.     <owl:ObjectProperty rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#hasClass">
  77.         <rdf:type rdf:resource="&owl;FunctionalProperty"/>
  78.         <rdfs:range rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass"/>
  79.     </owl:ObjectProperty>
  80.    
  81.  
  82.  
  83.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#isClassOf -->
  84.  
  85.     <owl:ObjectProperty rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#isClassOf">
  86.         <rdfs:domain rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass"/>
  87.         <owl:inverseOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#hasClass"/>
  88.     </owl:ObjectProperty>
  89.    
  90.  
  91.  
  92.     <!--
  93.    ///////////////////////////////////////////////////////////////////////////////////////
  94.    //
  95.    // Classes
  96.    //
  97.    ///////////////////////////////////////////////////////////////////////////////////////
  98.     -->
  99.  
  100.    
  101.  
  102.  
  103.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicClass -->
  104.  
  105.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicClass">
  106.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#EnchanterClass"/>
  107.         <rdfs:subClassOf>
  108.             <owl:Restriction>
  109.                 <owl:onProperty rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#canCast"/>
  110.                 <owl:someValuesFrom rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicSpell"/>
  111.             </owl:Restriction>
  112.         </rdfs:subClassOf>
  113.         <rdfs:subClassOf>
  114.             <owl:Restriction>
  115.                 <owl:onProperty rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#canCast"/>
  116.                 <owl:allValuesFrom rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicSpell"/>
  117.             </owl:Restriction>
  118.         </rdfs:subClassOf>
  119.         <owl:disjointWith rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#DivineMagicClass"/>
  120.     </owl:Class>
  121.    
  122.  
  123.  
  124.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicSpell -->
  125.  
  126.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicSpell">
  127.         <owl:equivalentClass>
  128.             <owl:Class>
  129.                 <owl:unionOf rdf:parseType="Collection">
  130.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ElementalSpell"/>
  131.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#EvocationSpell"/>
  132.                 </owl:unionOf>
  133.             </owl:Class>
  134.         </owl:equivalentClass>
  135.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#SpecificSpell"/>
  136.     </owl:Class>
  137.    
  138.  
  139.  
  140.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#DivineMagicClass -->
  141.  
  142.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#DivineMagicClass">
  143.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#EnchanterClass"/>
  144.     </owl:Class>
  145.    
  146.  
  147.  
  148.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#DivineMagicSpell -->
  149.  
  150.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#DivineMagicSpell">
  151.         <owl:equivalentClass>
  152.             <owl:Class>
  153.                 <owl:unionOf rdf:parseType="Collection">
  154.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#HealingSpell"/>
  155.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ProtectionSpell"/>
  156.                 </owl:unionOf>
  157.             </owl:Class>
  158.         </owl:equivalentClass>
  159.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#SpecificSpell"/>
  160.     </owl:Class>
  161.    
  162.  
  163.  
  164.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#ElementalSpell -->
  165.  
  166.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ElementalSpell">
  167.         <owl:equivalentClass>
  168.             <owl:Class>
  169.                 <owl:oneOf rdf:parseType="Collection">
  170.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellFireball"/>
  171.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellBurningHands"/>
  172.                 </owl:oneOf>
  173.             </owl:Class>
  174.         </owl:equivalentClass>
  175.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  176.     </owl:Class>
  177.    
  178.  
  179.  
  180.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#EnchanterClass -->
  181.  
  182.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#EnchanterClass">
  183.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass"/>
  184.         <rdfs:subClassOf>
  185.             <owl:Restriction>
  186.                 <owl:onProperty rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#canCast"/>
  187.                 <owl:someValuesFrom rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  188.             </owl:Restriction>
  189.         </rdfs:subClassOf>
  190.         <rdfs:comment xml:lang="ja">魔法使いクラス</rdfs:comment>
  191.     </owl:Class>
  192.    
  193.  
  194.  
  195.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#EvocationSpell -->
  196.  
  197.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#EvocationSpell">
  198.         <owl:equivalentClass>
  199.             <owl:Class>
  200.                 <owl:oneOf rdf:parseType="Collection">
  201.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster1"/>
  202.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster2"/>
  203.                 </owl:oneOf>
  204.             </owl:Class>
  205.         </owl:equivalentClass>
  206.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  207.     </owl:Class>
  208.    
  209.  
  210.  
  211.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#HealingSpell -->
  212.  
  213.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#HealingSpell">
  214.         <owl:equivalentClass>
  215.             <owl:Class>
  216.                 <owl:oneOf rdf:parseType="Collection">
  217.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealSeriousWounds"/>
  218.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMediumWounds"/>
  219.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMinorWounds"/>
  220.                 </owl:oneOf>
  221.             </owl:Class>
  222.         </owl:equivalentClass>
  223.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  224.     </owl:Class>
  225.    
  226.  
  227.  
  228.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#MeleeClass -->
  229.  
  230.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#MeleeClass">
  231.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass"/>
  232.         <rdfs:comment xml:lang="ja">接近戦クラス</rdfs:comment>
  233.     </owl:Class>
  234.    
  235.  
  236.  
  237.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#ProtectionSpell -->
  238.  
  239.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ProtectionSpell">
  240.         <owl:equivalentClass>
  241.             <owl:Class>
  242.                 <owl:oneOf rdf:parseType="Collection">
  243.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicShield"/>
  244.                     <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicArmor"/>
  245.                 </owl:oneOf>
  246.             </owl:Class>
  247.         </owl:equivalentClass>
  248.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  249.     </owl:Class>
  250.    
  251.  
  252.  
  253.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpecificSpell -->
  254.  
  255.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpecificSpell">
  256.         <rdfs:subClassOf rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#Spell"/>
  257.     </owl:Class>
  258.    
  259.  
  260.  
  261.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#Spell -->
  262.  
  263.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#Spell">
  264.         <rdfs:comment xml:lang="ja">呪文</rdfs:comment>
  265.     </owl:Class>
  266.    
  267.  
  268.  
  269.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#UnitClass -->
  270.  
  271.     <owl:Class rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#UnitClass">
  272.         <rdfs:comment xml:lang="ja">クラス</rdfs:comment>
  273.     </owl:Class>
  274.    
  275.  
  276.  
  277.     <!--
  278.    ///////////////////////////////////////////////////////////////////////////////////////
  279.    //
  280.    // Individuals
  281.    //
  282.    ///////////////////////////////////////////////////////////////////////////////////////
  283.     -->
  284.  
  285.    
  286.  
  287.  
  288.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellBurningHands -->
  289.  
  290.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellBurningHands"/>
  291.    
  292.  
  293.  
  294.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellFireball -->
  295.  
  296.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellFireball"/>
  297.    
  298.  
  299.  
  300.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMediumWounds -->
  301.  
  302.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMediumWounds"/>
  303.    
  304.  
  305.  
  306.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMinorWounds -->
  307.  
  308.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMinorWounds"/>
  309.    
  310.  
  311.  
  312.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellHealSeriousWounds -->
  313.  
  314.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealSeriousWounds"/>
  315.    
  316.  
  317.  
  318.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicArmor -->
  319.  
  320.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicArmor"/>
  321.    
  322.  
  323.  
  324.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicShield -->
  325.  
  326.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicShield"/>
  327.    
  328.  
  329.  
  330.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster1 -->
  331.  
  332.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster1"/>
  333.    
  334.  
  335.  
  336.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster2 -->
  337.  
  338.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster2"/>
  339.    
  340.  
  341.  
  342.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#Unit0 -->
  343.  
  344.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#Unit0">
  345.         <hasClass rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#UnitClassBlackMage"/>
  346.     </owl:NamedIndividual>
  347.    
  348.  
  349.  
  350.     <!-- http://www.kikijiki.com/ontologies/rpg.owl#UnitClassBlackMage -->
  351.  
  352.     <owl:NamedIndividual rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#UnitClassBlackMage">
  353.         <rdf:type rdf:resource="http://www.kikijiki.com/ontologies/rpg.owl#ArcaneMagicClass"/>
  354.     </owl:NamedIndividual>
  355.    
  356.  
  357.  
  358.     <!--
  359.    ///////////////////////////////////////////////////////////////////////////////////////
  360.    //
  361.    // General axioms
  362.    //
  363.    ///////////////////////////////////////////////////////////////////////////////////////
  364.     -->
  365.  
  366.     <rdf:Description>
  367.         <rdf:type rdf:resource="&owl;AllDisjointClasses"/>
  368.         <owl:members rdf:parseType="Collection">
  369.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ElementalSpell"/>
  370.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#EvocationSpell"/>
  371.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#HealingSpell"/>
  372.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#ProtectionSpell"/>
  373.         </owl:members>
  374.     </rdf:Description>
  375.     <rdf:Description>
  376.         <rdf:type rdf:resource="&owl;AllDifferent"/>
  377.         <owl:distinctMembers rdf:parseType="Collection">
  378.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellBurningHands"/>
  379.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellFireball"/>
  380.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMediumWounds"/>
  381.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMinorWounds"/>
  382.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealSeriousWounds"/>
  383.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster1"/>
  384.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster2"/>
  385.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#Unit0"/>
  386.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#UnitClassBlackMage"/>
  387.         </owl:distinctMembers>
  388.     </rdf:Description>
  389.     <rdf:Description>
  390.         <rdf:type rdf:resource="&owl;AllDifferent"/>
  391.         <owl:distinctMembers rdf:parseType="Collection">
  392.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellBurningHands"/>
  393.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellFireball"/>
  394.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMediumWounds"/>
  395.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealMinorWounds"/>
  396.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellHealSeriousWounds"/>
  397.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicArmor"/>
  398.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellMagicShield"/>
  399.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster1"/>
  400.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#SpellSummonMonster2"/>
  401.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#Unit0"/>
  402.             <rdf:Description rdf:about="http://www.kikijiki.com/ontologies/rpg.owl#UnitClassBlackMage"/>
  403.         </owl:distinctMembers>
  404.     </rdf:Description>
  405. </rdf:RDF>
  406.  
  407.  
  408.  
  409. <!-- Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net -->