Class SPARQLRepositoryInformation


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

    Format:

     @prefix sd:  .
     @prefix fedx: .
    
     <%name%> a sd:Service ;
            fedx:store "SPARQLEndpoint";
            sd:endpoint "%location%"
    
      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 Detail

      • SPARQLRepositoryInformation

        public SPARQLRepositoryInformation​(String name,
                                           String endpoint)
      • SPARQLRepositoryInformation

        public SPARQLRepositoryInformation​(Model graph,
                                           Resource repNode)
    • Method Detail

      • initialize

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

        protected boolean hasAdditionalSettings​(Model graph,
                                                Resource repNode)