ontology/components/hasAnnotation/prov-dm-annotation-association.ttl
author Paul Groth <p.t.groth@vu.nl>
Fri, 07 Jun 2013 20:21:19 +0200
changeset 6412 600c6fd1fdb4
parent 862 1a84f159ba4d
permissions -rw-r--r--
minor updates to address dong's comments
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:  <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix time: <http://www.w3.org/2006/time#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix prov: <http://www.w3.org/ns/prov-o/> .
@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
@prefix app: <http://www.w3.org/TR/2011/WD-prov-dm-20111018/app#> .
@prefix :    <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#> .

:e1
   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-annotationAssociation>;
   dcterms:description "entity(e1,[type='document'])";
   a prov:Entity;
   a :Document;

   dcterms:description "hasAnnotation(e1,ann1)";
   prov:hasAnnotation :ann1;
.

:e2
   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-annotationAssociation>;
   dcterms:description "entity(e2,[type='document'])";
   a prov:Entity;
   a :Document;

   dcterms:description "wasGeneratedBy(e2, pe, qualifier(file='stdout'))";
   prov:wasGeneratedBy :pe;

   dcterms:description "hasAnnotation(e2,ann1)";
   prov:hasAnnotation :ann1;
.

:pe
   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-annotationAssociation>;
   dcterms:description "processExecution(pe,transform,t1,t2,[])";
   a prov:ProcessExecution; 
   prov:hadRecipe :transform;
   time:hasBeginning [ a prov:Time; rdf:value 1 ];
   time:hasEnd       [ a prov:Time; rdf:value 2 ];

   dcterms:description "used(pe,e1,qualifier(file='stdin'))";
   prov:used :e1;
   prov:qualifiedUsage [
      a :Use;
      prov:entity :e1;
      :file :stdin;

      dcterms:description "hasAnnotation(relation(pe,e1,qualifier(file='stdin')),ann2)";
      prov:hasAnnotation :ann2;
   ];

   dcterms:description "wasGeneratedBy(e2, pe, qualifier(file='stdout'))";
   prov:generated :e2;
   prov:qualifedGeneration [
      a prov:Generation;
      prov:entity :e2;
      :file :stdout;
   ];
.

:ann1
   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-annotationAssociation>;
   dcterms:description "annotation(ann1,[icon='doc.png'])";
   a prov:Annotation;
   :icon <doc.png>;
.

:ann2
   rdfs:seeAlso <http://www.w3.org/TR/2011/WD-prov-dm-20111018/#expression-annotationAssociation>;
   dcterms:description "annotation(ann2,[style='dotted'])";
   a prov:Annotation;
   :style :dotted;
.