Post on 05-Dec-2014
description
transcript
ELIS – Mul*media Lab
ReasonedSPARQL
Sam Coppens, Miel Vander Sande, Ruben Verborgh,Erik Mannens, Rik Van de Walle,
SPARQL
JACK BAUER INTERROGATION TECHNIQUEWhen asking politely just isn’t enough
Reasoning on distributed data
ReasonedSPARQL
ELIS – Mul*media Lab
Goal: Reasoning as a Service
Smart SPARQL agentsoutsource reasoning to appropriate infrastructure (client-side, server-side, or third party)
ClientServer /
Data Provider
Reasoning OWL QLOWL RL / EL
ELIS – Mul*media Lab
Smart SPARQL Agent
Goal: Reasoning as a Service
ClientServer /
Data Provider
Reasoning
Reasoning Grid
Goal: Reasoning as a Service
Smart SPARQL agentsoutsource reasoning to appropriate infrastructure (client-side, server-side, or third party)
ELIS – Mul*media Lab
Distributed Reasoning (LarKC)
Identification Selection Transformation Reasoning Decision
REASON <http://test.com/rules.n3>OVER { ?s ?p ?o}WHERE { ?s ?p ?o}
Solution: ‘Reason’ Query Form
ELIS – Mul*media Lab
SPARQL 1.1: Support for entailment regimes (RDFS, OWL) by means of BGP matching
Data provider decides inference rules support
With reasoned SPARQL, the data consumer choses the inference rules for reasoning
ELIS – Mul*media Lab
Nested Queries
SELECT ?childWHERE {
:Jenna :child ?child .{
REASON {{ ?x :parent ?y } => { ?y :child ?x } .
}OVER {
?s :parent ?o .}WHERE {
?s a :Person; :parent ?o .}
}}
ELIS – Mul*media Lab
•Workload Balancing
REASON {{ ?x foaf:knows ?y } => { ?y foaf:knows ?x } .
}OVER {
:Jenna foaf:knows ?person .}WHERE{
{SERVICE <http://example.org/sparql> {
:Jenna foaf:knows ?person . } } UNION {SERVICE <http://example2.org/sparql> {
:Jenna foaf:knows ?person . } }
}
ELIS – Mul*media Lab
Pitfalls
Incomplete reasoning / errorslike SPARQL
Server-side vs. client-side reasoningprobably OWL QL reasoning server-side BGP matchingOWL RL and EL will happen client-side
ELIS – Mul*media Lab
Distributed reasoning on top of distributed querying
Reasoning as a service
Use Cases
End userDistributed Reasoning
Framework
Endpoints
Endpoints
Endpoints
Client External Reasoner Endpoint
ELIS – Mul*media Lab
Reasoning on distributed data
SPARQL
ReasonedSPARQL
ELIS – Mul*media Lab
ELIS – Mul*media Lab
Sam Coppens, Miel Vander Sande, Ruben Verborgh,Erik Mannens, Rik Van de Walle,
ReasonedSPARQL
Using SPARQL agents to obtain answersthrough distribution and reasoning