Class AbstractPowsyblTripleStore

    • Constructor Detail

      • AbstractPowsyblTripleStore

        public AbstractPowsyblTripleStore()
    • Method Detail

      • createRdfId

        protected static String createRdfId()
      • defineQueryPrefix

        public void defineQueryPrefix​(String prefix,
                                      String cimNamespace)
        Description copied from interface: TripleStore
        Define namespace prefix bindings that will be used in the text of queries. Example: tripleStore.defineQueryPrefix("foaf", "http://xmlns.com/foaf/0.1/");
        Specified by:
        defineQueryPrefix in interface TripleStore
        Parameters:
        prefix - the prefix to be used in the text of queries as a replacement for the namespace
        cimNamespace - the URL of the namespace
      • print

        public void print​(Consumer<String> liner)
        Description copied from interface: TripleStore
        Print a summary of the contents of the Triplestore. Typically a list of contexts and its size (number of statements).
        Specified by:
        print in interface TripleStore
        Parameters:
        liner - a function that accepts strings (the lines of the summary report)
      • namespaceForContexts

        protected static String namespaceForContexts()
      • rdfDescriptionClass

        protected static String rdfDescriptionClass()
      • adjustedQuery

        protected String adjustedQuery​(String q)