ontology/components/Time/example-2-crimefile.ttl
author stian@soiland.no
Fri, 14 Oct 2011 00:16:40 +0100
changeset 740 285b39f7ea5f
child 809 baf0b4965963
permissions -rw-r--r--
merge
     1 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
     2 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
     3 @prefix prov: <http://www.w3.org/ns/prov-o/> .
     4 @prefix cf: <http://www.example.com/crime#> .
     5 @prefix : <http://www.example.com/crimeFile#> .
     6 
     7 
     8 
     9 # Crime File example modified from 
    10 https://dvcs.w3.org/hg/prov/raw-file/tip/model/ProvenanceModel.html#example-prov-asn-encoding
    11 # not neccessarily matching
    12 # http://dvcs.w3.org/hg/prov/raw-file/tip/ontology/Overview.html#specialization-of-prov-ontology-classes
    13 
    14 
    15 #processExecution(pe0,create-file,t,,[])
    16 :pe0 a prov:ProcessExecution, cf:FileCreation ;
    17     prov:startedAt :t .
    18 
    19 # NOTE: 't+1' is just an identifier in PROV-ASN - it has no mathematical
    20 # meaning, ordering, etc. We'll here use :t1, etc. instead.
    21 
    22 #processExecution(pe1,add-crime-in-london,t+1,,[])
    23 :pe1 a prov:ProcessExecution, cf:FileAppending ;
    24     prov:startedAt :t1 .
    25 
    26 #processExecution(pe2,email,t+2,,[])
    27 :pe2 a prov:ProcessExecution, cf:Emailing ;
    28     prov:startedAt :t2 .
    29 
    30 #processExecution(pe3,edit-London-New-York,t+3,,[])
    31 :pe3 a prov:ProcessExecution, cf:FileEditing ;
    32     prov:startedAt :t3 .
    33 
    34 #processExecution(pe4,email,t+4,,[])
    35 :pe4 a prov:ProcessExecution, cf:Emailing ;
    36     prov:startedAt :t4 .
    37 
    38 #processExecution(pe5,spellcheck,,,[])
    39 :pe5 a prov:ProcessExecution, cf:SpellChecking ;
    40     prov:recipe :spellcheck .
    41 
    42 
    43 # The rest of the crime file example, wasGeneratedBy(), used(), etc does not
    44 specify any times.
    45