Describing Federations

This page explains how to describe data sources (federation members) and their access interfaces using the HeFQUIN Federation Description Vocabulary. These descriptions are used by the HeFQUIN query engine to understand how to access and integrate the data sources that should be made available to a given engine instance.

1. Basic Concepts

2. Interface Types

Use one of the concrete subclasses of fd:Interface to describe how to query the federation member:

3. Key Properties

4. Example Descriptions

SPARQL Endpoint

@prefix fd: <http://www.example.org/se/liu/ida/hefquin/fd#> .
@prefix ex: <http://example.org/> .

ex:dbpediaSPARQL
    a fd:FederationMember;
    fd:interface [
        a fd:SPARQLEndpointInterface ;
        fd:endpointAddress <http://dbpedia.org/sparql>
    ] .

TPF Interface

@prefix fd: <http://www.example.org/se/liu/ida/hefquin/fd#> .
@prefix ex: <http://example.org/> .

ex:dbpediaTPF
    a fd:FederationMember;
    fd:interface [
        a fd:TPFInterface ;
        fd:exampleFragmentAddress <http://fragments.dbpedia.org/2016-04/en>
    ] .

Neo4j Interface

@prefix fd: <http://www.example.org/se/liu/ida/hefquin/fd#> .
@prefix lpg2rdf: <http://w3id.org/hefquin/lpg2rdf#> .
@prefix ex: <http://example.org/> .

ex:neo4jTest
    a fd:FederationMember ;
    fd:interface [
        a fd:BoltInterface ;
        fd:endpointAddress  ;
        fd:mappingConfiguration [
            a lpg2rdf:LPGToRDFConfiguration ;
            # ...
        ]
    ] .