Class ContentTripleSourceSPARQL

  • All Implemented Interfaces:
    Application.Component, Application.Module, TripleSource
    Direct Known Subclasses:
    ContentTripleSourceVirtuoso

    public class ContentTripleSourceSPARQL
    extends ContentTripleSource
    For a SPARQL endpoint, each connection is created as needed by the RDFService, so there is no need to manage connections here. As a result, we have a single RDFService, a RDFServiceFactory that always returns that single RDFService, a single instance of the Dataset and the ModelMaker. Memory-map the small content models, and add the standard decorators.
    • Constructor Detail

      • ContentTripleSourceSPARQL

        public ContentTripleSourceSPARQL()
    • Method Detail

      • setEndpointURI

        public void setEndpointURI​(String eUri)
      • setUpdateEndpointURI

        public void setUpdateEndpointURI​(String ueUri)
      • getRDFService

        public RDFService getRDFService()
      • getDataset

        public org.apache.jena.query.Dataset getDataset()
      • getModelMaker

        public org.apache.jena.rdf.model.ModelMaker getModelMaker()
      • shutdown

        public void shutdown​(Application application)
        Description copied from interface: Application.Component
        This should be called only once, and should be the last call on this Component.