[provenance-challenge] Questions and Comments on OPM toolbox: Agent annotation / OPMToDot

Matthias Hinz matthias.m.hinz at googlemail.com
Wed Jun 27 13:55:44 BST 2012


Dear List,
I've some questions and commends on OPM toolbox. It is not possible to
annotate an Agent like Processes and Artifacts, why? I.e. for
the*OPMFactory class
* [1], I would expect a method like the following, which is not there:

Annotation newAnnotation(String id, Agent a, String property, Object value,
Collection<Account> accs)

I tried to circumvent this by associating an EmbeddedAnnotation with an
Agent, but it doesn't seem ideal with other tools. Are there any
alternatives to create an Annotation for Agents? Thanks a lot if you can
help me with that.

Just for clarification: I want to capture the provenance of a process from
an OGC Web Processing Service. So I am modelling the process as an OPM
process and associate the Service as an Agent, which has different
properties like 'version', 'responsible', and 'URL'. Embedded annotations
are ok, but i found that the Karma OPM Visualization Plugin for Cytoscape
doesn't recognize them.

Furthermore I have got a comment on the *OPMToDot mapper class *for
GraphViz. Inside the dot files, identifiers are mapped termed as-is,
without any quotes. But I'd recommend to surround them with double-quotes
because otherwise an identifier which contains, e.g. of dots leads to
totally wrong output [3]. I've found an individual solution for my
programme but I thought it's good to mention that.

Kind Regards,
Matthias Hinz

[1]
http://openprovenance.org/java/site/1_1_8/apidocs/org/openprovenance/model/OPMFactory.html
[2]
http://openprovenance.org/java/site/1_1_8/apidocs/org/openprovenance/model/OPMToDot.html
[3] http://www.graphviz.org/content/dot-language

-- 
Matthias Hinz
Bachelor Student Geoinformatics
Institute for Geoinformatics (ifgi), University of Münster
Germany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/provenance-challenge-ipaw-info/attachments/20120627/b15e63ca/attachment.html 


More information about the Provenance-challenge-ipaw-info mailing list