Class SPARQLRepositoryInformation

java.lang.Object
org.eclipse.rdf4j.federated.endpoint.provider.RepositoryInformation
org.eclipse.rdf4j.federated.endpoint.provider.SPARQLRepositoryInformation

public class SPARQLRepositoryInformation extends RepositoryInformation
Class holding information for RDF4J SPARQLRepository initialization.

Format:

 @prefix sd: invalid input: '<'http://www.w3.org/ns/sparql-service-description#> .
 @prefix fedx: invalid input: '<'http://www.fluidops.com/config/fedx#>.

 invalid input: '<'%name%> a sd:Service ;
        fedx:store "SPARQLEndpoint";
        sd:endpoint "%location%"

 invalid input: '<'http://DBpedia> a sd:Service ;
        fedx:store "SPARQLEndpoint";
        sd:endpoint "http://dbpedia.org/sparql".
 
Note: the id is constructed from the name: http://dbpedia.org/ => sparql_dbpedia.org

The following properties can be used to define additional endpoint settings.

 fedx:supportsASKQueries => "true"|"false" (default: true)
 
Author:
Andreas Schwarte
  • Constructor Details

    • SPARQLRepositoryInformation

      public SPARQLRepositoryInformation(String name, String endpoint)
    • SPARQLRepositoryInformation

      public SPARQLRepositoryInformation(Model graph, Resource repNode)
  • Method Details

    • initialize

      protected void initialize(Model graph, Resource repNode)
    • hasAdditionalSettings

      protected boolean hasAdditionalSettings(Model graph, Resource repNode)