RE: Recurring Activities

Hi Daniel,

> 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 :)

OK, thanks for the feedback. Essentially it's one process that takes one document at the time and creates a metadata record from it. The point is that I couldn't find a way to relate the input document to the created metadata if I have only one process/activity for all documents. Do you have an idea how to express that with only one activity?

Best,

Lars
 
> 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 13:26:44 UTC