ontology/components/assumedBy/appending-a-file-to-itself.ttl
author Paul Groth <p.t.groth@vu.nl>
Fri, 07 Jun 2013 20:21:19 +0200
changeset 6412 600c6fd1fdb4
parent 719 6cdd441bf84f
permissions -rw-r--r--
minor updates to address dong's comments
     1 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
     2 @prefix dcterms: <http://purl.org/dc/terms/> .
     3 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
     4 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
     5 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
     6 @prefix prov: <http://www.w3.org/ns/prov-o/> .
     7 @prefix ext:  <http://www.example.com/crime#> .
     8 @prefix :     <#> .
     9 
    10 :Input  rdfs:subClassOf prov:Role .
    11 :Output rdfs:subClassOf prov:Role .
    12 
    13 :pe
    14    a prov:ProcessExecution, :Concatentation;
    15    dcterms:description "Tim used the cat unix command to append appending-a-file-to-itself.ttl to itself.",
    16                        "cat appending-a-file-to-itself.ttl > tmp; cat tmp >> appending-a-file-to-itself.ttl";
    17    prov:used [
    18       a :Input; # and by subsumption, also a prov:Role, prov:Entity;
    19       ext:hasFilePath <appending-a-file-to-itself.ttl>;
    20       ext:hasFileContent "hello"^^xsd:string;
    21       dcterms:modified "2011-09-12T16:00:00-04:00"^^xsd:dateTime;
    22    ];
    23    prov:used [
    24       a prov:Controller; # prov:Controller is subclass of prov:Role .
    25       prov:assumedBy <http://tw.rpi.edu/instances/TimLebo>;
    26       rdfs:seeAlso <https://dvcs.w3.org/hg/prov/file/tip/ontology/components/Controller.ttl>;
    27    ];
    28    prov:generated [
    29       a :Output; # and by subsumption, also a prov:Role, prov:Entity;
    30       ext:hasFilePath <appending-a-file-to-itself.ttl>;
    31       ext:hasFileContent "hellohello"^^xsd:string;
    32       dcterms:modified "2011-09-12T16:01:00-04:00"^^xsd:dateTime;
    33    ];
    34    rdfs:comment "NOTE, the contents of <appending-a-file-to-itself.ttl> is NO LONGER 'hellohello' - as it contains 'this string right here'";
    35 .
    36 
    37 <http://tw.rpi.edu/instances/TimLebo> 
    38    a foaf:Person, [ owl:complementOf prov:Entity ] .