corner: a completeness reasoner for sparql queries over rdf data sources

14
CORNER: A Completeness Reasoner for the Semantic Web 1 Fariz Darari Radityo Eko Prasojo Werner Nutt EPCL Workshop 2014, Dresden 1 to be demonstrated at ESWC 2014 Fariz Darari (EPCL Workshop 2014) CORNER 1 / 14

Upload: fariz-darari

Post on 11-May-2015

407 views

Category:

Internet


0 download

DESCRIPTION

With the increased availability of data on the Semantic Web, the question whether data sources offer data of appropriate quality for a given purpose becomes an issue. With CORNER, we specifically address the data quality aspect of completeness. We demonstrate a formal way to state for which topics an RDF source is complete and how to use such statements to automatically analyze whether a given query will return a complete answer over a source. CORNER supports SPARQL BGP queries and can take RDFS ontologies into account in its analysis. If a query can only be answered completely by a combination of sources, CORNER rewrites the original query into one with SPARQL SERVICE calls, which assigns each query part to a suitable source, and executes it over those sources. CORNER builds upon previous work by Darari et al. and is implemented using standard Semantic Web frameworks.

TRANSCRIPT

Page 1: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

CORNER:A Completeness Reasoner for the Semantic Web1

Fariz Darari

Radityo Eko PrasojoWerner Nutt

EPCL Workshop 2014, Dresden

1to be demonstrated at ESWC 2014Fariz Darari (EPCL Workshop 2014) CORNER 1 / 14

Page 2: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Introduction

Fariz Darari (EPCL Workshop 2014) CORNER 2 / 14

Page 3: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Introduction

Completeness statement about the IMDB data source

Quentin Tarantinowas the character

Mr. Brown

…………………………

……………

http://www.imdb.com/title/tt0105236/fullcredits?ref_=tt_ov_st_sm#cast

Fariz Darari (EPCL Workshop 2014) CORNER 3 / 14

Page 4: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Introduction

Fariz Darari (EPCL Workshop 2014) CORNER 4 / 14

Page 5: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Introduction

Fariz Darari (EPCL Workshop 2014) CORNER 5 / 14

Page 6: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Motivations

Fariz Darari (EPCL Workshop 2014) CORNER 6 / 14

Page 7: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Motivations

Darari et al.2 developed a logical framework forcompleteness reasoning techniques on the SWThe framework enables creation of descriptions as to whichparts of a data source are complete, called completenessstatementsChecks whether a query returns a complete result, calledquery completeness checks, are then possible

2Fariz Darari, Werner Nutt, Giuseppe Pirró, Simon Razniewski:Completeness Statements about RDF Data Sources and Their Use for QueryAnswering. ISWC 2013Fariz Darari (EPCL Workshop 2014) CORNER 7 / 14

Page 8: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Motivations

However, implementation is still missingWe built an implementation of the framework, calledCORNER

A Web-based demo can be accessed athttp://corner.inf.unibz.it/

Implementation reused the Apache Jena (Semantic Weblibrary) and Google Web Toolkit (User Interface library)

Fariz Darari (EPCL Workshop 2014) CORNER 8 / 14

Page 9: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

System Architecture

Fariz Darari (EPCL Workshop 2014) CORNER 9 / 14

Page 10: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

System Architecture

Completeness reasoning steps:From the query Q, CORNER generates an initial graph Gi

Qrepresenting the information needed for answering thequeryEvery completeness statement C is translated into aSPARQL CONSTRUCT query QC

Application of all the queries QC to the graph GiQ results in a

subgraph GaQ of Gi

Q, representing parts of the query forwhich data are completeBy evaluating Q over Ga

Q, CORNER tests whether thecomplete data are sufficient to answer Q

Fariz Darari (EPCL Workshop 2014) CORNER 10 / 14

Page 11: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Demo

DEMO

Fariz Darari (EPCL Workshop 2014) CORNER 11 / 14

Page 12: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

Bonus: CANDy

CANDy = Completeness-Aware Querying and Navigationon the Web of DataGoals:

To develop techniques to leverage meta-information aboutthe completeness of data sources for navigation andqueryingTo reconcile the two paradigms of open- and closed-worldsemantics underlying RDF and SPARQL, respectively

Fariz Darari (EPCL Workshop 2014) CORNER 12 / 14

Page 13: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

CANDy: Techniques for completenessreasoning

Research in progress:Queries and completeness statements with comparisonsQuantitative completeness reasoningCompleteness reasoning in the domain of streamprocessingCompleteness statements mining from the Web

Fariz Darari (EPCL Workshop 2014) CORNER 13 / 14

Page 14: CORNER: A Completeness Reasoner for SPARQL Queries over RDF Data Sources

CANDy: Reconciling the open- and closedworld semantics

Research in progress:Correctness and completeness of non-monotonic queriesUNA vs non-UNA paradigms on completeness reasoning

Fariz Darari (EPCL Workshop 2014) CORNER 14 / 14