Querying APIs with SPARQL

dc.contributor.authorMosser, Matthieu
dc.contributor.authorPieressa, Fernando
dc.contributor.authorReutter, Juan L.
dc.contributor.authorSoto, Adrian
dc.contributor.authorVrgoc, Domagoj
dc.date.accessioned2025-01-20T22:00:58Z
dc.date.available2025-01-20T22:00:58Z
dc.date.issued2022
dc.description.abstractAlthough the amount of RDF data has been steadily increasing over the years, the majority of information on the Web is still residing in other formats, and is often not accessible to Semantic Web services. A lot of this data is available through APIs serving JSON documents. In this work we propose a way of extending SPARQL with the option to consume JSON APIs and integrate this information into SPARQL query answers, obtaining a language that combines data from the "traditional" Web to the Semantic Web. Our proposal is based on an extension of the SERVICE operator with the ability to connect to JSON APIs. With the aim of evaluating these queries as efficiently as possible, we show that the main bottleneck is the amount of API requests, and present an algorithm that produces "worst-case optimal" query plans that reduce the number of requests as much as possible. We note that the analysis of this algorithm is studied in terms of an algorithm for evaluating relational queries with access methods with the minimal number of access queries, which is of independent interest. We show the superiority of the worst-case optimal approach in a series of experiments that take existing SPARQL benchmarks, and augment them with the ability to connect to JSON APIs in order to obtain additional information. (C) 2020 Elsevier Ltd. All rights reserved.
dc.fuente.origenWOS
dc.identifier.doi10.1016/j.is.2020.101650
dc.identifier.eissn1873-6076
dc.identifier.issn0306-4379
dc.identifier.urihttps://doi.org/10.1016/j.is.2020.101650
dc.identifier.urihttps://repositorio.uc.cl/handle/11534/93779
dc.identifier.wosidWOS:000740349400006
dc.language.isoen
dc.revistaInformation systems
dc.rightsacceso restringido
dc.subjectSPARQL
dc.subjectSemantic web
dc.subjectSERVICE
dc.subjectJSON
dc.subjectAPI
dc.titleQuerying APIs with SPARQL
dc.typeartículo
dc.volumen105
sipa.indexWOS
sipa.trazabilidadWOS;2025-01-12
Files