Upload
jun-zhao
View
2.926
Download
0
Embed Size (px)
Citation preview
OpenProvenanceModelTutorialSession7:OpenProvenanceModelVocabulary
JunZhao
UniversityofOxford
OPMV
• Thegoal• TheraBonale• Overviewofthevocabulary• OverviewofexisBngtypemodules
• Toolsandexamples
• Futuredevelopment
OurGoal
• Enable“responsible”datapublicaBon,inordertotracetheresponsibleagentsandtoreproduceresults
• Enabletodescribeprovenanceofanytypesofdata
• Easytouseandextend– BypeoplewhopublishLinkedData– BydevelopersofLinkedDatapublishingtools
ARTIFACT
Immutablepieceofstate,whichmayhaveaphysicalembodimentinaphysicalobject,oradigitalrepresentaAoninacomputersystem.
TheRaBonale
• GroundeduponexisBngSWtechnologies– Donotexplicitlydefineagraph,OPMGraph – NamedGraphs
• ReuseexisBngvocabularies• Lightweight
– 3classesand12properBes– Reuse3classesfromtheW3CTimeOntology
OverviewoftheVocabulary
• DefinedasavocabularyexpressedusingOWL• ImplementthecoreconceptsoftheOpenProvenanceModel
• Nospecificgranularityprescribed• ParBBonedinto:
– TheCoreModule– Othertypedmodules:common,xml,gate,sparql
OWLOntologyforOPM
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
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, ...
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.
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>.
ComparisonwithOPMOWL
• AmoreintuiBveOWLontologyandRDFrepresentaBon
• TakefulladvantageofSWtechnologies
• LackofexplicitsemanBcsforgraphmembership
• Nottoomuchforreasoning
• (Probably)alesscompleteimplementaBonoftheOPMSpecificaBon
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
ExampleI
ExampleII
OverviewoftheXSLTModule
Agent ArBfact
Process
TransformaBon
ProcessorBinding
StylesheetTemplate
ObjectproperBesdefinedintheXSLTModule
rdfs:subClassOfrelaBonships
ClassesfromtheXSLTModule
processor
wasResultOf
source
binding
iniBalTemplate
module stylesheet
Example
PublishingOPMVProvenance
• ProvenanceJS(Hands‐onsession)
FutureDevelopment
• Moretypedmodules• Aguideonhowtopublishprovenance
– Whereandhowmuch
– Whatistheminimumprovenance– HowtorepresenttheinformaBon
ThisworkislicensedunderaCreaBveCommonsAgribuBon‐ShareAlike3.0License
(hgp://creaBvecommons.org/licenses/by‐sa/3.0/)