W3C home > Mailing lists > Public > semantic-web@w3.org > October 2014

Re: Which file format to use?

From: Stian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Date: Mon, 20 Oct 2014 15:35:00 +0100
Message-ID: <CAPRnXtkbzrn9Aqmypzo8xH96sGs34+bHYhOzSOTJfNK6Yrs6zw@mail.gmail.com>
To: Victor Porton <porton@narod.ru>
Cc: SW-forum Web <semantic-web@w3.org>
Perhaps one of the workflow plan models would work - although they are
both a bit more centric on dataflows. It sounds to me like you are
almost defining an in-promptu workflow, though.


http://www.opmw.org/model/OPMW/#WorkflowTemplateProcess

http://purl.org/wf4ever/wfdesc

So in both approaches you basically describe a template processes and
artifacts, which when executed would give life to particular processs
and artifacts.


e.g. (in Turtle):

:proc1 a wfdesc:Process ;
    wf:hasInput :in1, :in2 ;
    wf:hasOutput :out1 .

:in1 rdfs:label "scannedText" ;
    wfdesc:hasArtifact :imageFile .
:in2 rdfs:label "qualitySetting" .
:out1 rdfs:label "ocr" ;
    wfdesc:hasArtifact :pdfFile .


:imageFile a wfdesc:Artifact, dcmitype:StillImage ;
  dc:format "image/png" .

:pdfFile a wfdesc:Artifact, dcmitype:Text ;
   dc:format "application/pdf" .


Here the process template is kind of saying what should always be true
when executing this process or workflow, e.g. every output file would
always be PDF.

Multiple steps can be expressed as a wfdesc:Workflow with multiple
wfdesc:Process, and a series of wfdesc:DataLink that relate input and
output wfdesc:Parameters.



OPMW has a similar structure, but here the dataflow is given by
'virtual' opmw:uses and opmw:generates between
opmw:WorkflowTemplateArtifact's.



On 20 October 2014 14:31, Victor Porton <porton@narod.ru> wrote:
> 20.10.2014, 12:56, "Stian Soiland-Reyes" <soiland-reyes@cs.manchester.ac.uk>:
>> Are these transformations basically a kind of provenance of how
>> something was created - or is it a plan of how something can be made?
>
> Certainly, it is a plan of how something can be made.
>
> --
> Victor Porton - http://portonvictor.org



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718
Received on Monday, 20 October 2014 14:35:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:26 UTC