open provenance model tutorial session 5: opm emerging profiles
TRANSCRIPT
![Page 1: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/1.jpg)
Open Provenance Model Tutorial Session 5: OPM Emerging Profiles
![Page 2: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/2.jpg)
Session 5: Aims
In this session, you will learn about:– How to extend OPM through profiles– The content of a profile– Four emerging profiles for OPM– How to get involved with your own profile
![Page 3: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/3.jpg)
Session 5: Contents
• Profile Definition• Essential Profiles– Collections Profile– Signature Profile
• Domain Profiles– Dublin Core Profile– D-Profile
• Feedback
![Page 4: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/4.jpg)
OPM LAYERED ARCHITECTURE
![Page 5: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/5.jpg)
5
OPM Layered Model
OPM Core
OPM Essential Profiles: Collections, Attribution
OPM Domain Specialization: Workflow, Web
Tech
nolo
gy B
indi
ngs:
XM
L, R
DF
OPM Sig OPM
bas
ed A
PIs:
reco
rd, q
uery
![Page 6: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/6.jpg)
PROFILE DEFINITION
![Page 7: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/7.jpg)
Concept of a Profile
• A specialisation of an OPM graph for a specific domain or to handle a specific problem
• Profile definitions are welcome!• Note: profile multiplicity challenges inter-
operability
![Page 8: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/8.jpg)
What’s in a profile
• A unique id• Vocabulary of Annotations• Guidance• Profile Expansion Rules• Syntactical Short-cuts
![Page 9: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/9.jpg)
Vocabulary of Annotations
• Controlled Vocabulary• Subtyping of edges & nodes• Application specific properties• Easy!
ReviewReviewerreviewCreatedBy
hasPhoto
![Page 10: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/10.jpg)
Guidance
• Many ways to represent the same process within an OPM Graph
• System may expect a particular structure or associated vocabulary
ReviewReviewerreviewCreatedBy
reviewdraftReviewer
submittedReviewFromReviewPublishing
System reviewFinalisedFrom
![Page 11: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/11.jpg)
Profile Expansion Rules
• Provide more compact representations of provenance
• Maintain OPM Compatibility
ReviewReviewerreviewCreatedBy
PSdraft1
reviewdraft
ReviewersubmittedReviewFrom
ReviewPublishingSystem reviewFinalisedFrom
Rules
![Page 12: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/12.jpg)
Profile Compliance
PROFILE•Id•Vocabulary•Guidance•Expansion directives•Serialisation
ProfileCompliant
Graph
Profile-expandedGraph
Profile Expansion
![Page 13: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/13.jpg)
Inferred Graph 2
Profile Compliance
ProfileCompliant
Graph
Profile-expandedGraph
Inferred Graph1
OPM Inference
![Page 14: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/14.jpg)
Syntactic Shortcuts
• Allow for parsimony in serializations• Understand how to get back to the OPM
model
Paul Groth (Sept 18, 2010): review1, review2 for paper 12
r1
r2
Paul Groth
P12
PaulGroth
![Page 15: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/15.jpg)
Profile Summary
• OPM is a top level representation• Profiles allow for best practice & usage
guidelines• Defining community specific: – Vocabulary– Graph structure– Derivations from vocabulary– Serializations
![Page 16: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/16.jpg)
COLLECTION PROFILE
![Page 17: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/17.jpg)
http://www.flickr.com/photos/stripeyanne/3539864111/sizes/l/in/photostream/
![Page 18: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/18.jpg)
http://www.flickr.com/photos/stripeyanne/3539864111/sizes/l/in/photostream/
Provenance?
![Page 19: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/19.jpg)
http://www.flickr.com/photos/stripeyanne/3539864111/sizes/l/in/photostream/
Provenance?
![Page 20: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/20.jpg)
http://www.flickr.com/photos/stripeyanne/3539864111/sizes/l/in/photostream/
Provenance?
![Page 21: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/21.jpg)
Collection Profile (draft)
• Notion of collection (a kind of artifact)• Collections can be nested• Process types: constructor and artifact• Edge types: contained, wasPartOf,
wasIdenticalTo• Completion guidance to derive dependencies
on elements from collections
with Paolo Missier, Paul Groth and Simon Miles
![Page 22: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/22.jpg)
Collections
![Page 23: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/23.jpg)
Collections
• From – c2->c1, a1i->c1
• derive – a2i->a1i , c2->a2i
• And likewise from – c2->c1, c2->a2i
![Page 24: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/24.jpg)
SIGNATURE PROFILE
![Page 25: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/25.jpg)
Some Provenance Security Concerns
• How can we ensure the integrity of an OPM graph? – Has it been tampered with? Is it authentic?
• Who created an OPM graph?– Is there non-repudiable evidence that an entity is
its author?• Note: many other security requirements, cf.
[Tan 06], [Braun 08], [Moreau 10].
![Page 26: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/26.jpg)
Signature of OPM Graphs
• Cryptographic signatures provide:– Non repudiable evidence– Means to check authenticity
• Leveraging existing standards, e.g. XML-Signature
• Need to define a “normal form” for XML OPM graph before applying XML-Signature
• Implementation available from opm toolbox
![Page 27: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/27.jpg)
27
Attribution and Signatures
Embedded Signature
X509 Certificate
Distinguished Name
Timestamp andReplay
Protection Role
An annotation to an OPM graph that contains a
signature
![Page 28: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/28.jpg)
Alternative implementation
• J. Myers (NCSA) implementation on top of RDF serialization
• More challenging since:– There is no standard way of serializing RDF– There is no standard RDF-Signature
![Page 29: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/29.jpg)
DUBLIN CORE PROFILE
![Page 30: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/30.jpg)
Dublin Core Profile (draft)
• To many people, provenance is primarily about attribution, citation, bibliographic information
• DC provides terms to relate resources to such information
• DC profile aims to use of Dublin Core terms to OPM concepts and graph patterns
• http://twiki.ipaw.info/pub/OPM/ChangeProposalDublinCoreMapping/dcprofile.pdf
with Simon Miles and Joe Futrelle
![Page 31: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/31.jpg)
Dublin Core Terms
• Accrual method• Available• Bibliographic citation• Contributor• Publisher• Date• Version• …
![Page 32: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/32.jpg)
dc:accuralMethod
Addition
The method by which items are added to a collectionI dc:accuralMethod M
Method(M)
Collection Before
New item (I)
New Collection
dc:versionOf
![Page 33: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/33.jpg)
dc:publisher
A2
A1
P
publish
wasSameResourceAs
state=published
AgwasActionOf
state=unpublished
personname=Luc
used
wasGeneratedBy
![Page 34: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/34.jpg)
OPM benefit: refinement
A2
A1
P
publish
wasSameResourceAs
state=published
AgwasActionOf
state=unpublished
personname=Luc
used
wasGeneratedBy
review
approve
catalog
![Page 35: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/35.jpg)
dc:contributor
A2
A1
P
contribution
dc:isVersionOf
Ag
used
wasGeneratedBy
![Page 36: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/36.jpg)
OPM benefit: additional details
A2
A1
P
contribution
dc:isVersionOf
Ag
used
wasGeneratedBy
Contributioncontent used
![Page 37: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/37.jpg)
D-PROFILE
![Page 38: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/38.jpg)
Provenance Across Applications
Application
Application
Application
Application
Application
Provenance Inter-Operability Layer
The Open Provenance Model (OPM)
![Page 39: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/39.jpg)
OPM Usage Thus Far
• OPM has been used for integration between monolithic systems
• Assumptions:– Agreement between applications on integration
points– Little communication mostly through the
environment– Clear demarcation of functional components– The other party is “a good guy”
![Page 40: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/40.jpg)
OPM in Distributed Systems
• Is OPM suitable for Distributed Systems?• Can OPM deal with…– asynchronous / synchronous systems– failure, corruption, errors– transient processes– independent processes– defining applications across systems
![Page 41: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/41.jpg)
OPM in Distributed Systems
• Is OPM suitable for Distributed Systems?• Can OPM deal with…– asynchronous / synchronous systems– failure, corruption, errors– transient processes– independent processes– defining applications across systems
• YES! (but we need some additions)
![Page 42: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/42.jpg)
D-PROFILE
• A profile for modeling distributed systems within OPM
• Message-passing model• Examples:– Web services– Pervasive systems– Mobile
![Page 43: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/43.jpg)
Guidance: communication
![Page 44: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/44.jpg)
Vocabulary
EdgesWasConstructedFromWasCopyOfWasSameMessageAsWasExtractedFrom
PropertiesattributedTotracer
![Page 45: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/45.jpg)
Compact Representation
• Subclass of Artifact a D-Artifact• Has annotations including:– Payload for sender & receiver– A message id– Tracers– Attribution
• Expansion Rules• Save roughly half the nodes & edges
![Page 46: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/46.jpg)
FEEDBACK: WHAT PROFILES ARE MISSING??
![Page 47: Open Provenance Model Tutorial Session 5: OPM Emerging Profiles](https://reader034.vdocuments.site/reader034/viewer/2022042702/56649dd05503460f94ac540a/html5/thumbnails/47.jpg)
Extend OPM through a Profile
• Any one can make a profile (Go for it!)• Easiest route is through a Vocabulary• Post to the wiki and gain a community
following– Can also become endorsed…
• Lightweight Governance Model– http://twiki.ipaw.info/pub/OPM/WebHome/
governance.pdf