Façade-X RDF vocabulary

RDF vocabulary to access open-ended, heterogeneus resources.

This document specifies the Façade-X RDF vocabulary.

This document is currently in active development.

Introduction

Namespaces

Prefix Namespace Description
fx http://sparql.xyz/facade-x/ns/ The Façade-X RDF vocabulary: configuration and primitives
xyz http://sparql.xyz/facade-x/data/ The Façade-X RDF vocabulary: namespace for derived data
rdf http://www.w3.org/1999/02/22-rdf-syntax-ns# [rdf-schema]
rdfs http://www.w3.org/2000/01/rdf-schema# [rdf-schema]
xsd http://www.w3.org/2001/XMLSchema# [xmlschema-2]

Issues

Façade-X Vocabulary

The namespace used for the Façade-X Vocabulary is: http://sparql.xyz/facade-x/ns/

Container | Slot | SlotString | SlotNumber | Type | Value | Root

Container

The class of containers

  • IRI: http://sparql.xyz/facade-x/ns/Container
  • Sub Class Of: http://www.w3.org/2000/01/rdf-schema#Class
  • Predicates: ANY rdf:type fx:Slot, rdf:type

Slot

The class of slots

  • IRI: http://sparql.xyz/facade-x/ns/Slot
  • Sub Class Of: rdfs:Property
  • Instances - Domain: http://sparql.xyz/facade-x/ns/Container
  • Instances - Range: http://sparql.xyz/facade-x/ns/Container [OR] http://sparql.xyz/facade-x/ns/Value

SlotNumber

The class of slots in the source data that are numbers

  • IRI: http://sparql.xyz/facade-x/ns/SlotNumber
  • Sub Class Of: http://sparql.xyz/facade-x/ns/Slot [AND] rdfs:ContainerMembershipProperty
  • Instances - Domain: http://sparql.xyz/facade-x/ns/Container
  • Instances - Range: http://sparql.xyz/facade-x/ns/Container [OR] http://sparql.xyz/facade-x/ns/Value
  • Generator: rdf:_[cardinal number]

SlotString

The class of slots in the source data that are strings

  • IRI: http://sparql.xyz/facade-x/ns/SlotString
  • Sub Class Of: http://sparql.xyz/facade-x/ns/Slot
  • Instances - Domain: http://sparql.xyz/facade-x/ns/Container
  • Instances - Range: http://sparql.xyz/facade-x/ns/Container [OR] http://sparql.xyz/facade-x/ns/Value
  • Generator: xyz:[source string]

Type

The class of types in the source data

  • IRI: http://sparql.xyz/facade-x/ns/Type
  • Sub Class Of: rdfs:Class
  • Generator: xyz:[source string]

Value

The class of values in the source data

  • IRI: http://sparql.xyz/facade-x/ns/Value
  • Sub Class Of: rdfs:Literal
  • Generator: xyz:[source string]

Root

The type of the main container. There can only be a single container of type fx:Root.

  • IRI: http://sparql.xyz/facade-x/ns/Root
  • Sub Class Of: rdfs:Class

Named Graphs

In Façade-X, named graphs are used to associate each data source with its container hierarchy. When a resource is processed, each of its data sources is assigned a distinct graph IRI. All triples belonging to that data source — its root container, slots, and values — are placed within the corresponding named graph. This allows multiple data sources to coexist within the same RDF dataset without ambiguity: the graph IRI acts as the identity of the data source, and querying or reasoning over a specific source is simply a matter of selecting its graph. For resources that contain a single data source, a single named graph is produced; for resources such as spreadsheets that contain multiple data sources (e.g. one per sheet), a named graph is produced for each.

Façade-X Vocabulary in OWL Manchester Syntax

The following provides a representation of the Façade-X vocabulary in OWL 2 Manchester Syntax. It is derived directly from the term definitions in the Façade-X Vocabulary section above.

Prefix: fx: <http://sparql.xyz/facade-x/ns/>
Prefix: xyz: <http://sparql.xyz/facade-x/data/>
Prefix: rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
Prefix: rdfs: <http://www.w3.org/2000/01/rdf-schema#>
Prefix: xsd: <http://www.w3.org/2001/XMLSchema#>
Prefix: owl: <http://www.w3.org/2002/07/owl#>

Ontology: <http://sparql.xyz/facade-x/ns/>


## Classes

Class: fx:Container
    Annotations:
        rdfs:label "Container",
        rdfs:comment "The class of containers."
    SubClassOf:
        rdfs:Class
    DisjointWith:
        fx:Slot,
        fx:Value,
        fx:Type

Class: fx:Slot
    Annotations:
        rdfs:label "Slot",
        rdfs:comment "The class of slots. Any instance of fx:Slot is a property
                      with domain fx:Container and range fx:Container or fx:Value."
    SubClassOf:
        rdfs:Property,
        rdfs:domain value fx:Container,
        rdfs:range value (fx:Container or fx:Value)
    DisjointWith:
        fx:Container,
        fx:Value,
        fx:Type

Class: fx:SlotNumber
    Annotations:
        rdfs:label "SlotNumber",
        rdfs:comment "The class of slots whose key is a cardinal number.
                      Any instance of fx:SlotNumber is also an instance of
                      fx:Slot and of rdfs:ContainerMembershipProperty."
    SubClassOf:
        fx:Slot,
        rdfs:ContainerMembershipProperty
    DisjointWith:
        fx:SlotString

Class: fx:SlotString
    Annotations:
        rdfs:label "SlotString",
        rdfs:comment "The class of slots whose key is a string.
                      Any instance of fx:SlotString is also an instance of fx:Slot."
    SubClassOf:
        fx:Slot
    DisjointWith:
        fx:SlotNumber

Class: fx:Type
    Annotations:
        rdfs:label "Type",
        rdfs:comment "The class of types in the source data."
    SubClassOf:
        rdfs:Class
    DisjointWith:
        fx:Container,
        fx:Slot,
        fx:Value

Class: fx:Value
    Annotations:
        rdfs:label "Value",
        rdfs:comment "The class of values in the source data."
    SubClassOf:
        rdfs:Literal
    DisjointWith:
        fx:Container,
        fx:Slot,
        fx:Type

Class: fx:Root
    Annotations:
        rdfs:label "Root",
        rdfs:comment "The type of the main container. There can only be a single container of type fx:Root."
    SubClassOf:
        fx:Container
    DisjointWith:
        fx:Slot,
        fx:Value,
        fx:Type
    

References

[rdf-schema]
RDF Schema 1.1. Dan Brickley; Ramanathan Guha. W3C. 25 February 2014. W3C Recommendation. URL: https://www.w3.org/TR/rdf-schema/
[xmlschema-2]
XML Schema Part 2: Datatypes Second Edition. Paul V. Biron; Ashok Malhotra. W3C. 28 October 2004. W3C Recommendation. URL: https://www.w3.org/TR/xmlschema-2/