SPARQL with property paths on the Web

被引:8
|
作者
Hartig, Olaf [1 ,2 ]
Pirro, Giuseppe [3 ]
机构
[1] Univ Potsdam, Hasso Plattner Inst, Potsdam, Germany
[2] Linkoping Univ, Dept Comp & Informat Sci IDA, Linkoping, Sweden
[3] Italian Natl Res Council ICAR CNR, Arcavacata Di Rende, CS, Italy
关键词
Property paths; Web navigational language; Web safeness; SPARQL; QUERIES; LANGUAGE;
D O I
10.3233/SW-160237
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Linked Data on the Web represents an immense source of knowledge suitable to be automatically processed and queried. In this respect, there are different approaches for Linked Data querying that differ on the degree of centralization adopted. On one hand, the SPARQL query language, originally defined for querying single datasets, has been enhanced with features to query federations of datasets; however, this attempt is not sufficient to cope with the distributed nature of data sources available as Linked Data. On the other hand, extensions or variations of SPARQL aim to find trade-offs between centralized and fully distributed querying. The idea is to partially move the computational load from the servers to the clients. Despite the variety and the relative merits of these approaches, as of today, there is no standard language for querying Linked Data on theWeb. A specific requirement for such a language to capture the distributed, graph-like nature of Linked Data sources on the Web is a support of graph navigation. Recently, SPARQL has been extended with a navigational feature called property paths (PPs). However, the semantics of SPARQL restricts the scope of navigation via PPs to single RDF graphs. This restriction limits the applicability of PPs for querying distributed Linked Data sources on the Web. To fill this gap, in this paper we provide formal foundations for evaluating PPs on the Web, thus contributing to the definition of a query language for Linked Data. We first introduce a family of reachability-based query semantics for PPs that distinguish between navigation on the Web and navigation at the data level. Thereafter, we consider another, alternative query semantics that couples Web graph navigation and data level navigation; we call it context-based semantics. Given these semantics, we find that for some PP-based SPARQL queries a complete evaluation on the Web is not possible. To study this phenomenon we introduce a notion of Web-safeness of queries, and prove a decidable syntactic property that enables systems to identify queries that areWeb-safe. In addition to establishing these formal foundations, we conducted an experimental comparison of the context-based semantics and a reachability- based semantics. Our experiments show that when evaluating a PP-based query under the context-based semantics one experiences a significantly smaller number of dereferencing operations, but the computed query result may contain less solutions.
引用
收藏
页码:773 / 795
页数:23
相关论文
共 50 条
  • [1] SPARQL with Property Paths
    Kostylev, Egor V.
    Reutter, Juan L.
    Romero, Miguel
    Vrgoc, Domagoj
    [J]. SEMANTIC WEB - ISWC 2015, PT I, 2015, 9366 : 3 - 18
  • [2] A Context-Based Semantics for SPARQL Property Paths Over the Web
    Hartig, Olaf
    Pirro, Giuseppe
    [J]. SEMANTIC WEB: LATEST ADVANCES AND NEW DOMAINS, ESWC 2015, 2015, 9088 : 71 - 87
  • [3] Query Planning for Evaluating SPARQL Property Paths
    Yakovets, Nikolay
    Godfrey, Parke
    Gryz, Jarek
    [J]. SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1875 - 1889
  • [4] The Complexity of Regular Expressions and Property Paths in SPARQL
    Losemann, Katja
    Martens, Wim
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2013, 38 (04):
  • [5] Extended Property Paths: Writing More SPARQL Queries in a Succinct Way
    Fionda, Valeria
    Pirro, Giuseppe
    Consens, Mariano P.
    [J]. PROCEEDINGS OF THE TWENTY-NINTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2015, : 102 - 108
  • [6] Processing SPARQL Property Path Queries Online with Web Preemption
    Aimonier-Davat, Julien
    Skaf-Molli, Hala
    Molli, Pascal
    [J]. SEMANTIC WEB, ESWC 2021, 2021, 12731 : 57 - 72
  • [7] Querying the web with SPARQL
    Parsia, Bijan
    [J]. REASONING WEB, 2006, 4126 : 53 - 67
  • [8] SPARQL: A Gateway to Open Data on the Web?
    Vandenbussche, Pierre-Yves
    Hogan, Aidan
    Umbrich, Juergen
    Aranda, Carlos Buil
    [J]. ERCIM NEWS, 2014, (96): : 31 - 31
  • [9] SPARQL Endpoints and Web API (SWApi)
    Lisena, Pasquale
    Merono-Penuela, Albert
    [J]. WEB ENGINEERING (ICWE 2022), 2022, 13362 : 501 - 504
  • [10] SPARQL Endpoints and Web API (SWApi)
    Lisena, Pasquale
    Meroño-Peñuela, Albert
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2022, 13362 LNCS : 501 - 504