- From: Daniel Garijo <dgarijo@delicias.dia.fi.upm.es>
- Date: Mon, 1 Jun 2015 11:03:05 +0200
- To: "Svensson, Lars" <L.Svensson@dnb.de>
- Cc: Paul Groth <pgroth@gmail.com>, "public-prov-comments@w3.org" <public-prov-comments@w3.org>
- Message-ID: <CAExK0Df4OqYHXg8Y=29PmvyzDQzwzC+thYvpk+eaVzDFngLL+g@mail.gmail.com>
Hi Lars, that looks ok to me, as long as both nightly processes are independent. If you have a single nightly process that processes all the 5000 documents, then you would have a single activity. I also depends on the level of granularity you want to track :) Best, Daniel 2015-06-01 9:40 GMT+02:00 Svensson, Lars <L.Svensson@dnb.de>: > Hi Paul, > > On Saturday, May 30, 2015 5:39 PM, Paul Groth wrote: > > > > On May 30, 2015, at 17:24, Svensson, Lars <L.Svensson@dnb.de> wrote: > > > > > >> On Thursday, May 21, 2015 3:12 PM, Svensson, Lars wrote: > > >> > > >> I'm trying to model a recurring activity and have some difficulty to > find the > > >> correct usage of prov:Activity vs. prov:Plan. If I have an process > that runs > > >> regularly (e. g. nightly), should I model each execution of the > process as an > > >> instance of prov:Activity and refer to a prov:Plan for details of how > what the > > >> activity does? > > > > > > Having thought of my question, my best guess is that when I process one > > document I need one instance of prov:Activity. I. e. if I process 5,000 > documents > > per night, I have 5,000 activities. All of those share one common > prov:Plan. > > > > > > Could anyone confirm that my guess is correct? > > > Yes that's correct. An activity is an execution of a plan. > > Great, thanks Paul. > > So this would be correct: > > :record1 a prov:Entity, ex:MetadataRecord ; > rdfs:label "this is a record created by the nightly process > finishing on May 21st"@en ; > prov:wasGeneratedBy :aNightlyProcess2015-05-21 . > prov:generatedAtTime "2015-05-21T02:16:58"^^xsd:date . > > :record2 a prov:Entity, ex:MetadataRecord ; > rdfs:label "this is another record created by the nightly process > finishing on May 21st"@en ; > prov:wasGeneratedBy :anotherNightlyProcess2015-05-21 . > prov:generatedAtTime "2015-05-21T02:17:19"^^xsd:date . > > :aNightlyProcess2015-05-21 a prov:Activity ; > prov:used :someConfiguration, :someInputDataSuchAsADocument ; > prov:startedAtTime "2015-05-21T02:16:03"^^xsd:dateTime ; > prov:endedAtTime "2015-05-21T02:16:59"^^xsd:dateTime ; > prov:qualifiedAssociation [ > a prov:Association ; > prov:agent :aPieceOfSoftware ; > prov:hadPlan :aProcessPlan > ] . > > :anotherNightlyProcess2015-05-21 a prov:Activity ; > prov:used :someConfiguration, > :someOtherInputDataSuchAsAnotherDocument ; > prov:startedAtTime "2015-05-21T02:17:00"^^xsd:dateTime ; > prov:endedAtTime "2015-05-21T02:17:20"^^xsd:dateTime ; > prov:qualifiedAssociation [ > a prov:Association ; > prov:agent :aPieceOfSoftware ; > prov:hadPlan :aProcessPlan > ] . > > :aProcessPlan a prov:Plan ; > rdfs:label "Some general description of what the nightly process > looks like" . > > Thanks, > > Lars > > > > > > > Thanks, > > > > > > Lars > > > > > > *** Lesen. Hören. Wissen. Deutsche Nationalbibliothek *** > > > -- > > > Dr. Lars G. Svensson > > > Deutsche Nationalbibliothek > > > Informationsinfrastruktur und Bestanderhaltung > > > Adickesallee 1 > > > D-60322 Frankfurt am Main > > > Telefon: +49-69-1525-1752 > > > Telefax: +49-69-1525-1799 > > > mailto:l.svensson@dnb.de > > > http://www.dnb.de > > > > > > > > > > > > >
Received on Monday, 1 June 2015 09:03:32 UTC