Class FedXRepositoryConfig

java.lang.Object
org.eclipse.rdf4j.repository.config.AbstractRepositoryImplConfig
org.eclipse.rdf4j.federated.repository.FedXRepositoryConfig
All Implemented Interfaces:
RepositoryImplConfig

public class FedXRepositoryConfig extends AbstractRepositoryImplConfig
A RepositoryImplConfig to configure FedX for the use in the RDF4J workbench.

Federation member repositories (e.g. NativeStore or SPARQL endpoints) can be managed in the RDF4J Workbench, and referenced as members in the federation. Alternatively, FedX can manage repositories, please refer to the documentation for data configuration.

Example configuration file:

 # RDF4J configuration template for a FedX Repository

 @prefix rdfs: invalid input: '<'http://www.w3.org/2000/01/rdf-schema#>.
 @prefix rep: invalid input: '<'http://www.openrdf.org/config/repository#>.
 @prefix fedx: invalid input: '<'http://www.fluidops.com/config/fedx#>.

 [] a rep:Repository ;
 rep:repositoryImpl [
   rep:repositoryType "fedx:FedXRepository" ;
   fedx:member [
      fedx:store "ResolvableRepository" ;
      fedx:repositoryName "endpoint1"
   ],
   [
      fedx:store "ResolvableRepository" ;
      fedx:repositoryName "endpoint2"
   ]
   # optionally define data config
   #fedx:fedxConfig "fedxConfig.prop" ;
   fedx:dataConfig "dataConfig.ttl" ;

   # optionally define FedXConfig overrides
   fedx:config [
      fedx:sourceSelectionCacheSpec "maximumSize=0" ;
      fedx:enforceMaxQueryTime 30 ;
   ]
 ];
 rep:repositoryID "fedx" ;
 rdfs:label "FedX Federation" .
 

Note that the location of the fedx config and the data config is relative to the repository's data dir (as managed by the RDF4J repository manager)

Author:
Andreas Schwarte