Façade-X Overview

A minimalist metamodel for representing heterogeneous data formats in a unified way.

This page provides an overview of the Façade-X specification documents. Façade-X is the abstraction of all the basic data structures used to represent source data formats, combined into a unified model. RDF languages can implement it to provide users with direct access to external, heterogeneous data structures without requiring format-specific transformations.

This is the editor's draft of this document. It changes with every update to the specification sources and is not a stable release. The latest release, version 0.1, is at https://w3c-facade-x.github.io/facade-x-specs/index.html.

This document is currently in active development.

Set of Documents

This document is one of seven Façade-X specification documents produced by the Data Façades Community Group:

  1. Façade-X Overview (this document)
  2. Façade-X Primer
  3. Façade-X Schema vocabulary
  4. Façade-X Engine vocabulary
  5. Façade-X Data Access in SPARQL
  6. Façade-X Concepts and Metamodel Specification
  7. Façade-X Mappings

Overview

Modern data landscapes are inherently heterogeneous: CSV files, JSON documents, spreadsheets, XML, and many other formats each impose their own structural conventions. Façade-X addresses this fragmentation by identifying the minimal set of structural primitives — containers, slots, and values — that are sufficient to faithfully represent any of these formats within a single, coherent model.

The model is intentionally abstract. A container generalises both ordered lists and associative maps; a slot is the allotted place for a value or a nested container, identified either by a cardinal number (a NumberSlot) or by a string key (a StringSlot). This small vocabulary, together with a precisely stated set of logical axioms, constitutes the metamodel from which format-specific RDF mappings are derived.

This repository contains three normative specification documents — the formal metamodel; the RDF vocabulary that realises it under the namespace http://sparql.xyz/facade-x/ns/; and the specification of how Façade-X data is accessed and queried in SPARQL — together with a non-normative Primer that introduces the model informally through worked examples. Readers new to Façade-X should start with the Primer.

Specification Documents

Façade-X Primer

A non-normative, example-driven introduction to Façade-X, intended for developers, implementers, and users. It motivates the model, walks through how common formats (JSON, CSV, and others) map onto containers, slots, and values, explains why the model is shaped the way it is, and shows how to query the resulting RDF with SPARQL. Start here, then move on to the normative documents below.

Façade-X Schema Vocabulary

This document specifies the RDF realisation of the Façade-X metamodel. It defines the vocabulary terms under the fx: namespace (http://sparql.xyz/facade-x/ns/), including:

Façade-X Engine Vocabulary

This document specifies the options used to configure an engine that builds a Façade-X representation, under the fxe: namespace (http://sparql.xyz/facade-x/engine/). It is separate from the Schema vocabulary so that it can be adopted independently and used outside SPARQL. It covers source options (fxe:location, fxe:content, fxe:media-type, …) and mapping options (fxe:root, fxe:namespace, fxe:blank-nodes, …).

Façade-X Data Access in SPARQL

This document specifies how a Façade-X view of a resource is obtained and queried from within a SPARQL query. It defines the SERVICE clause, how Engine vocabulary options are supplied in a query (in the service IRI or as triples on fx:properties), and the use of rdfs:member for traversing container members.

Façade-X Concepts and Metamodel

This document provides the formal definition of the Façade-X metamodel. It introduces and specifies the following concepts:

Façade-X Format Mappings

The list of format mappings, and the principles they share. Each mapping specifies how resources in one source format (CSV, JSON, XML, …) are represented as Façade-X data sources.