20
Open Provenance Model Tutorial Session 7: Open Provenance Model Vocabulary Jun Zhao [email protected] University of Oxford

2010 09 opm_tutorial_02-jun-opmv

Embed Size (px)

Citation preview

Page 1: 2010 09 opm_tutorial_02-jun-opmv

OpenProvenanceModelTutorialSession7:OpenProvenanceModelVocabulary

JunZhao

[email protected]

UniversityofOxford

Page 2: 2010 09 opm_tutorial_02-jun-opmv

OPMV

•  Thegoal•  TheraBonale•  Overviewofthevocabulary•  OverviewofexisBngtypemodules

•  Toolsandexamples

•  Futuredevelopment

Page 3: 2010 09 opm_tutorial_02-jun-opmv

OurGoal

•  Enable“responsible”datapublicaBon,inordertotracetheresponsibleagentsandtoreproduceresults

•  Enabletodescribeprovenanceofanytypesofdata

•  Easytouseandextend– BypeoplewhopublishLinkedData– BydevelopersofLinkedDatapublishingtools

Page 4: 2010 09 opm_tutorial_02-jun-opmv

ARTIFACT

Immutablepieceofstate,whichmayhaveaphysicalembodimentinaphysicalobject,oradigitalrepresentaAoninacomputersystem.

Page 5: 2010 09 opm_tutorial_02-jun-opmv

TheRaBonale

•  GroundeduponexisBngSWtechnologies– Donotexplicitlydefineagraph,OPMGraph – NamedGraphs

•  ReuseexisBngvocabularies•  Lightweight

– 3classesand12properBes– Reuse3classesfromtheW3CTimeOntology

Page 6: 2010 09 opm_tutorial_02-jun-opmv

OverviewoftheVocabulary

•  DefinedasavocabularyexpressedusingOWL•  ImplementthecoreconceptsoftheOpenProvenanceModel

•  Nospecificgranularityprescribed•  ParBBonedinto:

– TheCoreModule– Othertypedmodules:common,xml,gate,sparql

Page 7: 2010 09 opm_tutorial_02-jun-opmv

OWLOntologyforOPM

Page 8: 2010 09 opm_tutorial_02-jun-opmv

OverviewoftheOPMVVocabulary

ObjectproperBesimplemenBngOPM

ObjectproperBesnotasexactlydefinedinOPMrdfs:subClassOfrelaBonships

1 prefix time: http://www.w3.org/2006/time#

owl:Thing

Agent

ArBfact

Process

Bme:TemporalEnBty

Bme:Instant

Bme:Interval

wasControlledBy

usedwasGeneratedBy

wasTriggeredBywasPerformedAt

wasDerivedFrom

Page 9: 2010 09 opm_tutorial_02-jun-opmv

OWLOntologyforOPM(1)pc1:p5 a opm:Process ;

opm:account pc1:black ; opm:label "Reslice 1" .

pc1:an1_p5 a opm:Annotation .

pc1:pr_18 a opm:Property ; opm:uri "http://openprovenance.org/primitives#primitive" ; opm:value "http://openprovenance.org/primitives#reslice" .

pc1:an1_p5 opm:property pc1:pr_18 .

pc1:p5 opm:annotation pc1:an1_p5 .

pc1:u_103 a opm:Used ; opm:effect pc1:p1 ; opm:role pc1:r_102 ; opm:cause pc1:a3 ; opm:account pc1:black .

pc1:gr_273 a opm:OPMGraph ; opm:hasAccount pc1:black ; opm:hasProcess pc1:p5 , ...; opm:hasArtifact pc1:a25p, ...; opm:hasDependency pc1:u_103, ...

Page 10: 2010 09 opm_tutorial_02-jun-opmv

Example:OPMV

pc1:p5rdf:typeopmv:Process;rdfs:label"Reslice1".

pc1:a3rdf:typeopmv:ArBfactopmv:wasGeneratedBy[ rdf:type opmv:Process; opmv:used pc1:p1]

.

pc1:p1 rdf:type opmv:ArBfact.

Page 11: 2010 09 opm_tutorial_02-jun-opmv

Example:OPMV+NamedGraphs

pc1:gr_273 { pc1:p5rdf:typeopmv:Process; rdfs:label"Reslice1".

pc1:a3rdf:typeopmv:ArBfact opmv:wasGeneratedBy[ rdf:type opmv:Process; opmv:used pc1:p1].

pc1:p1 rdf:type opmv:ArBfact. }

pcl:gr_273rdf:type<hgp://www.w3.org/2004/03/trix/rdfg‐1/Graph>.

Page 12: 2010 09 opm_tutorial_02-jun-opmv

ComparisonwithOPMOWL

•  AmoreintuiBveOWLontologyandRDFrepresentaBon

•  TakefulladvantageofSWtechnologies

•  LackofexplicitsemanBcsforgraphmembership

•  Nottoomuchforreasoning

•  (Probably)alesscompleteimplementaBonoftheOPMSpecificaBon

Page 13: 2010 09 opm_tutorial_02-jun-opmv

OverviewoftheCommonModule

AgentArBfact

Process

usedDatausedScript

isCachedCopyOf

common:Download

common:Unzip

common:Zip

ObjectproperBesimplemenBngOPM

ObjectproperBesdefinedintheCommonModule

rdfs:subClassOfrelaBonships1prefixcommon:hgp://purl.org/net/opmv/types/common#2prefixhgp:hgp://www.w3.org/2006/hgp#3prefixdoap:hgp://usefulinc.com/ns/doap#

isCachedResultOf

doap:Version

hgp:ConnecBon

deployedSooware

connecBon

ClassesfromtheCommonModuleClassesfromtheotherexisBngvocabularies

wasControlledBy

Page 14: 2010 09 opm_tutorial_02-jun-opmv

ExampleI

Page 15: 2010 09 opm_tutorial_02-jun-opmv

ExampleII

Page 16: 2010 09 opm_tutorial_02-jun-opmv

OverviewoftheXSLTModule

Agent ArBfact

Process

TransformaBon

ProcessorBinding

StylesheetTemplate

ObjectproperBesdefinedintheXSLTModule

rdfs:subClassOfrelaBonships

ClassesfromtheXSLTModule

processor

wasResultOf

source

binding

iniBalTemplate

module stylesheet

Page 17: 2010 09 opm_tutorial_02-jun-opmv

Example

Page 18: 2010 09 opm_tutorial_02-jun-opmv

PublishingOPMVProvenance

•  ProvenanceJS(Hands‐onsession)

Page 19: 2010 09 opm_tutorial_02-jun-opmv

FutureDevelopment

•  Moretypedmodules•  Aguideonhowtopublishprovenance

– Whereandhowmuch

– Whatistheminimumprovenance– HowtorepresenttheinformaBon

Page 20: 2010 09 opm_tutorial_02-jun-opmv

ThisworkislicensedunderaCreaBveCommonsAgribuBon‐ShareAlike3.0License

(hgp://creaBvecommons.org/licenses/by‐sa/3.0/)