ISWC 2026 · Half-Day Tutorial

Façade-X: Querying Any Format as a Knowledge Graph

Integrate CSV, JSON, XML, spreadsheets and more using SPARQL alone.

📍 Bari, Italy  ·  📅 25 October 2026  ·  ⏱️ 14:10–18:00
SPARQLKnowledge GraphsData IntegrationHands-on
Façade-X Tutorial · ISWC 2026 · Bari

The afternoon in one line

Any data format → a knowledge graph → SPARQL alone.

  • The Façade-X idea and its foundations
  • Hands-on with SPARQL Anything
  • (coffee break)
  • How it is used in practice, taught, and standardised
Façade-X Tutorial · ISWC 2026 · Bari

Agenda

TimeSessionWho
14:10–14:50Slot 1 · The Problem and the Idea
14:10–14:30Introduction to Façade-XEnrico
14:30–14:50Foundations: towards a theory of façade-based data accessLuigi
14:50–16:10Slot 2 · Hands-on with SPARQL Anything
14:50–15:20Live querying of CSV, JSON and XMLLuigi
15:20–15:45Functions and magic propertiesLuigi
15:45–16:10Guided exercises with real datasetsEnrico
16:10–16:30Break · SPARQL Anything Clinic — bring your dataAll
16:30–18:00Slot 3 · From Practice to Standards
16:30–17:30Industry talks: railway KG · TriplyDB deployment · Public Procurement Data SpaceMathias, Martin, Ivo
17:30–17:40Teaching KG management with SPARQL AnythingRyan
17:40–18:00W3C Data Façades CG: roadmap and discussionEnrico
Façade-X Tutorial · ISWC 2026 · Bari

Presenters

Luigi AsprinoUniversità Telematica San Raffaele, Roma (IT)Co-founder of SPARQL Anything · chair, W3C Data Façades CG
Enrico DagaKMi, The Open University (UK)Co-founder of SPARQL Anything · chair, W3C Data Façades CG
Martin van HarmelenTriply (NL)SPARQL engine design and ELT pipelines on TriplyDB
Mathias Vanden AuweeleMATDATA (BE)Railway infrastructure data and production KGs
Ryan ShawUNC Chapel Hill (US)Teaches KG management with SPARQL Anything
Ivo VelitchkovKvistgaard (DK)Consultant and trainer in semantic technologies
Façade-X Tutorial · ISWC 2026 · Bari

Show of hands ✋

Raise your hand if you…

  1. have heard of Façade-X or SPARQL Anything before today
  2. have tried SPARQL Anything, even once
  3. use it in your work: research, a project, a product, teaching
  4. have built a knowledge graph from CSV, JSON or XML some other way: RML/YARRRML, SPARQL Generate, scripts…

And: what data gives you the most trouble? Keep it for the clinic.

Façade-X Tutorial · ISWC 2026 · Bari

What you will learn today

In practice

  • Query CSV, JSON, XML, Markdown, APIs as a knowledge graph, with SPARQL alone
  • Map any source to your own vocabulary in one CONSTRUCT
  • Join formats in a single query
  • Turn queries into pipelines: templates, parameters, reuse
  • Use SPARQL Anything from the command line and from Python

Beyond practice

  • The Façade-X idea: one minimal model (containers, slots, values) for any format
  • Its theory: what we can know about a query before touching the data
  • How it is deployed in production: railways, procurement, TriplyDB
  • How it is taught in KG courses
  • How it is becoming a standard, and how to join the W3C CG
Façade-X Tutorial · ISWC 2026 · Bari

Before we start

  • SPARQL Anything downloaded, or PySPARQL Anything in Python / Jupyter
  • No local setup? A Google Colab notebook is available
  • Slides, notebooks and exercises: w3c-facade-x.github.io/iswc2026-tutorial
  • Questions any time — and keep your own data for the clinic during the coffee break.
Façade-X Tutorial · ISWC 2026 · Bari

Slot 1 · The Problem and the Idea

Let's start.

w3c-facade-x.github.io/iswc2026-tutorial

Façade-X Tutorial · ISWC 2026 · Bari

Building a knowledge graph: the usual way

CSV
JSON
XML
→
CSV mappingcolumns + ontology
JSON mappingJSONPath + ontology
XML mappingXPath + ontology
→
Knowledge graph

Re-engineering and re-modelling in the same artefact. Why is it a problem?

One mapping per formatNew format, or a format change: rewrite the mapping.
Two skills, one artefactFormat expert and domain expert must edit the same rules.
A second languageRML, R2RML, XSPARQL… next to SPARQL, with their own tools.
Hard to maintainChange the ontology: touch format code. Change the format: touch the ontology.
Façade-X Tutorial · ISWC 2026 · Bari

Building a knowledge graph: with Façade-X

CSV
JSON
XML
→
Façadere-engineering
by the engine
→
RDFone generic shape
→
SPARQL CONSTRUCTre-modelling
by you
→
Knowledge graph
Formats handled onceIn the engine, for everyone. No format code in your mapping.
One skill per stepYou write only the re-modelling: your domain, your ontology.
SPARQL onlyThe language you already know, with all its features.
Easy to maintainChange the source: keep the mapping. Change the ontology: keep the source.

Daga et al., SEMANTiCS 2021 · Asprino et al., ACM TOIT 2023

Façade-X Tutorial · ISWC 2026 · Bari

Most approaches merge them

JSON file
→
One mapping ruleformat access + ontology, together
→
Knowledge graph
mappings:
  artist:
    sources:
      - [artists.json~jsonpath, '$[*]']
    s: ex:$(name)
    po:
      - [a, schema:Person]
      - [schema:name, $(name)]

Same for R2RML, RML, XSPARQL, scripts. New format → new rule. And a second language next to SPARQL.

Façade-X Tutorial · ISWC 2026 · Bari

Façade-X: keep them apart

Any sourceCSV, JSON, XML,
HTML, XLSX, text…
→
Façadegeneric RDF view
done by the engine
→
SPARQL CONSTRUCTto your ontology
done by you
→
Knowledge graph
Re-engineering → the façadeOne generic structure for every format. No format knowledge in your queries.
Re-modelling → SPARQLThe language you already know. Joins, filters and functions come for free.

Daga, Asprino, Mulholland, Gangemi. Facade-X: an opinionated approach to SPARQL Anything. SEMANTiCS 2021.

Façade-X Tutorial · ISWC 2026 · Bari

The meta-model: containers, slots, values

container
fx:root
rdf:_1
container
xyz:name"Turner"
xyz:born"1775"
ContainerA file, a row, an object, an array, an element.
Slot · by numberrdf:_1, rdf:_2… order: rows, array items, children.
Slot · by namexyz:name… keys, headers, attributes.
ValueA literal. A container may also have a type.
Façade-X Tutorial · ISWC 2026 · Bari

Same data, same façade

CSV

name,born
Turner,1775
[] a fx:root ;
  rdf:_1 [
    xyz:name "Turner" ;
    xyz:born "1775" ] .

JSON

[ {"name": "Turner",
   "born": 1775} ]
[] a fx:root ;
  rdf:_1 [
    xyz:name "Turner" ;
    xyz:born "1775"^^xsd:decimal ] .

XML

<artists>
  <artist name="Turner" born="1775"/>
</artists>
[] a fx:root, xyz:artists ;
  rdf:_1 [ a xyz:artist ;
    xyz:name "Turner" ;
    xyz:born "1775" ] .

Three formats, one shape. The highlighted parts are the only differences.

Façade-X Tutorial · ISWC 2026 · Bari

One query, both jobs

CONSTRUCT {
  ?artist a schema:Person ; schema:name ?name ; schema:birthDate ?born .
} WHERE {
  SERVICE <x-sparql-anything:location=artists.csv,csv.headers=true> {
    ?row xyz:name ?name ; xyz:born ?born .
  }
  BIND (fx:entity(ex:, ?name) AS ?artist)
}
artists.csv
⇄
artists.json
⇄
artists.xml*
Change the format: the mapping stays.
Façade-X Tutorial · ISWC 2026 · Bari

Why "opinionated"

MinimalFour notions. Learn one model, not one per format.
SPARQL onlyNo second language. All of SPARQL is available.
Virtual or materialisedQuery sources directly, or save the result as RDF.
The priceSome format details are left out, by design.
Façade-X Tutorial · ISWC 2026 · Bari

Read more

The ideaDaga, E., Asprino, L., Mulholland, P., Gangemi, A.
Facade-X: an opinionated approach to SPARQL Anything.
SEMANTiCS 2021. Studies on the Semantic Web 53: 58–73.Introduces the Façade-X meta-model and SPARQL Anything.
The methodAsprino, L., Daga, E., Gangemi, A., Mulholland, P.
Knowledge graph construction with a façade: a unified method to access heterogeneous data sources on the web.
ACM Transactions on Internet Technology 23(1): 1–31, 2023.Formalises Façade-X and shows its expressive power: demonstrates it can represent any format defined by a context-free grammar.

Next, the theory: Asprino & Daga, Towards a theory of Façade-X data access, TGDK 2026.

Façade-X Tutorial · ISWC 2026 · Bari

What comes next

Luigitheory: what can we know
about a query before
touching the data?
→
Hands-onCSV, JSON, XML,
functions, exercises
→
After the breakproduction, teaching,
W3C CG
Façade-X Tutorial · ISWC 2026 · Bari

Welcome. Organised by the W3C Data Façades Community Group.

~30 s. Keep it flat: what this afternoon is for.

~1 min. Point at the three slots; the break doubles as a clinic.

~1.5 min. Each presenter stands up / waves; one sentence each.

~1.5 min. Keep hands up and lower them step by step: 1 → 2 → 3. Q1 low: spend more time on the idea in the intro. Q3 high: ask one or two people what they use it for. Q4 high: the comparison with mapping languages will land; mention it explicitly.

~1 min. Left column: what you take home and use on Monday. Right column: why it works, where it is used, where it is going.

~1 min. Check who has the tool running; point to Colab fallback.

~1.5 min. Same ontology, three mappings, each mixing blue and orange.

~1.5 min. Point-by-point answer to the previous slide: the four cards line up with the four problems.

~1 min. YARRRML as an example, not as a target. Point at how blue and orange are interleaved in every line.

~1 min. The core message of the tutorial.

~1.5 min. Four notions, nothing format-specific. Walk the diagram left to right.

~1.5 min. Ask: what's different? JSON keeps the number type; XML keeps element names as types.

~1 min. Prefixes omitted. *XML has a different shape (attribute + text), so that pattern needs one small change: honest point.

~45 s. Be honest about the trade-off.

~15 s. Don't read them; they're on the website.

~15 s. Hand over to Luigi.