Class SparqlQueryModule

    • Constructor Detail

      • SparqlQueryModule

        public SparqlQueryModule​(KBInfo kbinfo)
    • Method Detail

      • fillCache

        public void fillCache​(ACache cache)
        Reads from a SPARQL endpoint and writes the results in a cache
        Specified by:
        fillCache in interface IQueryModule
        Parameters:
        cache - The cache in which the content on the SPARQL endpoint is to be written
      • fillCache

        public void fillCache​(ACache cache,
                              boolean isSparql)
        Reads from a SPARQL endpoint or a file and writes the results in a cache
        Parameters:
        cache - The cache in which the content on the SPARQL endpoint is to be written
        isSparql - True if the endpoint is a remote SPARQL endpoint, else assume that is is a Jena model
      • generateQuery

        protected String generateQuery()