111

OWL Time


Defines terms that describe intervals of time, instants in time and their relationships.

Examples

Add another example.

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 .

Scientific Research Interests Example

This example is originally taken from the E-foaf:interest Vocabulary Specification 0.2 (http://wiki.larkc.eu/e-foaf:interest) and was transformed to be conform with the current version of the Cognitive Characteristics Ontology. This example describes a person (here Ricardo Baeza-Yates), who is interested in (foaf:topic_interest) a specific topic (here “The World Wide Web”). This interest is described more in detail with help of a cco:CognitiveCharacteristic instance (ex:WebInterest). It has a current weight (wo:weight), a total weight (cco:overall_weight) and two attention durations – a ultimative duration (cco:ultimative_duratation) and a longest duration (cco:longest_duration). All these values can be timestamped, e.g. re. their date of modification (dcterms:modifified). A cco:CognitiveCharacteristic instance (ex:ASpecificConcext) describes the appearing of this interest in a certain context (here a specific paper). To describe the different weightings, different scales can be associated to them. more…

@prefix xsd:      <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf:     <http://xmlns.com/foaf/0.1/> .
@prefix tl:       <http://purl.org/NET/c4dm/timeline.owl#> .
@prefix dcterms:  <http://purl.org/dc/terms/> .
@prefix cco:      <http://purl.org/ontology/cco/core#> .
@prefix wo:       <http://purl.org/ontology/wo/core#> .
@prefix ex:       <http://example.org/> .
@prefix time:     <http://www.w3.org/2006/time#> .
 
ex:ASpecificContext a cco:CharacteristicDynamics ;
   dcterms:subject <http://dblp.uni-trier.de/rec/bibtex/conf/cikm/AlonsoGB09> ;
   cco:appear_time [ 
      a time:UTInstant ;
      time:inXSDDateTime "2009-11-15T05:30:00+08:00"^^xsd:dateTime 
      ] .
 
<http://linkeddata.uriburner.com/describe/?url=http://tw.rpi.edu/wiki/Special:URIResolver/Ricardo_A._Baeza-2DYates>
   a foaf:Person ;
   foaf:topic_interest <http://dbpedia.org/resource/World_Wide_Web> ;
   cco:habit ex:WebInterest ;
   foaf:name "Ricardo Baeza-Yates" .
 
ex:WebInterest a cco:CognitiveCharacteristic ;
   cco:topic <http://dbpedia.org/resource/World_Wide_Web> ;
   cco:characteristic cco:interest ;
   cco:overall_weight [ 
      a wo:Weight ;
      wo:weight_value 65.0 ;
      wo:scale ex:AScale ;
      dcterms:modified "2009-12-22T23:30:00+08:00"^^xsd:dateTime
      ] ;
   cco:characteristic_dynamics ex:ASpecificContext ;
   cco:ultimative_duration [ 
      a tl:UTInterval ;
      tl:duration "P10Y"^^xsd:duration ;
      dcterms:modified "2010-01-10T03:15:00+08:00"^^xsd:dateTime
      ] ;
   cco:longest_duration [ 
      a tl:UTInterval ;
      tl:duration "P9Y"^^xsd:duration ;
      dcterms:modified "2010-01-17T05:30:00+08:00"^^xsd:dateTime
      ] ;
   wo:weight [ 
      a wo:Weight ;
      wo:weight_value 7.81 ;
      wo:scale ex:AnotherScale ;
      dcterms:modified "2010-01-17T13:30:00+08:00"^^xsd:dateTime
      ] .
 
ex:AScale a wo:Scale ;
   wo:min_weight 0.0 ;
   wo:max_weight 100 ;
   wo:step_size 5.0 .
 
ex:AnotherScale a wo:Scale ;
   wo:min_weight 0.0 ;
   wo:max_weight 10.0 ;
   wo:step_size 0.01 .

Play Back Counter

This examples shows, how a co:Counter instance could be used as a play back counter for a specific music track (here of the type mo:Track). Each time, when this specific music track was played, a co:ScrobbleEvent instance was created and linked to its playback counter with the property co:event_counter. 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 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#> .
 
ex:PlayBackCounter a co:Counter ;
   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 ;
   co: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: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:event_counter ex:PlayBackCounter .