SPARQL Endpoints and Web API (SWApi)

Half-Day Tutorial

This website host the final material of the SPARQL Endpoints and Web API (SWapi) Tutorial, held in 3 different versions at ISWC 2020, TheWebConf 2021 and ESWC 2021.

The videos of this tutorial are available on YouTube.

Abstract

The success of Semantic Web technology has boosted the publication of Knowledge Graphs, and several technologies to access them have become available covering different spots in the spectrum of expressivity: from the highly expressive SPARQL to the controlled access of Linked Data APIs, with GraphQL in between. Many of these technologies have reached industry-grade maturity. Finding the trade-offs between them is often difficult in the daily work of developers, interested in quick API deployment and easy data ingestion. In this tutorial, we will cover this in-between technology space, with the main goal of providing strategies and tools for publishing Web APIs that ensure the easy consumption of data coming from SPARQL endpoints. Together with an overview of state-of-art technologies, the tutorial focuses on two novel technologies: SPARQL Transformer, which allows to get a more compact JSON structure for SPARQL results, decreasing the effort required by developers in interfacing JavaScript and Python applications; and grlc, an automatic way of building APIs on top of SPARQL endpoints by sharing queries on collaborative platforms. Moreover, we will present recent developments to combine the two, offering a complete resource for developers and researchers. Hands-on sessions will be proposed to internalize those concepts with practice.

Motivation

A crucial factor in the adoption of the Web of Data consists in the possibility of obtaining access to the published resources. However, this access is not always simple, constrained by languages and templates that are sub-optimal for application development. As a consequence, recent initiatives such as EasierRDF are strongly pushing the proposal of new solutions for making Semantic data on the Web developer friendly.

The goal of this tutorial is to give participants sufficient knowledge for: understanding the landscape of mature, production-ready and industry-grade technological solutions for publishing Web APIs on top of RDF datasets; republishing RDF data through Web API, for increasing the use and adoption of RDF datasets, even outside the Semantic Web community; retrieving data from SPARQL endpoints in a more practical format to be used in small proofs-of-content, living software or interactive notebooks (i.e. Jupyter), minimising the effort for accessing data.

Intended Audience

This tutorial is directed to anyone who works with RDF data and SPARQL, and in particular is interested in providing quick access to the data and/or Web APIs on top of them. We assume that most participants will be familiar with basic Semantic Web technologies (RDF, SPARQL). For the hands-on session, the participants are expected to bring a laptop with a web browser installed.

The tutorial aims to provide them a general know-how and practical information for developing Web APIs on top of SPARQL endpoints.

References

  1. Pasquale Lisena, Albert Meroño-Peñuela, Tobias Kuhn and Raphaël Troncy. Easy Web API Development with SPARQL Transformer. In 18th International Semantic Web Conference (ISWC), Auckland, New Zealand, October 26-30, 2019. - bib
  2. Albert Meroño-Peñuela, Rinke Hoekstra. grlc Makes GitHub Taste Like Linked Data APIs. In The Semantic Web – ESWC 2016 Satellite Events, Heraklion, Crete, Greece, May 29 – June 2, 2016. - bib

Photo credit: Thomas Claveirole