Tutorials
Here is a list of step-by-step tutorials covering several features of SPARQL Anything:
- A Gentle introduction to SPARQL Anything: this tutorial presents the Facade-X model and shows basic transformations of JSON, CSV and XML. Video
- SPARQL Anything showcase: open data from the Tate Gallery: this tutorial covers formats such as CSV and JSON and features such as the function
fx:anySlot
and the chaining of multipleSERVICE
clauses. It is based on the SPARQL Anything CLI. - Construct a KG of artists and artworks of the IMMA museum website: This showcase demonstrates the use of SPARQL Anything for constructing a Knowledge Graph from data encoded in HTML pages. Apart from examples with the HTML input format, it covers features such as parametrised queries and the use of SPARQL result set files as parameters. It is based on the SPARQL Anything CLI.
- Construct a KG from the Propbank dataset: An advanced example of transformation of XML data, including querying a Zip archive.
- Construct a KG from YAML annotations in Markdown file headers: A short but complex case demonstrating how to chain multiple transformations starting from a set of Markdown files, queried to extract the YAML header, which is in turn queried to derive the annotations, that are in turn projected into a KG!
- Populate a Music Ontology from MusicXML files: An advanced application of SPARQL Anything to query MusicXML files and derive note sequences, computing n-grams, and populating a Music Notation ontology.
- Querying a Relational Database: this tutorials shows you how to query a relational database by using SPARQL Anything (even if the tool does not support yet this feature natively).