SlideShare una empresa de Scribd logo
1 de 20
Don’t like RDF Reification? 
Making Statements about Statements 
Using Singleton Property 
Vinh Nguyen 
Kno.e.sis 
Wright State University 
Olivier Bodenreider 
National Library of Medicine 
National Institute of Health 
Amit Sheth 
Kno.e.sis 
Wright State University 
WWW 2014, Seoul
Linked Open Data 
• > 70% Metadata 
• Relation Extraction from 
unstructured text (PubMed, Wiki) 
• Evidences 
• Judgement 
2
Motivation Scenario 
Starts Ends 
1965-11-22 1977-06-29 
1986-06-## 1992-10-## 
Facts: 
Meta Queries: 
Query type Sample query 
Provenance P1. Where is this fact from? 
P2. When was it created? 
P3. Who created this fact? 
Time T1. When did this fact occur? 
T2. What is the time span of this fact? 
T3. Which events happened in the same year? 
Location L1. What is the location associated with this fact? 
L2. Which events happened at the same place? 
Certainty C1. What is the author confidence of this fact? 
3 
Subject Predicate Object 
Bob Dylan marriedTo Sarah Lownds 
Bob Dylan marriedTo Carolyn Dennis
Form of Triples: Standard RDF Reification 
Subject Predicate Object Starts Ends 
Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 
Standard RDF Reification 
Pros: 
1. Intuitive, easy to understand 
Cons: 
1. Takes 3N triples (4N if including 
Statement typing) to represent a 
statement => Not scalable 
2. No formal semantics defined => 
Semantics is unclear 
3. Discouraged in LOD! 
Time-aware Facts: 
4 
Subject Predicate Object 
#stmt1 type Statement 
#stmt1 hasSubject BobDylan 
#stmt1 hasProperty marriedTo 
#stmt1 hasObject Sara Lownds 
Bob Dylan marriedTo Sarah Lownds 
#stmt1 starts 1965-11-22 
#stmt1 ends 1977-06-29
RDF Reification vs. Singleton Property 
Time-aware Facts: 
Subject Predicate Object Starts Ends 
Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 
Standard RDF Reification 
Subject Predicate Object 
#stmt1 type Statement 
#stmt1 hasSubject BobDylan 
#stmt1 hasProperty marriedTo 
#stmt1 hasObject Sara Lownds 
Bob Dylan marriedTo Sarah Lownds 
#stmt1 starts 1965-11-22 
#stmt1 ends 1977-06-29 
Singleton Property 
Subject Predicate Object 
marriedTo#1 rdf:sp marriedTo 
BobDylan marriedTo#1 Sarah Lownds 
marriedTo#1 starts 1965-11-22 
marriedTo#1 ends 1977-06-29 
5
Form of Triples: PaCE 
Subject Predicate Object Source DateExtracted 
Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 2009-06-07 
Pros: 
1. Save ~50% number of triples 
compared to reification thanks 
to the repeated subject, 
predicate, and object. 
Cons: 
1. Not intuitive, hard to 
understand 
2. Limited expressiveness 
Provenance-aware Facts: 
6 
Provenance-aware Context Entity 
Subject Predicate Object 
BobDylan_wp rdf:type Bob Dylan 
SaraLownds_wp rdf:type Sara Lownds 
BobDylan_wp marriedTo SaraLownds_wp 
BobDylan_wp hasSource wiki:Bob_Dylan 
BobDylan_wp hasDateExt 2009-06-07 
Satya S. Sahoo, Olivier Bodenreider, Pascal Hitzler, Amit Sheth, and Krishnaprasad Thirunarayan. 2010. 
Provenance context entity (PaCE): scalable provenance tracking for scientific RDF data. In Proceedings 
of the 22nd international conference on Scientific and statistical database management (SSDBM'10),
Facts and Provenance: 
Subject Predicate Object Source DateExtracted 
Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 2009-06-07 
Provenance-aware Context Entity 
Subject Predicate Object 
BobDylan_wp rdf:type Bob Dylan 
SaraLownds_wp rdf:type Sara Lownds 
BobDylan_wp marriedTo SaraLownds_wp 
BobDylan_wp hasSource wiki:Bob_Dylan 
BobDylan_wp hasDateExt 2009-06-07 
7 
PaCE vs. Singleton Property 
Singleton Property 
Subject Predicate Object 
marriedTo#1 rdf:sp marriedTo 
BobDylan marriedTo#1 Sarah Lownds 
marriedTo#1 hasSource wp:Bob_Dylan 
marriedTo#1 hasDateExt 2009-06-07
Form of Quadruples: Named Graph 
Subject Predicate Object Starts Ends 
Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 
Named Graph 
Subject Predicate Object NG 
Bob Dylan marriedTo Sarah Lownds ng_1 
ng_1 starts 1965-11-22 Prov_graph 
ng_2 ends 1977-06-29 Prov_graph 
Pros: 
1. Intuitive --creating # named graphs 
for # sources 
2. Attach metadata for a set of triples 
3. SPARQL supported 
Cons 
: 
1. Defined for provenance only 
2. Ambiguous semantics while 
associating different types of 
metadata at triple level 
Time-aware Facts: 
8 
* Carroll, Jeremy J., et al. "Named graphs, provenance and trust." Proceedings of the 14th international conference on World Wide Web. ACM, 2005.
Named Graph vs. Singleton Property 
Time-aware Facts: 
Subject Predicate Object Starts Ends 
Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 
Named Graph 
Subject Predicate Object NG 
Bob Dylan marriedTo Sarah Lownds ng_1 
ng_1 starts 1965-11-22 Prov_graph 
ng_2 ends 1977-06-29 Prov_graph 
Singleton Property 
Subject Predicate Object 
marriedTo#1 rdf:sp marriedTo 
Bob Dylan marriedTo#1 Sarah Lownds 
marriedTo#1 starts 1965-11-22 
marriedTo#1 ends 1977-06-29 9
Facts and Temporal Information: 
RDF+: 
Form of Quintuples: RDF+ 
Subject Predicate Object Meta Property Meta value 
Bob Dylan marriedTo Sarah Lownds starts 1965-11-22 
Bob Dylan marriedTo Sarah Lownds ends 1977-06-29 
Cons 
1. The r:epresentation is not in the form of RDF. Statement identifiers are used 
internally. Require the mappings from RDF to RDF+ and vice versa. 
2. The SPARQL query syntax and semantics need to be extended to support RDF+ 
* Dividino, Renata, et al. "Querying for provenance, trust, uncertainty and other meta knowledge in RDF." Web 
Semantics: Science, Services and Agents on the World Wide Web 7.3 (2009): 204-219. 
10 
Subject Predicate Object Starts Ends 
Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29
Overall Goal 
A mechanism to make statements about statements 
should meet these requirements: 
1. Intuitive, easy to understand 2. Formal semantics defined 
3. Scalable, e.g., to LOD 
4. Compatible with existing standards 
5. Multiple types of metadata 
11
Generic Property vs. Singleton Property 
Facts and Provenance: 
Subject Predicate Object Source MarriageDate 
Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 1965-11-22 
BarackObama marriedTo MichelleObama wikipage:Barack_Obama 1992-10-03 
Generic Property: 
1. marriedTo is an RDF property 
instanceOf 
2. marriedTo => { 
(Bob Dylan, Sarah Dylan), 
(Barack Obama, Michelle Obama), 
… 
… 
} 
3. Any assertion to marriedTo is 
applicable to all pairs of entities! 
Singleton Property: 
1. marriedTo#1, marriedTo#2 are 
RDF property 
2. Different property instances: 
marriedTo#1, 
marriedTo#2, 
… 
marriedTo#n 
3. Any assertion to 
marriedTo#1/marriedTo#2/…/mar 
riedTo#n is applicable to only ONE 
pair <= KEY 
12
Model-Theoretic Semantics 
Original* Simple Interpretation I : 
• Given a vocabulary V, 
New simple Interpretation I : 
satisfies additional criteria as follows: 
• IPS: a subset of IR, called the set of 
singleton properties of I, 
• IS_EXT (ps): is a function assigning to each 
singleton property a pair of entities from 
IR. 
New RDF Interpretation I : 
satisfies additional criteria as follows: 
• xs ∈ IPs if 
⟨xs, rdf:SingletonPropertyI⟩ ∈ IEXT (rdf:typeI) 
• IR: a non-empty set of resources, 
alternatively called domain or 
universe of discourse of I. 
• IP: the set of generic properties of I 
• IEXT: a function assigning to each 
property a set of pairs from IR 
where IEXT (p) is called the extension 
of property p 
• IEXT : IP → 2IR X IR 
• IS: a function, mapping URIs from 
V into the union set of IR and IP, 
• IL: a function from the typed 
literals from V into the set of 
resources IR, 
• LV: a subset of IR, called the set of 
literal values. 
IS_EXT : IPS→ IR X IR. 
• xs ∈ IPs if 
⟨xs, xI⟩ ∈ IEXT (rdf:singletonPropertyOfI), 
and x∈IP, IS_EXT (xs) = <s1, s2> 
13
Model-Theoretic Semantics: Example 
IR = {α, β, γ, δ, θ, λ, σ, ϕ} 
IP = {δ, θ, λ, σ, ϕ} 
LV = {1965-11-22, 1977-06-29, 
1986-06-##, 1992-10-##} 
IEXT = θ → {⟨α, β⟩} 
λ → {⟨α, γ⟩} 
σ → {⟨θ, 1965-11-22 ⟩, 
⟨λ, 1986-06-## ⟩} 
φ → {⟨θ, 1977-06-29⟩, 
⟨λ, 1992-10-## ⟩} 
rdf:sp → {⟨θ, δ⟩, ⟨λ, δ⟩} 
δ → {⟨α, β⟩, ⟨α, γ⟩} 
IPS = {θ, λ} 
IS_EXT= θ→⟨α,β⟩ 
λ → ⟨α,γ⟩ 
Example of vocabulary VEX: 
RDF Interpretation of VEX: 
Subject Predicate Object 
BobDylan isMarriedTo Sarah Lownds 
BobDylan isMarriedTo#1 SaraLownds 
isMarriedTo#1 rdf:sp isMarriedTo 
isMarriedTo#1 hasStart 1965-11-22 
isMarriedTo#1 hasEnd 1977-06-29 
BobDylan isMarriedTo CarolynDennis 
BobDylan isMarriedTo#2 CarolynDennis 
isMarriedTo#2 rdf:sp isMarriedTo 
isMarriedTo#2 hasStart 1986-06-## 
isMarriedTo#2 hasEnd 1992-10-## 
IS: 
BobDylan → α 
SaraLownds → β 
CarolynDennis → γ 
isMarriedTo → δ 
isMarriedTo#1 → θ 
isMarriedTo#2 → λ 
hasStart → σ 
hasEnd → φ 
14
Querying Meta Triples Using SPARQL 
Singleton Graph Pattern 
Triple Type Subject Predicate Object 
Instantiating singleton property predicate_i rdf:sp predicate 
Singleton triple subject predicate_i object 
Meta triple predicate_i meta-predicate_j meta-value_j 
Data Query: 
1. Who married whom? 
2. SPARQL query 
SELECT ?person1 ?person2 
WHERE { 
?person1 ?married_sp ?person2 . 
?married_sp rdf:sp :marriedTo . 
} 
Meta Query: 
1. Who married whom and when? 
2. SPARQL query 
SELECT ?person1 ?person2 ?time 
WHERE { 
?person1 ?married_sp ?person2 . 
?married_sp rdf:sp :marriedTo . 
?married_sp :happenedOn ?date . 
} 
15
Use Case: Temporal and Spatial YAGO2S 
16 
FactID in Yago2s 
FactID Subject Predicate Object 
#1 GratefulDead performed TheClosingOfWinterLand 
#2 #1 occursIn SanFrancisco 
#3 #1 occursOn 1978-12-31 
Singleton Property 
Subject Predicate Object 
performed_12345 rdf:singletonPropertyOf performed 
GratefulDead performed_12345 TheClosingOfWinterLand 
performed_12345 occursIn SanFrancisco 
performed_12345 occursOn 1978-12-31
Experiment: BKR with Provenance 
• Five data sets generated from the same seed BKR 
 Singleton Property (SP) 
 Reification (R) 
 PaCE C1 (C1) 
 PaCE C2 (C2) 
 PaCE C3 (C3) 
All datasets are available at http://wiki.knoesis.org/index.php/Singleton_Property 17
Experiment Results 
(A) random-value queries vs. fixed-value queries in msec. 
(B) query length and execution time in msec. 18
Conclusion 
Does the singleton property approach meet these 
3. Scalable, e.g., to LOD 
requirements? 
1. Intuitive, easy to understand 2. Formal semantics defined 
4. Compatible with existing standards 
5. Multiple types of metadata 
19
Further information, please visit 
http://wiki.knoesis.org/index.php/Singleton_Property 
20

Más contenido relacionado

La actualidad más candente

The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
Neo4j
 
Superworkflow of Graph Neural Networks with K8S and Fugue
Superworkflow of Graph Neural Networks with K8S and FugueSuperworkflow of Graph Neural Networks with K8S and Fugue
Superworkflow of Graph Neural Networks with K8S and Fugue
Databricks
 

La actualidad más candente (20)

Traversing Graph Databases with Gremlin
Traversing Graph Databases with GremlinTraversing Graph Databases with Gremlin
Traversing Graph Databases with Gremlin
 
How Expedia’s Entity Graph Powers Global Travel
How Expedia’s Entity Graph Powers Global TravelHow Expedia’s Entity Graph Powers Global Travel
How Expedia’s Entity Graph Powers Global Travel
 
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data ScienceGet Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
Get Started with the Most Advanced Edition Yet of Neo4j Graph Data Science
 
AstraZeneca - Re-imagining the Data Landscape in Compound Synthesis & Management
AstraZeneca - Re-imagining the Data Landscape in Compound Synthesis & ManagementAstraZeneca - Re-imagining the Data Landscape in Compound Synthesis & Management
AstraZeneca - Re-imagining the Data Landscape in Compound Synthesis & Management
 
Introduction to Graph Databases.pdf
Introduction to Graph Databases.pdfIntroduction to Graph Databases.pdf
Introduction to Graph Databases.pdf
 
Neanex - Semantic Construction with Graphs
Neanex - Semantic Construction with GraphsNeanex - Semantic Construction with Graphs
Neanex - Semantic Construction with Graphs
 
Big Data Security in Apache Projects by Gidon Gershinsky
Big Data Security in Apache Projects by Gidon GershinskyBig Data Security in Apache Projects by Gidon Gershinsky
Big Data Security in Apache Projects by Gidon Gershinsky
 
Government GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and MLGovernment GraphSummit: Leveraging Graphs for AI and ML
Government GraphSummit: Leveraging Graphs for AI and ML
 
The Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdfThe Neo4j Data Platform for Today & Tomorrow.pdf
The Neo4j Data Platform for Today & Tomorrow.pdf
 
Superworkflow of Graph Neural Networks with K8S and Fugue
Superworkflow of Graph Neural Networks with K8S and FugueSuperworkflow of Graph Neural Networks with K8S and Fugue
Superworkflow of Graph Neural Networks with K8S and Fugue
 
Graphs for Genealogists
Graphs for GenealogistsGraphs for Genealogists
Graphs for Genealogists
 
Spark SQL Join Improvement at Facebook
Spark SQL Join Improvement at FacebookSpark SQL Join Improvement at Facebook
Spark SQL Join Improvement at Facebook
 
Topological Data Analysis: visual presentation of multidimensional data sets
Topological Data Analysis: visual presentation of multidimensional data setsTopological Data Analysis: visual presentation of multidimensional data sets
Topological Data Analysis: visual presentation of multidimensional data sets
 
Cypher Query Language
Cypher Query Language Cypher Query Language
Cypher Query Language
 
The Data Lake Engine Data Microservices in Spark using Apache Arrow Flight
The Data Lake Engine Data Microservices in Spark using Apache Arrow FlightThe Data Lake Engine Data Microservices in Spark using Apache Arrow Flight
The Data Lake Engine Data Microservices in Spark using Apache Arrow Flight
 
Matlab Script - Loop Control
Matlab Script - Loop ControlMatlab Script - Loop Control
Matlab Script - Loop Control
 
Developer Intro Deck-PowerPoint - Download for Speaker Notes
Developer Intro Deck-PowerPoint - Download for Speaker NotesDeveloper Intro Deck-PowerPoint - Download for Speaker Notes
Developer Intro Deck-PowerPoint - Download for Speaker Notes
 
JSON Array Indexes in MySQL
JSON Array Indexes in MySQLJSON Array Indexes in MySQL
JSON Array Indexes in MySQL
 
Workshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data ScienceWorkshop Tel Aviv - Graph Data Science
Workshop Tel Aviv - Graph Data Science
 
Neo4j Graph Data Science - Webinar
Neo4j Graph Data Science - WebinarNeo4j Graph Data Science - Webinar
Neo4j Graph Data Science - Webinar
 

Destacado

KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
Nishita Jaykumar
 
Kno.e.sis Approach to Impactful Research & Training for Exceptional Careers
Kno.e.sis Approach to Impactful Research & Training for Exceptional CareersKno.e.sis Approach to Impactful Research & Training for Exceptional Careers
Kno.e.sis Approach to Impactful Research & Training for Exceptional Careers
Amit Sheth
 
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Artificial Intelligence Institute at UofSC
 
Smart Data - How you and I will exploit Big Data for personalized digital hea...
Smart Data - How you and I will exploit Big Data for personalized digital hea...Smart Data - How you and I will exploit Big Data for personalized digital hea...
Smart Data - How you and I will exploit Big Data for personalized digital hea...
Amit Sheth
 
iExplore: A provenance-based application for exploring biomedical knowledge
iExplore: A provenance-based application for exploring biomedical knowledgeiExplore: A provenance-based application for exploring biomedical knowledge
iExplore: A provenance-based application for exploring biomedical knowledge
Vinh Nguyen
 
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
Nishita Jaykumar
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
Tomek Pluskiewicz
 

Destacado (16)

The knowledge-driven exploration of integrated biomedical knowledge sources f...
The knowledge-driven exploration of integrated biomedical knowledge sources f...The knowledge-driven exploration of integrated biomedical knowledge sources f...
The knowledge-driven exploration of integrated biomedical knowledge sources f...
 
KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
KnowledgeWiki: An OpenSource Tool for Creating Community-Curated Vocabulary, ...
 
2015 Kno.e.sis Center Annual Review
2015 Kno.e.sis Center Annual Review2015 Kno.e.sis Center Annual Review
2015 Kno.e.sis Center Annual Review
 
Web and Complex Systems Lab @ Kno.e.sis
Web and Complex Systems Lab @ Kno.e.sisWeb and Complex Systems Lab @ Kno.e.sis
Web and Complex Systems Lab @ Kno.e.sis
 
Trust Management: A Tutorial
Trust Management: A TutorialTrust Management: A Tutorial
Trust Management: A Tutorial
 
Kno.e.sis Approach to Impactful Research & Training for Exceptional Careers
Kno.e.sis Approach to Impactful Research & Training for Exceptional CareersKno.e.sis Approach to Impactful Research & Training for Exceptional Careers
Kno.e.sis Approach to Impactful Research & Training for Exceptional Careers
 
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
Data Processing and Semantics for Advanced Internet of Things (IoT) Applicati...
 
Smart Data - How you and I will exploit Big Data for personalized digital hea...
Smart Data - How you and I will exploit Big Data for personalized digital hea...Smart Data - How you and I will exploit Big Data for personalized digital hea...
Smart Data - How you and I will exploit Big Data for personalized digital hea...
 
Introduction to dotNetRDF
Introduction to dotNetRDFIntroduction to dotNetRDF
Introduction to dotNetRDF
 
iExplore: A provenance-based application for exploring biomedical knowledge
iExplore: A provenance-based application for exploring biomedical knowledgeiExplore: A provenance-based application for exploring biomedical knowledge
iExplore: A provenance-based application for exploring biomedical knowledge
 
Determining the intrinsic quality of a summary (for Automatic Summarization E...
Determining the intrinsic quality of a summary (for Automatic Summarization E...Determining the intrinsic quality of a summary (for Automatic Summarization E...
Determining the intrinsic quality of a summary (for Automatic Summarization E...
 
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
ResQu: A Framework for Automatic Evaluation of Knowledge-Driven Automatic Sum...
 
Depression slides.pptx
Depression slides.pptxDepression slides.pptx
Depression slides.pptx
 
Fody - code weaving made fun
Fody - code weaving made funFody - code weaving made fun
Fody - code weaving made fun
 
Why Semantic Knowledge Graphs matter
Why Semantic Knowledge Graphs matterWhy Semantic Knowledge Graphs matter
Why Semantic Knowledge Graphs matter
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 

Similar a Don’t like RDF Reification? Making Statements about Statements Using Singleton Property

Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
Artificial Intelligence Institute at UofSC
 
Leveraging Linked Data to Infer Semantic Relations within Structured Sources
Leveraging Linked Data to Infer Semantic Relations within Structured SourcesLeveraging Linked Data to Infer Semantic Relations within Structured Sources
Leveraging Linked Data to Infer Semantic Relations within Structured Sources
Mohsen Taheriyan
 
RDA: Are We There Yet? Carterette Webinar S
RDA: Are We There Yet? Carterette Webinar SRDA: Are We There Yet? Carterette Webinar S
RDA: Are We There Yet? Carterette Webinar S
Emily Nimsakont
 
MULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
MULDER: Querying the Linked Data Web by Bridging RDF Molecule TemplatesMULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
MULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
Kemele M. Endris
 

Similar a Don’t like RDF Reification? Making Statements about Statements Using Singleton Property (17)

Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
Semantic Web Foundations for Representing, Reasoning, and Traversing Contextu...
 
Contextualized Knowledge Graph from two perspectives: Semantic Web and Graph...
Contextualized Knowledge Graphfrom two perspectives: Semantic Web and Graph...Contextualized Knowledge Graphfrom two perspectives: Semantic Web and Graph...
Contextualized Knowledge Graph from two perspectives: Semantic Web and Graph...
 
Linked data experiments at the National Library of Scotland / Alexandra De Pr...
Linked data experiments at the National Library of Scotland / Alexandra De Pr...Linked data experiments at the National Library of Scotland / Alexandra De Pr...
Linked data experiments at the National Library of Scotland / Alexandra De Pr...
 
Radically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the WebRadically Open Cultural Heritage Data on the Web
Radically Open Cultural Heritage Data on the Web
 
RDF and SPARQL
RDF and SPARQLRDF and SPARQL
RDF and SPARQL
 
Leveraging Linked Data to Infer Semantic Relations within Structured Sources
Leveraging Linked Data to Infer Semantic Relations within Structured SourcesLeveraging Linked Data to Infer Semantic Relations within Structured Sources
Leveraging Linked Data to Infer Semantic Relations within Structured Sources
 
NCompass Live: RDA: Are We There Yet?
NCompass Live: RDA: Are We There Yet?NCompass Live: RDA: Are We There Yet?
NCompass Live: RDA: Are We There Yet?
 
RDA: Are We There Yet? Carterette Webinar S
RDA: Are We There Yet? Carterette Webinar SRDA: Are We There Yet? Carterette Webinar S
RDA: Are We There Yet? Carterette Webinar S
 
Creating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDFCreating Web APIs with JSON-LD and RDF
Creating Web APIs with JSON-LD and RDF
 
Linked Open Data - Seminar 25.04.12
Linked Open Data - Seminar 25.04.12Linked Open Data - Seminar 25.04.12
Linked Open Data - Seminar 25.04.12
 
Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2Publishing and Using Linked Open Data - Day 2
Publishing and Using Linked Open Data - Day 2
 
Programming with LOD
Programming with LODProgramming with LOD
Programming with LOD
 
The Internet Is Your New Database: An Introduction To The Semantic Web
The Internet Is Your New Database: An Introduction To The Semantic WebThe Internet Is Your New Database: An Introduction To The Semantic Web
The Internet Is Your New Database: An Introduction To The Semantic Web
 
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
 
Publishing Linked Open Usable Data
Publishing Linked Open Usable DataPublishing Linked Open Usable Data
Publishing Linked Open Usable Data
 
Using rules To Find Serendipitous Connections in Linked Open Data
Using rules To Find Serendipitous Connections in Linked Open DataUsing rules To Find Serendipitous Connections in Linked Open Data
Using rules To Find Serendipitous Connections in Linked Open Data
 
MULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
MULDER: Querying the Linked Data Web by Bridging RDF Molecule TemplatesMULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
MULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 

Don’t like RDF Reification? Making Statements about Statements Using Singleton Property

  • 1. Don’t like RDF Reification? Making Statements about Statements Using Singleton Property Vinh Nguyen Kno.e.sis Wright State University Olivier Bodenreider National Library of Medicine National Institute of Health Amit Sheth Kno.e.sis Wright State University WWW 2014, Seoul
  • 2. Linked Open Data • > 70% Metadata • Relation Extraction from unstructured text (PubMed, Wiki) • Evidences • Judgement 2
  • 3. Motivation Scenario Starts Ends 1965-11-22 1977-06-29 1986-06-## 1992-10-## Facts: Meta Queries: Query type Sample query Provenance P1. Where is this fact from? P2. When was it created? P3. Who created this fact? Time T1. When did this fact occur? T2. What is the time span of this fact? T3. Which events happened in the same year? Location L1. What is the location associated with this fact? L2. Which events happened at the same place? Certainty C1. What is the author confidence of this fact? 3 Subject Predicate Object Bob Dylan marriedTo Sarah Lownds Bob Dylan marriedTo Carolyn Dennis
  • 4. Form of Triples: Standard RDF Reification Subject Predicate Object Starts Ends Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 Standard RDF Reification Pros: 1. Intuitive, easy to understand Cons: 1. Takes 3N triples (4N if including Statement typing) to represent a statement => Not scalable 2. No formal semantics defined => Semantics is unclear 3. Discouraged in LOD! Time-aware Facts: 4 Subject Predicate Object #stmt1 type Statement #stmt1 hasSubject BobDylan #stmt1 hasProperty marriedTo #stmt1 hasObject Sara Lownds Bob Dylan marriedTo Sarah Lownds #stmt1 starts 1965-11-22 #stmt1 ends 1977-06-29
  • 5. RDF Reification vs. Singleton Property Time-aware Facts: Subject Predicate Object Starts Ends Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 Standard RDF Reification Subject Predicate Object #stmt1 type Statement #stmt1 hasSubject BobDylan #stmt1 hasProperty marriedTo #stmt1 hasObject Sara Lownds Bob Dylan marriedTo Sarah Lownds #stmt1 starts 1965-11-22 #stmt1 ends 1977-06-29 Singleton Property Subject Predicate Object marriedTo#1 rdf:sp marriedTo BobDylan marriedTo#1 Sarah Lownds marriedTo#1 starts 1965-11-22 marriedTo#1 ends 1977-06-29 5
  • 6. Form of Triples: PaCE Subject Predicate Object Source DateExtracted Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 2009-06-07 Pros: 1. Save ~50% number of triples compared to reification thanks to the repeated subject, predicate, and object. Cons: 1. Not intuitive, hard to understand 2. Limited expressiveness Provenance-aware Facts: 6 Provenance-aware Context Entity Subject Predicate Object BobDylan_wp rdf:type Bob Dylan SaraLownds_wp rdf:type Sara Lownds BobDylan_wp marriedTo SaraLownds_wp BobDylan_wp hasSource wiki:Bob_Dylan BobDylan_wp hasDateExt 2009-06-07 Satya S. Sahoo, Olivier Bodenreider, Pascal Hitzler, Amit Sheth, and Krishnaprasad Thirunarayan. 2010. Provenance context entity (PaCE): scalable provenance tracking for scientific RDF data. In Proceedings of the 22nd international conference on Scientific and statistical database management (SSDBM'10),
  • 7. Facts and Provenance: Subject Predicate Object Source DateExtracted Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 2009-06-07 Provenance-aware Context Entity Subject Predicate Object BobDylan_wp rdf:type Bob Dylan SaraLownds_wp rdf:type Sara Lownds BobDylan_wp marriedTo SaraLownds_wp BobDylan_wp hasSource wiki:Bob_Dylan BobDylan_wp hasDateExt 2009-06-07 7 PaCE vs. Singleton Property Singleton Property Subject Predicate Object marriedTo#1 rdf:sp marriedTo BobDylan marriedTo#1 Sarah Lownds marriedTo#1 hasSource wp:Bob_Dylan marriedTo#1 hasDateExt 2009-06-07
  • 8. Form of Quadruples: Named Graph Subject Predicate Object Starts Ends Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 Named Graph Subject Predicate Object NG Bob Dylan marriedTo Sarah Lownds ng_1 ng_1 starts 1965-11-22 Prov_graph ng_2 ends 1977-06-29 Prov_graph Pros: 1. Intuitive --creating # named graphs for # sources 2. Attach metadata for a set of triples 3. SPARQL supported Cons : 1. Defined for provenance only 2. Ambiguous semantics while associating different types of metadata at triple level Time-aware Facts: 8 * Carroll, Jeremy J., et al. "Named graphs, provenance and trust." Proceedings of the 14th international conference on World Wide Web. ACM, 2005.
  • 9. Named Graph vs. Singleton Property Time-aware Facts: Subject Predicate Object Starts Ends Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29 Named Graph Subject Predicate Object NG Bob Dylan marriedTo Sarah Lownds ng_1 ng_1 starts 1965-11-22 Prov_graph ng_2 ends 1977-06-29 Prov_graph Singleton Property Subject Predicate Object marriedTo#1 rdf:sp marriedTo Bob Dylan marriedTo#1 Sarah Lownds marriedTo#1 starts 1965-11-22 marriedTo#1 ends 1977-06-29 9
  • 10. Facts and Temporal Information: RDF+: Form of Quintuples: RDF+ Subject Predicate Object Meta Property Meta value Bob Dylan marriedTo Sarah Lownds starts 1965-11-22 Bob Dylan marriedTo Sarah Lownds ends 1977-06-29 Cons 1. The r:epresentation is not in the form of RDF. Statement identifiers are used internally. Require the mappings from RDF to RDF+ and vice versa. 2. The SPARQL query syntax and semantics need to be extended to support RDF+ * Dividino, Renata, et al. "Querying for provenance, trust, uncertainty and other meta knowledge in RDF." Web Semantics: Science, Services and Agents on the World Wide Web 7.3 (2009): 204-219. 10 Subject Predicate Object Starts Ends Bob Dylan marriedTo Sarah Lownds 1965-11-22 1977-06-29
  • 11. Overall Goal A mechanism to make statements about statements should meet these requirements: 1. Intuitive, easy to understand 2. Formal semantics defined 3. Scalable, e.g., to LOD 4. Compatible with existing standards 5. Multiple types of metadata 11
  • 12. Generic Property vs. Singleton Property Facts and Provenance: Subject Predicate Object Source MarriageDate Bob Dylan marriedTo Sarah Lownds wikipage:Bob_Dylan 1965-11-22 BarackObama marriedTo MichelleObama wikipage:Barack_Obama 1992-10-03 Generic Property: 1. marriedTo is an RDF property instanceOf 2. marriedTo => { (Bob Dylan, Sarah Dylan), (Barack Obama, Michelle Obama), … … } 3. Any assertion to marriedTo is applicable to all pairs of entities! Singleton Property: 1. marriedTo#1, marriedTo#2 are RDF property 2. Different property instances: marriedTo#1, marriedTo#2, … marriedTo#n 3. Any assertion to marriedTo#1/marriedTo#2/…/mar riedTo#n is applicable to only ONE pair <= KEY 12
  • 13. Model-Theoretic Semantics Original* Simple Interpretation I : • Given a vocabulary V, New simple Interpretation I : satisfies additional criteria as follows: • IPS: a subset of IR, called the set of singleton properties of I, • IS_EXT (ps): is a function assigning to each singleton property a pair of entities from IR. New RDF Interpretation I : satisfies additional criteria as follows: • xs ∈ IPs if ⟨xs, rdf:SingletonPropertyI⟩ ∈ IEXT (rdf:typeI) • IR: a non-empty set of resources, alternatively called domain or universe of discourse of I. • IP: the set of generic properties of I • IEXT: a function assigning to each property a set of pairs from IR where IEXT (p) is called the extension of property p • IEXT : IP → 2IR X IR • IS: a function, mapping URIs from V into the union set of IR and IP, • IL: a function from the typed literals from V into the set of resources IR, • LV: a subset of IR, called the set of literal values. IS_EXT : IPS→ IR X IR. • xs ∈ IPs if ⟨xs, xI⟩ ∈ IEXT (rdf:singletonPropertyOfI), and x∈IP, IS_EXT (xs) = <s1, s2> 13
  • 14. Model-Theoretic Semantics: Example IR = {α, β, γ, δ, θ, λ, σ, ϕ} IP = {δ, θ, λ, σ, ϕ} LV = {1965-11-22, 1977-06-29, 1986-06-##, 1992-10-##} IEXT = θ → {⟨α, β⟩} λ → {⟨α, γ⟩} σ → {⟨θ, 1965-11-22 ⟩, ⟨λ, 1986-06-## ⟩} φ → {⟨θ, 1977-06-29⟩, ⟨λ, 1992-10-## ⟩} rdf:sp → {⟨θ, δ⟩, ⟨λ, δ⟩} δ → {⟨α, β⟩, ⟨α, γ⟩} IPS = {θ, λ} IS_EXT= θ→⟨α,β⟩ λ → ⟨α,γ⟩ Example of vocabulary VEX: RDF Interpretation of VEX: Subject Predicate Object BobDylan isMarriedTo Sarah Lownds BobDylan isMarriedTo#1 SaraLownds isMarriedTo#1 rdf:sp isMarriedTo isMarriedTo#1 hasStart 1965-11-22 isMarriedTo#1 hasEnd 1977-06-29 BobDylan isMarriedTo CarolynDennis BobDylan isMarriedTo#2 CarolynDennis isMarriedTo#2 rdf:sp isMarriedTo isMarriedTo#2 hasStart 1986-06-## isMarriedTo#2 hasEnd 1992-10-## IS: BobDylan → α SaraLownds → β CarolynDennis → γ isMarriedTo → δ isMarriedTo#1 → θ isMarriedTo#2 → λ hasStart → σ hasEnd → φ 14
  • 15. Querying Meta Triples Using SPARQL Singleton Graph Pattern Triple Type Subject Predicate Object Instantiating singleton property predicate_i rdf:sp predicate Singleton triple subject predicate_i object Meta triple predicate_i meta-predicate_j meta-value_j Data Query: 1. Who married whom? 2. SPARQL query SELECT ?person1 ?person2 WHERE { ?person1 ?married_sp ?person2 . ?married_sp rdf:sp :marriedTo . } Meta Query: 1. Who married whom and when? 2. SPARQL query SELECT ?person1 ?person2 ?time WHERE { ?person1 ?married_sp ?person2 . ?married_sp rdf:sp :marriedTo . ?married_sp :happenedOn ?date . } 15
  • 16. Use Case: Temporal and Spatial YAGO2S 16 FactID in Yago2s FactID Subject Predicate Object #1 GratefulDead performed TheClosingOfWinterLand #2 #1 occursIn SanFrancisco #3 #1 occursOn 1978-12-31 Singleton Property Subject Predicate Object performed_12345 rdf:singletonPropertyOf performed GratefulDead performed_12345 TheClosingOfWinterLand performed_12345 occursIn SanFrancisco performed_12345 occursOn 1978-12-31
  • 17. Experiment: BKR with Provenance • Five data sets generated from the same seed BKR  Singleton Property (SP)  Reification (R)  PaCE C1 (C1)  PaCE C2 (C2)  PaCE C3 (C3) All datasets are available at http://wiki.knoesis.org/index.php/Singleton_Property 17
  • 18. Experiment Results (A) random-value queries vs. fixed-value queries in msec. (B) query length and execution time in msec. 18
  • 19. Conclusion Does the singleton property approach meet these 3. Scalable, e.g., to LOD requirements? 1. Intuitive, easy to understand 2. Formal semantics defined 4. Compatible with existing standards 5. Multiple types of metadata 19
  • 20. Further information, please visit http://wiki.knoesis.org/index.php/Singleton_Property 20

Notas del editor

  1. Five datasets