SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Introduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache JackrabbiIntroduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache Jackrabbi
Jukka Zitting
 
Alfresco Share - Recycle Bin Ideas
Alfresco Share - Recycle Bin IdeasAlfresco Share - Recycle Bin Ideas
Alfresco Share - Recycle Bin Ideas
AlfrescoUE
 
The Semantic Knowledge Graph
The Semantic Knowledge GraphThe Semantic Knowledge Graph
The Semantic Knowledge Graph
Trey Grainger
 

Tendances (20)

Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
 
Securing Your Apache Spark Applications
Securing Your Apache Spark ApplicationsSecuring Your Apache Spark Applications
Securing Your Apache Spark Applications
 
Introduction to Apache Solr
Introduction to Apache SolrIntroduction to Apache Solr
Introduction to Apache Solr
 
Introduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache JackrabbiIntroduction to JCR and Apache Jackrabbi
Introduction to JCR and Apache Jackrabbi
 
Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014
Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014
Scaling SolrCloud to a Large Number of Collections - Fifth Elephant 2014
 
Property graph vs. RDF Triplestore comparison in 2020
Property graph vs. RDF Triplestore comparison in 2020Property graph vs. RDF Triplestore comparison in 2020
Property graph vs. RDF Triplestore comparison in 2020
 
FOOPS!: An Ontology Pitfall Scanner for the FAIR principles
FOOPS!: An Ontology Pitfall Scanner for the FAIR principlesFOOPS!: An Ontology Pitfall Scanner for the FAIR principles
FOOPS!: An Ontology Pitfall Scanner for the FAIR principles
 
Alfresco Share - Recycle Bin Ideas
Alfresco Share - Recycle Bin IdeasAlfresco Share - Recycle Bin Ideas
Alfresco Share - Recycle Bin Ideas
 
elasticsearch_적용 및 활용_정리
elasticsearch_적용 및 활용_정리elasticsearch_적용 및 활용_정리
elasticsearch_적용 및 활용_정리
 
Collaboratively Creating the Knowledge Graph of Life
Collaboratively Creating the Knowledge Graph of LifeCollaboratively Creating the Knowledge Graph of Life
Collaboratively Creating the Knowledge Graph of Life
 
A Practical Introduction to Apache Solr
A Practical Introduction to Apache SolrA Practical Introduction to Apache Solr
A Practical Introduction to Apache Solr
 
2021 JCconf TW Going Reactive with Quarkus Kotlin & Arrow-KT
2021 JCconf TW Going Reactive with Quarkus Kotlin & Arrow-KT2021 JCconf TW Going Reactive with Quarkus Kotlin & Arrow-KT
2021 JCconf TW Going Reactive with Quarkus Kotlin & Arrow-KT
 
DITA Quick Start for Authors - Part I
DITA Quick Start for Authors - Part IDITA Quick Start for Authors - Part I
DITA Quick Start for Authors - Part I
 
Orion Context Broker 20221220
Orion Context Broker 20221220Orion Context Broker 20221220
Orion Context Broker 20221220
 
Large Table Partitioning with PostgreSQL and Django
 Large Table Partitioning with PostgreSQL and Django Large Table Partitioning with PostgreSQL and Django
Large Table Partitioning with PostgreSQL and Django
 
Migrating ETL Workflow to Apache Spark at Scale in Pinterest
Migrating ETL Workflow to Apache Spark at Scale in PinterestMigrating ETL Workflow to Apache Spark at Scale in Pinterest
Migrating ETL Workflow to Apache Spark at Scale in Pinterest
 
Alfresco Security Best Practices Guide
Alfresco Security Best Practices GuideAlfresco Security Best Practices Guide
Alfresco Security Best Practices Guide
 
The Semantic Knowledge Graph
The Semantic Knowledge GraphThe Semantic Knowledge Graph
The Semantic Knowledge Graph
 
On-Ramp to Graph Databases and Amazon Neptune (DAT335) - AWS re:Invent 2018
On-Ramp to Graph Databases and Amazon Neptune (DAT335) - AWS re:Invent 2018On-Ramp to Graph Databases and Amazon Neptune (DAT335) - AWS re:Invent 2018
On-Ramp to Graph Databases and Amazon Neptune (DAT335) - AWS re:Invent 2018
 
GPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge GraphGPT and Graph Data Science to power your Knowledge Graph
GPT and Graph Data Science to power your Knowledge Graph
 

En vedette

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
 

En vedette (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
 

Similaire à 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
 

Similaire à 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
 

Dernier

Dernier (20)

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...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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 future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
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
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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

Notes de l'éditeur

  1. Five datasets