Class GraphAndContext

    • Field Detail

      • config

        public final org.apache.clerezza.rdf.utils.GraphNode config
    • Constructor Detail

      • GraphAndContext

        public GraphAndContext​(org.apache.clerezza.rdf.utils.GraphNode config)
    • Method Detail

      • getGraphFor

        public org.apache.clerezza.commons.rdf.Graph getGraphFor​(org.apache.clerezza.commons.rdf.IRI resource)
        Specified by:
        getGraphFor in interface ResourceDescriptionProvider
      • runQueries

        protected org.apache.clerezza.commons.rdf.Graph runQueries​(String[] queries)
                                                            throws IOException
        The response of multiple queries are concatenated so that the same b-node ID results in the same node
        Throws:
        IOException
      • getQueries

        protected String[] getQueries​(org.apache.clerezza.commons.rdf.IRI resource)