170 likes | 422 Views
PROV- Ontology (PROV-O). Satya Sahoo , Khalid Belhajjame , James Cheney , Daniel Garijo , Timothy Lebo , Deborah McGuinness , Stephan Zednik , Stian Soiland -Reyes. W3C Provenance Working Group. Index of contents. Index: Background Classes Object properties
E N D
PROV-Ontology(PROV-O) SatyaSahoo, KhalidBelhajjame , James Cheney , Daniel Garijo, Timothy Lebo , Deborah McGuinness , Stephan Zednik, StianSoiland-Reyes. W3C ProvenanceWorkingGroup
Index of contents • Index: • Background • Classes • Object properties • Core binary relationships • Common binary relationships • N-Ary relationships • Journalism example • Exploitation 1
Background • PROV-0 • OWL –RL encoding of the PROV-DM • Scalable reasoning without sacrificing too much expressive power. • Special focus on simplicity and flexibility. • Designed for extensibility. • Made to facilitate provenance interoperability in the web 2
Core classes • Elements: Nodes of the provenance graph • Entity • Agent • Organization • Person • System • Plan • Activity 3
Core object properties Edges of the provenance graph :activity1 prov:used:entity1 . :entity2 prov:wasGeneratedBy:activity1 . :activity1 prov:wasAssociatedWith :agent1;prov:wasStartedBy:agent1;prov:wasEndedBy:agent2 . :entity2 prov:wasDerivedFrom:entity1 . :agent1 prov:actedOnBehalfOf:agent2 . :activity2 prov:wasInformedBy:activity1 . :activity2 prov:wasStartedByActivity :activity1 . :activity1 a prov:Activity. :activity2 a prov:Activity. :entity1 a prov:Entity. :entity2 a prov:Entity. :agent1 a prov:Person, prov:Agent, prov:Entity. :agent2 a prov:Organization, prov:Agent, prov:Entity 4
Common object properties Common relationships on the semantic web :entity1 prov:wasAttributedTo:agent1. :entity2 prov:wasQuotedFrom:entity1 . :entity2 prov:hadOriginalSource:entity1 . :entity2 prov:wasRevisionOf:entity1 . :entity2 prov:wasSummaryOf:entity1 . :entity2 prov:tracedTO:entity1 . 5
N-Ary relationships • Most of the PROV-DM relationships are qualified.Qualifying attributes examples: • Roles • Location • Time • Etc. • Modeled through prov:Involvement class BinaryRelationship element1 element2 Involvement Prov:entity/prov:activity prov:involved role location time Otherattributes 6
Journalism Example DataSet(D1) Alice OpenOfficeCalc(S1) SatisticalAssumptions(stats1) used used used Chart MakingActivity wasAssociatedWith wasGeneratedBy Chart (C1) • All binary relationships point towards the past 7
Journalism Example DataSet(D1) Alice OpenOfficeCalc(S1) SatisticalAssumptions(stats1) used used used Chart MakingActivity wasAssociatedWith wasGeneratedBy Chart (C1) • All binary relationships point towards the past 8
Journalism Example • Example as RDF/Turtle: • :Alice a prov:Entity,prov:Agent, prov:Personexample:Journalist . • :d1 a example:Dataset, prov:Entity ; • rdfs:label “Data set". • :c1 a example:Chart, prov:Entity; • rdfs:label “Chart C1”.; • example:fileSize “123424”; • prov:wasGeneratedBy : chartMaking. • :chartMaking a prov:Activity, example:MakingActivity; • rdfs:label “Makingthe chart”; • prov:wasAssociatedWith:Alice; • prov:used:d1. 9
Journalism Example: qualifying relationships • If we want to add extra information to the usage: • : chartMaking a prov:Activity, example:MakingActivity; • rdfs:label “Makingthe chart”; • prov:wasAssociatedWith :Alice; • prov:involved:u1; • prov:used :d1. • :r1 a prov:Role, example:ReferenceRole; • rdfs:label“Theentitywasused as reference in thecreationactivity”. • :u1 a prov:Usage, prov:Involvement; • prov:entity:d1; • prov:hadRole:r1; • prov:occurredAt [a prov:TimeInstant;prov:inXSDDateTime“2011-09-19T19:05:40-07:00”]. 10
Exploitation • SPARQL queries: • What was used to create the chart C1? • SELECT ?usedElementWHERE{:C1 prov:wasGeneratedBy ?p.?p prov:used ?usedElement. } • Who was associated to the chart making process that led to C1? • SELECT ?agent WHERE{ :C1 prov:wasGeneratedBy ?p. ?p prov:wasAssociatedTo ?agent.} 11
Exploitation (2) SPARQL queries: At what time was D1 used in the process that led to C1? SELECT ?t WHERE{ :C1 prov:wasGeneratedBy ?p. ?p prov:prov:used :D1. ?p prov:involved?usage. ?usage a prov:Usage. ?usage prov:entity:D1. ?usage prov:occurredAt?t. } 12
References References: Prov DM: http://dvcs.w3.org/hg/prov/raw-file/default/model/ProvenanceModel.html ProvRDF: http://www.w3.org/2011/prov/wiki/ProvRDF Primer: http://dvcs.w3.org/hg/prov/raw-file/tip/primer/Primer.html Best practices document: http://dvcs.w3.org/hg/prov/raw-file/tip/bestpractices/BestPractices.html OWL-RL: http://www.w3.org/TR/owl-profiles/#Feature_Overview_3 13
Acknowledgements Special Thanks to: W3C ProvenanceWorkingGroup Semantic Web Activity WorldWide Web Consortium www.w3.org/2011/prov/wiki Contributing members:Reza B'Far, KhalidBelhajjame, James Cheney, Sam Coppens, Stephen Cresswell, Helena Deus, SimonDobson, KaiEckert, James Frew, IriniFundulaki, Yolanda Gil, Paul Groth, Olaf Hartig, Sandro Hawke, Ralph Hodgson, Graham Klyne, Michael Lang, Timothy Lebo, James McCusker, Deborah McGuinness, Simon Miles, Paolo Missier, LucMoreau, James Myers, Paulo Pinheiro da Silva, Carl Reed, Christine Runnegar, SatyaSahoo, YogeshSimmhan, StianSoiland-Reyes, Eric Stephan, EdSummers, Ted Thibodeau, CurtTilmes, Stephan ZednikandJunZhao. 14
PROV-Ontology(PROV-O) SatyaSahoo, KhalidBelhajjame , James Cheney , Daniel Garijo, Timothy Lebo , Deborah McGuinness , Stephan Zednik, StianSoiland-Reyes. W3C ProvenanceWorkingGroup