Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data...

28
Semantic Web Big Data, some Knowledge, a bit of Reasoning Marie-Christine Rousset Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F Semantic Web June 16, 2017 1 / 28

Transcript of Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data...

Page 1: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Semantic WebBig Data, some Knowledge, a bit of Reasoning

Marie-Christine Rousset

Univ. Grenoble-Alpes & Institut Universitaire de France

Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi andF. Ulliana

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 1 / 28

Page 2: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Semantic Web

Semantic metadata on top of Web data

Web data : resources (Web pages, XML documents, music or moviefiles, PDF, etc.) identified by URLs .

URLs : URIs (Uniform Resource Identifiers) that are addresses ofresources on the Web

Semantic metadata: statements about Web data expressed interms of a set of relations provided by an ontology.

Ontology : a formal specification of an application domain: a set ofconstraints holding between the relations forming a vocabulary.

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 2 / 28

Page 3: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Semantic Web standards

a data model for declaring metadata and simple ontologies in RDFtriplestores

two namespaces defining a set of basic generic properties and classes:I rdf:type, rdf:property, rdf:Statement, rdf:subject, rdf:object,...I rdfs:Class, rdfs:Literal, rdfs:subClassOf, rdfs:subPropertyOf...

a triple notation : 〈 subject, property, object〉

a model and notation for specifying class constructors and richerontological constraints

a namespace denoting a set of additional meta-properties to expressconstraints on classes or properties

I owl:disjointWith, owl:FunctionalProperty, owl:TransitiveProperty,...

a RDF notation for specifying (most of) these constraintsI 〈 friend, rdf:type, owl:TransitiveProperty〉

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 3 / 28

Page 4: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Linked Data: the Semantic Web published in RDF

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 4 / 28

Page 5: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

An RDF dataset : a set of triples (called an RDF graph)

@prefix rdf: 〈 http://www.w3.org/1999/02/22-rdf-syntax-ns# 〉 .

@prefix rdfs: 〈 http://www.w3.org/2000/01/rdf-schema#〉 .

@prefix owl: 〈http://www.w3.org/2002/07/owl#〉 .

@prefix wikipedia: 〈https://fr.wikipedia.org/wiki/〉 .

wikipedia:Marie Curie hasName "Marie Curie" .

wikipedia:Marie Curie rdf:type Chemist .

wikipedia:Marie Curie hasWonPrize NobelPrize.

wikipedia:Marie Curie bornIn Europe.

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany.

Germany partOf Europe.

Chemist rdfs:subClassOf Scientist .

Physicist rdfs:subClassOf Scientist .

owl:ObjectPropertyChain (birthPlace Located partOf) rdfs:subPropertyOf bornIn.

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 5 / 28

Page 6: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

An RDF dataset : a set of triples (called an RDF graph)

@prefix rdf: 〈 http://www.w3.org/1999/02/22-rdf-syntax-ns# 〉 .

@prefix rdfs: 〈 http://www.w3.org/2000/01/rdf-schema#〉 .

@prefix owl: 〈http://www.w3.org/2002/07/owl#〉 .

@prefix wikipedia: 〈https://fr.wikipedia.org/wiki/〉 .

wikipedia:Marie Curie hasName "Marie Curie" .

wikipedia:Marie Curie rdf:type Chemist .

wikipedia:Marie Curie hasWonPrize NobelPrize.

wikipedia:Marie Curie bornIn Europe.

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany.

Germany partOf Europe.

Chemist rdfs:subClassOf Scientist .

Physicist rdfs:subClassOf Scientist .

owl:ObjectPropertyChain (birthPlace Located partOf) rdfs:subPropertyOf bornIn.

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 6 / 28

Page 7: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

: the standard query language for RDF

SPARQL conjunctive queries

The core query language of SPARQL is: Basic Graph Pattern (BGP)queries, i.e. conjunctive or SELECT-PROJECT-JOIN queries.

Example of a SPARQL conjunctive query

Return the names of scientists born in Europe who received a Nobel PrizeSELECT ?n WHERE { ?p rdf:type Scientist . ?p hasWon NobelPrize .

?p bornIn Europe . ?p hasName ?n . }

q(?n):- ?p rdf:type Scientist, ?p hasWon NobelPrize, ?p bornIn Europe, ?p

hasName ?n.

A SPARQL query can search over the data and the schema

Return the properties having Europe as value

q’(?prop):- ?s ?prop Europe.

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 7 / 28

Page 8: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

SPARQL evaluation over an RDF graph (by example)θ(?prop) is an answer for each substitution θ of the query variables by constants

that maps every query conjunct to a fact.

RDF graph Gwikipedia:Marie Curie hasName "Marie Curie" .

wikipedia:Marie Curie rdf:type Chemist .

wikipedia:Marie Curie hasWonPrize NobelPrize.

wikipedia:Marie Curie bornIn Europe.

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany. Germany partOf Europe.

Chemist rdfs:subClassOf Scientist . Physicist rdfs:subClassOf Scientist .

owl:ObjectPropertyChain (birthPlace Located partOf) rdfs:subPropertyOf bornIn.

q’(?prop):- ?s ?prop Europe.

Result of SPARQL evaluation over G

q’(G)= {bornIn , partOf }

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 8 / 28

Page 9: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

SPARQL evaluation over an RDF graph (by example)

RDF graph Gwikipedia:Marie Curie hasName "Marie Curie" .

wikipedia:Marie Curie rdf:type Chemist.

wikipedia:Marie Curie hasWonPrize NobelPrize.

wikipedia:Marie Curie bornIn Europe.

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany. Germany partOf Europe.

Chemist rdfs:subClassOf Scientist . Physicist rdfs:subClassOf Scientist .

q(?n):?p rdf:type Scientist,?p hasWon NobelPrize,?p bornIn Europe,?p hasName ?n.

Result of standard SPARQL evaluation over G

q(G)= ∅

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 9 / 28

Page 10: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Query answering over RDF graphs requires reasoning

G∞rdfs : RDF facts + inferred facts by RDFS entailment

wikipedia:Marie Curie hasName "Marie Curie" .

wikipedia:Marie Curie rdf:type Chemist.

wikipedia:Marie Curie hasWonPrize NobelPrize.

wikipedia:Marie Curie bornIn Europe.

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany. Germany partOf Europe.

Chemist rdfs:subClassOf Scientist . Physicist rdfs:subClassOf Scientist .

wikipedia:Marie Curie rdf:type Scientist.

wikipedia:Albert Einstein rdf:type Scientist.

owl:ObjectPropertChain (birthPlace Located partOf) rdfs:subPropertyOf bornIn.

q(?n):?p rdf:type Scientist,?p hasWon NobelPrize,?p bornIn Europe,?p hasName ?n

Query answer

q(G∞rdfs)= {”Marie Curie”}

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 10 / 28

Page 11: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Complete query answering may require full reasoning

G∞: RDF facts + inferred facts by RDFS entailment + owl ruleswikipedia:Marie Curie hasName "Marie Curie" .

...

wikipedia:Albert Einstein hasName "Albert Einstein".

wikipedia:Albert Einstein rdf:type Physicist.

wikipedia:Albert Einstein hasWonPrize NobelPrize.

wikipedia:Albert Einstein birthPlace Ulm .

Ulm locatedIn Germany. Germany partOf Europe.

Physicist rdfs:subClassOf Scientist .

wikipedia:Albert Einstein rdf:type Scientist.

owl:ObjectPropertChain (birthPlace Located partOf) rdfs:subPropertyOf bornIn

wikipedia:Albert Einstein bornIn Europe

q(?n):?p rdf:type Scientist,?p hasWon NobelPrize,?p bornIn Europe,?p hasName ?n

Query answer

q(G∞)= {”Marie Curie”, ”Albert Einstein”}

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 11 / 28

Page 12: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Challenges raised by query answering in Linked Data

Scalability

Linked Data cloud today: 9960 datasets, almost 150 billions triples(according to stats.lod2.eu)

Almost no support for reasoning and thus very incomplete answers

⇒ Need for efficient query answering techniques involving some reasoning

Data quality

Incomplete data (missing links, missing type information)

Noisy data (some hub datasets like DBpedia or Yago areautomatically generated)

⇒ Need for robust query answering and information discovery techniques

Remaining of the talk

A (partial) survey of recent works that have (partially) addressed some ofthese challenges using deductive RDF triplestores.

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 12 / 28

Page 13: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Deductive RDF triplestore: RDF dataset + a set of rules

Simple formalism for capturing several types of knowledge

RDFS entailment(?i rdf:type ?s), (?s rdfs:subClassOf ?o) → (?i rdf:type ?o)

(Most of) OWL constraints(?p birthPlace ?b), (?b Located ?c), (?c partOf ?d) → (?p bornIn ?d)

Beyond FOL constraints(?p rdf:type owl:SymmetricProperty) , (?p rdfs:domain ?c) → (?p rdfs:range ?c)

(Complex) mappings(?p1 ina:presenter ?v), (?v ina:title ?t) , (?p2 db:presenter ?t ) → (?p1 owl:sameAs ?p2)

Domain-specific rules (human embryo development)(?x mycf:absence implies ?y), (?x mycf:depends on ?z) → (?z mycf:absence implies ?x)

A Datalog operational semantics to compute G∞= SAT(D,R)

Direct correspondence with a deductive DB using a single relation T

(s p o) ↔ T(s p o)

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 13 / 28

Page 14: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Several instances of this generic framework

My Corporis Fabrica: an ontology-based suite of tools for combiningcomplex anatomical models

Rule-based interoperability between anatomical entities, human bodyfunctions and 3D graphic models� with O. Palombi et al,- “My Corporis Fabrica: an ontology-based tool for reasoning and querying on complexanatomical models.”, Journal of Biomedical Semantics 2014- “My Corporis Fabrica Embryo: An ontology-based 3D spatio-temporal modeling ofhuman embryo development”, Journal of Biomedical Semantics 2015

Module extraction from Semantic Web datasets

Extraction of bounded-size RDF data modules enriched with rules� with F. Ulliana, “Extracting Bounded-level Modules from Deductive RDFTriplestores.”, AAAI 2015

Rule-based Data Linkage

Automatic discovery of same-As and DifferentFrom facts� with M. Al Bakri, M. Atencia and Steffen Lalande, “Inferring same-as facts from LinkedData: an iterative import-by-query approach ”, AAAI 2015, ECAI 2016

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 14 / 28

Page 15: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

My Corporis Fabrica and MyCF Embryo

Rule-based interoperability between anatomical entities, human bodyfunctions and 3D graphic models

⇒ a declarative approach assisting interactive simulation and visualization

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 15 / 28

Page 16: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Module extraction from Semantic Web datasets

Reuse of relevant extracts of big reference Web knowledge bases

⇒ a coherent and modular development of the Semantic Web

Existing works

Well studied for Description LogicsI not applicable to RDF datasets (e.g, DBpedia, Yago)I generally untractable, tractable approximationsI may output large modules: the whole Tbox in the worst case

Little work for RDF databasesI RDF subgraph extraction, traversal viewsI reasoning not considered

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 16 / 28

Page 17: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Our contribution

A novel semantics of modules adapted to deductive RDF datasets

Module signature (p1, . . . , pn)k [a] involving properties, and individualand a bound k for property paths rooted in the specified individual.

〈DM ,RM〉 is a bounded-level module of 〈D,R〉 iff DM and RM areconform to the signature, 〈D,R〉 ` 〈DM ,RM〉, and :

D,RNonRec ` π(a,b) ⇐⇒ DM ,RM ` π(a,b) (1)

DM ,R ` π(a,b) ⇐⇒ DM ,RM ` π(a,b) (2)

for every path of atoms π(a,b) of bounded length in the signature.

Non-recursive rules distinguished from recursive ones to avoid to waste k-parametricity.

Algorithms for module extraction

Module data extraction expressed as a non-recursive Datalog program

Construction of the RM module rules by rule unfolding with abreadth-first strategy

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 17 / 28

Page 18: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Illustrative example

Non recursive rules are needed to compute DM

Recursive rules must be delegated to RM (if they are conform to thesignature)

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 18 / 28

Page 19: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Module succinctness: experiments1 Comparison on MyCF with Traversal Views (applied to the saturared

RDF dataset) and Locality-based extractor (applied to thecorresponding DL ontology)

2 Impact of the properties in the signature: their number, theirinvolvement and their interaction in (recursive) rules

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 19 / 28

Page 20: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Rule-based data linkage

Within a local dataset or accross different datasets

⇒ Our contributions:

Import-by-Query, a backward-chaining algorithm combining localreasoning and external querying to bypass local data incompleteness

ProbFR, a forward-chaining algorithm for reasoning with uncertaindata and rules.

� joint work with M. Al Bakri, M. Atencia, J. David and Steffen Lalande (from INA)� AAAI2015, ECAI2016

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 20 / 28

Page 21: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Reasoning with local data may not be enough

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 21 / 28

Page 22: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Import-by-Query

Build on demand queries to some entry points of Linked Data

The queries should be as instantiated as possible.

Alternates steps of query rewriting and of distant query evaluation

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 22 / 28

Page 23: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Query rewriting by adapting Query-SubQueryA backward-chaining algorithm developed for answering queries in Datalog

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 23 / 28

Page 24: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Experiments

Conducted on a deductive RDF triplestore built with INA

one million RDF facts (provided by INA) : RDF export and extractionof metadata from the INA catalog

35 rules (built with the help of INA experts)

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 24 / 28

Page 25: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Results

External information in Linked Data is useful for disambiguation

Full reasoning on (recursive) rules is usefulI Comparison between Silk and a forward reasoner applied to our rules

Silk only discovered 3% of the sameAs links discovered by our approachI 100% precision by construction (if the rules and the facts are correct)

F checked in practice on a sample of 500 links

Import-by-Query brings a drastic reduction of the imported facts

Import-by-Query requires 3 iterations of rewritings on average

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 25 / 28

Page 26: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

ProbFR: Probabilistic Forward Reasoner

Unifying modeling of any kind of uncertainty as probabilities

noisy data (e.g., due to automatic data extraction from WikiPedia)

pseudo-keys, constraints with exceptions

weighted mappings between vocabularies across datasets

Operational semantics of Probabilistic Datalog

extension of probabilistic databases

each input fact and rule is associated with a symbolic event

an event expression is computed for each inferred fact, thatencapsulates its provenance

the probabilities are computed from the event expressions

ProbFR implemented on top of JENA RETE

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 26 / 28

Page 27: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Linkage between MusicBrainz and DBpedia using ProbFRMusicBrainz: 112 millions triples (12 GB)DBpedia (extract on songs, bands and persons): 73 millions triples20 certain rules, 36 uncertain rules (probabilities from 0.3 to 0.9)

I Runtime performance: less than 2 hours in total (including the loadingtime and the use of SOLR to compute some built-in predicates)

I Impact of using uncertain information:F Precision and recall based on certain rules only

F Precision and recall based on all the rules

F Precision and recall after filtering the inferred facts with a probabilityover a threshold

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 27 / 28

Page 28: Semantic Web - IRISA · Challenges raised by query answering in Linked Data Scalability Linked Data cloud today: 9960 datasets, almost 150 billions triples (according to stats.lod2.eu)

Conclusion

Semantic Web standards, data and applications are there

Linked Data is flourishing due to the simplicity and flexibility of the RDFdata model.

However many challenges remain

Efficient Semantic Web data and knowledge management is stillchallenging.

Novel problems arise to handle at large scale the incomplete anduncertain nature of Web data

Our message:

(Extensions of) Datalog on top of RDF datasets is an interesting angle ofattack for many of these challenges

Marie-Christine Rousset (Univ. Grenoble-Alpes & Institut Universitaire de France Joint work with M. Al Bakri, M. Atencia, J. David, F. Jouanot, S.Lalande, O.Palombi and F. Ulliana)Semantic Web June 16, 2017 28 / 28