110

OWL


Properties: intersectionOfannotatedSourceannotatedTargetonPropertydifferentFromdisjointWithonPropertiespropertyChainAxiommaxCardinalityinverseOfsameAsallValuesFromcomplementOfpropertyDisjointWithminQualifiedCardinalitybottomDataPropertyoneOftargetValuequalifiedCardinalitydatatypeComplementOfhasKeydisjointUnionOfsomeValuesFromcardinalityminCardinalitymembershasValueonClassonDataRangeequivalentClasstopObjectPropertytopDataPropertywithRestrictionssourceIndividualannotatedPropertyequivalentPropertybottomObjectPropertyunionOfmaxQualifiedCardinalitydistinctMembersonDatatypeassertionPropertytargetIndividual and hasSelf

Classes: DatatypePropertyDeprecatedPropertyAnnotationPropertyObjectPropertyOntologyAllDisjointPropertiesClassDeprecatedClassFunctionalPropertySymmetricPropertyNamedIndividualDataRangeNothingInverseFunctionalPropertyNegativePropertyAssertionAllDifferentIrreflexivePropertyAsymmetricPropertyAnnotationAxiomThingReflexivePropertyOntologyPropertyAllDisjointClassesTransitiveProperty and Restriction

Examples

Add another example.

Rugby Football in LCSH

This example shows the entry for “rugby football” in the Library of Congress Subject Headings. more…

<rdf:RDF
   xmlns:dcterms="http://purl.org/dc/terms/"
   xmlns:owl="http://www.w3.org/2002/07/owl#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:skos="http://www.w3.org/2004/02/skos/core#"
>
<skos:Concept rdf:about="http://id.loc.gov/authorities/sh85115741#concept">
  <owl:sameAs rdf:resource="info:lc/authorities/sh85115741"/>
  <skos:narrower rdf:resource="http://id.loc.gov/authorities/sh88004283#concept"/>
  <skos:narrower rdf:resource="http://id.loc.gov/authorities/sh85049209#concept"/>
  <skos:narrower rdf:resource="http://id.loc.gov/authorities/sh88004282#concept"/>
  <skos:altLabel xml:lang="en">Rugger</skos:altLabel>
  <skos:closeMatch rdf:resource="http://stitch.cs.vu.nl/vocabularies/rameau/ark:/12148/cb119327137"/>
  <skos:prefLabel xml:lang="en">Rugby football</skos:prefLabel>
  <skos:broader rdf:resource="http://id.loc.gov/authorities/sh85050405#concept"/>
  <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">1986-02-11T00:00:00-04:00</dcterms:created>
  <skos:inScheme rdf:resource="http://id.loc.gov/authorities#conceptScheme"/>
  <skos:inScheme rdf:resource="http://id.loc.gov/authorities#topicalTerms"/>

  <dcterms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">1986-06-25T12:05:27-04:00</dcterms:modified>
</skos:Concept>
</rdf:RDF>

UMIRL example

This example was originally modelled with help of UMIRL (http://www.media.mit.edu/~chaiwei/papers/usermodeling.pdf) and is now recreated with the Cognitive Characteristics Ontology. This example shows a part of an user profile as it can be taken from an user account of a personal music knowledge base. The user profile is from the person John White, who can play the piano and sing by having no education in music. Furthermore, he is interested in several music genres, the music artist Wolfgang Amadeus Mozart, the music group the Beatles, the music song “Yesterday” from the Beatles and some self-defined idiosyncratic music genres. At the beginning, all cognitive patterns of this user are described by simple semantic relations, which are sub properties of cco:cognitive_characteristic. Thereby, the most of the topics of the cognitive characteristic relations are information resources from the information service DBPedia and one topic is a information resource from DBTune. Afterwards, some of these shortcut relations are described more in detail with help of cco:CognitiveCharacteristic instances. Each of these cognitive characteristic descriptions is related to a weighting with a different weight value (related by wo:weight_value) and the same scale (related by wo:scale). Due to these weightings, we can conclude that John White can sing and play the piano quite good. However, he has no knowledge in musical foundations. Furthermore, a cco:CognitiveCharacteristic instance is associated with a topic (by cco:topic) of a shortcut relation and a property (by cco:characteristic) of such a relation. Besides these information some of them are also related with an activity (associated by cco:activity), which are information resources from OpenCyc (playing a musical instrument) or DBPedia (singing). This user profile example includes especially detailed descriptions of John White’s interest in specific music genres. Thereby, we can conclude (besides other things) that he is a big fan of Blues and Rock music and quite interested in romantic music (ex:IdiosyncraticGenre2). The last music genre is defined as music context, which he prefers weekdays (represented by days:WeekdayInterval) at “bedtime” (ca. 11 pm). This idiosyncratic genre is itself defined as a sim:Association instance, which is titled as “romantic music” and should be very slow (largo, associated by ex:tempo as sub property of ao:context). more…

@prefix foaf:      <http://xmlns.com/foaf/0.1/> .
@prefix cco:       <http://purl.org/ontology/cco/core#> .
@prefix wo:        <http://purl.org/ontology/wo/core#> .
@prefix days:      <http://ontologi.es/days#> .
@prefix tl:        <http://perl.org/NET/c4dm/timeline.owl#> .
@prefix xsd:       <http://www.w3.org/2001/XMLSchema#> .
@prefix ex:        <http://example.org/> .
@prefix rdf:       <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:      <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl:       <http://www.w3.org/2002/07/owl#> .
@prefix dc:        <http://purl.org/dc/elements/1.1/> .
@prefix cv:        <http://kaste.lv/~captsolo/semweb/resume/cv.rdfs#> .
@prefix cvbase:    <http://kaste.lv/~captsolo/semweb/resume/base.rdfs#> .
@prefix countries: <http://www.daml.org/2001/09/countries/countries.daml#> .
@prefix sim:       <http://purl.org/ontology/similarity/> .
@prefix ao:        <http://purl.org/ontology/ao/core#> .
 
ex:APerson
   a foaf:Person , cv:Person ;
   foaf:name "John White" ;
   foaf:birthday "1974-07-09"^^xsd:date ;
   foaf:gender "male" ;
   cv:hasCitizenship countries:US ;
   cco:skill <http://dbpedia.org/resource/Piano> ;
   cco:skill <http://dbpedia.org/resource/Vocal> ;
   cco:expertise <http://dbpedia.org/resource/Music> ;
   cco:interest <http://dbpedia.org/resource/Category:Classical_music> ;
   cco:interest <http://dbpedia.org/resource/Category:Blues> ;
   cco:interest <http://dbpedia.org/resource/Category:Pop_music> ;
   cco:interest <http://dbpedia.org/resource/Category:Rock_music> ;
   cco:interest <http://dbpedia.org/resource/Wolfgang_Amadeus_Mozart> ;
   cco:interest <http://dbpedia.org/resource/The_Beatles> ;
   cco:interest  <http://dbtune.org/musicbrainz/resource/signal/8aefa373-2858-4643-b691-cad4ac7c971a> ;
   cco:interest ex:IdiosyncraticGenre1 ;
   cco:interest ex:IdiosyncraticGenre2 ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Piano> ;
      cco:characteristic cco:skill ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 6.0 ;
         wo:scale ex:AScale 
         ] ;
      cco:activity <http://sw.opencyc.org/concept/Mx4rvVjUJ5wpEbGdrcN5Y29ycA>
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Vocal> ;
      cco:characteristic cco:skill ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 7.0 ;
         wo:scale ex:AScale 
         ] ;
      cco:activity <http://dbpedia.org/resource/Category:Singing>
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Music> ;
      cco:characteristic cco:expertise ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 0.0 ;
         wo:scale ex:AScale 
         ] ;
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Category:Classical_music> ;
      cco:characteristic cco:interest ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 7.0 ;
         wo:scale ex:AScale 
         ] ;
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Category:Blues> ;
      cco:characteristic cco:interest ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 9.0 ;
         wo:scale ex:AScale 
         ] ;
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Category:Pop_music> ;
      cco:characteristic cco:interest ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 5.0 ;
         wo:scale ex:AScale 
         ] ;
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic <http://dbpedia.org/resource/Category:Rock_music> ;
      cco:characteristic cco:interest ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 8.0 ;
         wo:scale ex:AScale 
         ] ;
      ] ;
   cco:habit [
      a cco:CognitiveCharacteristic ;
      cco:topic ex:IdiosyncraticGenre2 ;
      cco:characteristic cco:interest ;
      wo:weight [ 
         a wo:Weight ;
         wo:weight_value 7.0 ;
         wo:scale ex:AScale 
         ] ;
      cco:appear_time [
         a days:WeekdayInterval ;
         dc:title "bedtime" ;
         tl:at "23:00:00"^^xsd:time 
         ] ;
      ] .
 
ex:ACV
   a cv:CV ;
   cv:aboutPerson ex:APerson ;
   cv:hasEducation [
      a cv:Education ;
      cv:degreeType cvbase:EduMaster 
      ] ;
   cv:hasWorkHistory ex:AWorkHistory .
 
ex:AWorkHistory
   a cv:WorkHistory ;
   cv:careerLevel cvbase:Student .
 
ex:tempo
   a rdf:Property , owl:DatatypeProperty ;
   rdfs:range xsd:string ;
   rdfs:subPropertyOf ao:context .
 
ex:IdiosyncraticGenre1
   a sim:Association ;
   dc:title "happy music" ;
   ao:genre <http://dbpedia.org/resource/Category:Pop_music> ;
   ex:tempo "allegro" ;
   ao:mood "happy" .
 
ex:IdiosyncraticGenre2
   a sim:Association ;
   dc:title "romantic music" ;
   ex:tempo "largo" .
 
ex:AScale a wo:Scale ;
   wo:min_weight 0.0 ;
   wo:max_weight 9.0 ;
   wo:step_size 1.0 .

Play Back and Skip Counter Example

This examples shows, how co:Counter could be specified as a play back counter (pbo:PlayBackCounter) and as a skip counter (pbo:SkipCounter) for a specific music track (here of the type mo:Track), related by the property pbo:media_object. Each time, when this specific music track was played, a co:ScrobbleEvent instance was created and linked to its play back counter with the property co:event_counter. This happened also, when this specific music track was skipped. The only difference is that such an event is related to its skip counter pbo:SkipCounter. To describe a scrobble events more in detail (besides event:time and event:agent), one can add properties such as co:application (to describe the application, which is related to the scrobbling activity, e.g. ex:iTunes) or co:device (to describe the device, which is related to the scrobbling activity, e.g. ex:MyPC). more…

@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix dc:      <http://purl.org/dc/elements/1.1/> .
@prefix co:      <http://purl.org/ontology/co/core#> .
@prefix pbo:     <http://purl.org/ontology/pbo/core#> .
@prefix mo:      <http://purl.org/ontology/mo/> .
@prefix ex:      <http://example.org/> .
@prefix event:   <http://purl.org/NET/c4dm/event.owl#> .
@prefix time:    <http://www.w3.org/2006/time#> .
@prefix am:      <http://vocab.deri.ie/am#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
 
ex:PlayBackCounter a pbo:PlayBackCounter ;
   dc:title "Play Back Counter"^^xsd:string ;
   dc:creator <http://foaf.me/zazi#me> ;
   dc:description "A play back counter of a specific music track"^^xsd:string ;
   co:count "2"^^xsd:integer ;
   pbo:media_object ex:SexMachine .
 
ex:SkipCounter a pbo:SkipCounter ;
   dc:title "Skip Counter"^^xsd:string ;
   dc:creator <http://foaf.me/zazi#me> ;
   dc:description "A skip counter of a specific music track"^^xsd:string ;
   co:count "1"^^xsd:integer ;
   pbo:media_object ex:SexMachine .	  
 
ex:SexMachine a mo:Track ;
   dc:title "Sex Machine"^^xsd:string ;
   dc:creator <http://dbpedia.org/resource/James_Brown> .
 
ex:SexMachineSE1 a co:ScrobbleEvent ;
   event:time [
      a time:Instant ;
      time:inXSDDateTime "2010-07-15T11:21:52+01:00"^^xsd:dateTime 
      ] ;
   event:agent <http://foaf.me/zazi#me> ; 
   co:application ex:iTunes ;
   co:device ex:MyPC ;
   co:event_counter ex:PlayBackCounter .
 
ex:SexMachineSE2 a co:ScrobbleEvent ;
   event:time [
      a time:Instant ;
      time:inXSDDateTime "2010-07-15T11:27:52+01:00"^^xsd:dateTime
      ] ;
   event:agent <http://foaf.me/zazi#me> ; 
   co:application ex:iTunes ;
   co:device ex:MyPC ;
   co:event_counter ex:PlayBackCounter .
 
ex:SexMachineSE3 a co:ScrobbleEvent ;
   event:time [
      a time:Instant ;
      time:inXSDDateTime "2010-07-15T11:35:52+01:00"^^xsd:dateTime
      ] ;
   event:agent <http://foaf.me/zazi#me> ; 
   co:application ex:iTunes ;
   co:device ex:MyPC ;
   co:event_counter ex:SkipCounter .
 
ex:iTunes a am:Application .
 
ex:MyPC a owl:Thing .

Copyright Ontology model for Crative Commons Attribution-Share Alike

Example of use of the Copyright Ontology to model the semantics of the Creative Commons Attribution-Share Alike license for a fictional work. more…

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
  <!ENTITY copyrightonto "http://rhizomik.net/ontologies/2008/05/copyrightonto.owl#">
  <!ENTITY license_01 "http://omediadis.udl.cat/licensing/ccbysa/CCBYSA_MyWork.owl">
  <!ENTITY omediadis "http://omediadis.udl.cat/">
  <!ENTITY owl "http://www.w3.org/2002/07/owl#">
  <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
  <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
]>
<rdf:RDF xml:base="&license_01;"
         xmlns:copyrightonto="&copyrightonto;"
         xmlns:owl="&owl;"
         xmlns:rdf="&rdf;"
         xmlns:rdfs="&rdfs;">

<!-- Ontology Information -->
  <owl:Ontology rdf:about="">
    <owl:imports>
      <owl:Ontology rdf:about="http://rhizomik.net/ontologies/2008/05/copyrightonto.owl"/>
    </owl:imports>
  </owl:Ontology>

<!-- Agreement -->
  <copyrightonto:Agree rdf:about="&omediadis;actions#agree_CCBYSA_MyWork">
    <copyrightonto:agent rdf:resource="&omediadis;persons#me"/>

    <copyrightonto:theme rdf:resource="&omediadis;patterns#CCBYSA_MyWork_A"/>
    <copyrightonto:theme rdf:resource="&omediadis;patterns#CCBYSA_MyWork_B"/>
    <copyrightonto:theme rdf:resource="&omediadis;patterns#CCBYSA_MyWork_C"/>
  </copyrightonto:Agree>

<!-- Patterns -->
  <owl:Class rdf:about="&omediadis;patterns#CCBYSA_MyWork_A">
    <rdfs:comment xml:lang="en">Copy, Distribute, Communicate and Make Available manifestations of "myWork" if there is attribution</rdfs:comment>
    <copyrightonto:condition rdf:resource="&omediadis;patterns#AttributeMe"/>

    <rdfs:subClassOf>
      <owl:Class>
        <owl:unionOf rdf:parseType="Collection">
          <rdf:Description rdf:about="&copyrightonto;Communicate"/>
          <rdf:Description rdf:about="&copyrightonto;Copy"/>
          <rdf:Description rdf:about="&copyrightonto;Distribute"/>
          <rdf:Description rdf:about="&copyrightonto;MakeAvailable"/>
        </owl:unionOf>
      </owl:Class>

    </rdfs:subClassOf>
    <owl:equivalentClass>
      <owl:Restriction>
        <owl:hasValue rdf:resource="&omediadis;creations#myManifestation"/>
        <owl:onProperty rdf:resource="&copyrightonto;theme"/>
      </owl:Restriction>
    </owl:equivalentClass>
  </owl:Class>

  <owl:Class rdf:about="&omediadis;patterns#CCBYSA_MyWork_B">
    <rdfs:comment xml:lang="en">The same terms apply to derivations of "myWork", i.e. Copy, Distribute, Communicate and Make Available manifestations of derivations of "myWork" if there is attribution</rdfs:comment>
    <copyrightonto:condition rdf:resource="&omediadis;patterns#AttributeMe"/>
    <rdfs:subClassOf>
      <owl:Class>
        <owl:unionOf rdf:parseType="Collection">
          <rdf:Description rdf:about="&copyrightonto;Communicate"/>
          <rdf:Description rdf:about="&copyrightonto;Copy"/>

          <rdf:Description rdf:about="&copyrightonto;Distribute"/>
          <rdf:Description rdf:about="&copyrightonto;MakeAvailable"/>
        </owl:unionOf>
      </owl:Class>
    </rdfs:subClassOf>
    <owl:equivalentClass>
      <owl:Restriction>
        <owl:onProperty rdf:resource="&copyrightonto;theme"/>
        <owl:someValuesFrom rdf:resource="&omediadis;creations#CCBYSA_MyWork_NewManifestations"/>

      </owl:Restriction>
    </owl:equivalentClass>
  </owl:Class>

  <owl:Class rdf:about="&omediadis;patterns#CCBYSA_MyWork_C">
    <rdfs:comment xml:lang="en">Make new manifestations for derivations from "myWork"</rdfs:comment>
    <rdfs:subClassOf rdf:resource="&copyrightonto;Derive"/>
    <owl:equivalentClass>
      <owl:Restriction>

        <owl:hasValue rdf:resource="&omediadis;creations#myWork"/>
        <owl:onProperty rdf:resource="&copyrightonto;theme"/>
      </owl:Restriction>
    </owl:equivalentClass>
    <owl:equivalentClass>
      <owl:Restriction>
        <owl:onProperty rdf:resource="&copyrightonto;result"/>
        <owl:someValuesFrom rdf:resource="&omediadis;creations#CCBYSA_MyWork_NewManifestations"/>
      </owl:Restriction>

    </owl:equivalentClass>
  </owl:Class>

  <owl:Class rdf:about="&omediadis;patterns#AttributeMe">
    <rdfs:subClassOf rdf:resource="&copyrightonto;Attribute"/>
    <owl:intersectionOf rdf:parseType="Collection">
      <owl:Restriction>
        <owl:hasValue rdf:resource="&omediadis;creations#myWork"/>
        <owl:onProperty rdf:resource="&copyrightonto;theme"/>

      </owl:Restriction>
      <owl:Restriction>
        <owl:hasValue rdf:resource="&omediadis;persons#me"/>
        <owl:onProperty rdf:resource="&copyrightonto;recipient"/>
      </owl:Restriction>
    </owl:intersectionOf>
  </owl:Class>

<!-- Classes of derived manifestations and works -->

  <owl:Class rdf:about="&omediadis;creations#CCBYSA_MyWork_NewManifestations">
    <rdfs:subClassOf rdf:resource="&copyrightonto;Manifestation"/>
    <owl:equivalentClass>
      <owl:Restriction>
        <owl:onProperty rdf:resource="&copyrightonto;isManifestationOf"/>
        <owl:someValuesFrom rdf:resource="&omediadis;creations#CCBYSA_MyWork_NewWorks"/>
      </owl:Restriction>
    </owl:equivalentClass>
  </owl:Class>

  <owl:Class rdf:about="&omediadis;creations#CCBYSA_MyWork_NewWorks">
    <rdfs:subClassOf rdf:resource="&copyrightonto;Work"/>
    <owl:equivalentClass>
      <owl:Restriction>
        <owl:hasValue rdf:resource="&omediadis;creations#myWork"/>
        <owl:onProperty rdf:resource="&copyrightonto;isDerivationOf"/>
      </owl:Restriction>
    </owl:equivalentClass>

  </owl:Class>

<!-- My manifestation, my work and me -->

  <copyrightonto:Manifestation rdf:about="&omediadis;creations#myManifestation">
    <copyrightonto:isManifestationOf rdf:resource="&omediadis;creations#myWork"/>
  </copyrightonto:Manifestation>

  <copyrightonto:Work rdf:about="&omediadis;creations#myWork"/>

  <copyrightonto:LegalPerson rdf:about="&omediadis;persons#me"/>

</rdf:RDF>