Class GraphFactory


  • public class GraphFactory
    extends java.lang.Object
    Ways to make graphs and models
    • Constructor Detail

      • GraphFactory

        public GraphFactory()
    • Method Detail

      • createGraphMem

        public static Graph createGraphMem()
        Create a graph that is a Jena memory graph
        See Also:
        createDefaultGraph()
      • createDefaultGraph

        public static Graph createDefaultGraph()
        Create a graph - ARQ-wide default type
      • createJenaDefaultGraph

        public static Graph createJenaDefaultGraph()
        Create a graph - always the Jena default graph type
      • createPlainGraph

        public static Graph createPlainGraph()
        Graph that uses same-term for find() and contains().
      • sinkGraph

        public static Graph sinkGraph()
      • makeJenaDefaultModel

        public static Model makeJenaDefaultModel()
        Guaranteed call-through to Jena's ModelFactory operation
      • makeDefaultModel

        public static Model makeDefaultModel()
        Create a model over a default graph (ARQ-wide for default graph type)
      • makePlainModel

        public static Model makePlainModel()
        Create a model over a plain graph (small-scale use only)