/** Create a graph - always the Jena default graph type */ public static Graph createJenaDefaultGraph() { return Factory.createDefaultGraph() ; }
/** Answer a memory-based Graph. */ public static Graph createDefaultGraph() { return Factory.createGraphMem( ); }
private Graph getRootModel( Assembler a, Resource root, Mode mode ) { Resource r = getUniqueResource( root, JA.rootModel ); return r == null ? Factory.empty() : a.openModel( r, mode ).getGraph(); }
private Graph getRootModel( Assembler a, Resource root, Mode mode ) { Resource r = getUniqueResource( root, JA.rootModel ); return r == null ? Factory.empty() : a.openModel( r, mode ).getGraph(); }
/** * A memory graph with no reification. */ public Graph createDefaultGraph() { return Factory.createDefaultGraph(); }
/** Create a graph that is a Jena memory graph * @see #createDefaultGraph */ public static Graph createGraphMem() { return Factory.createGraphMem() ; }
/** * Creates a memory Graph with no reification. * @return a new memory graph */ public static Graph createMemoryGraph() { return Factory.createDefaultGraph(); }
/** Answer a memory-based Graph. */ public static Graph createDefaultGraph() { return Factory.createGraphMem( ); }
/** * Creates a memory Graph with no reification. * @return a new memory graph */ public static Graph createMemoryGraph() { return Factory.createDefaultGraph(); }
public static Graph readGraph(String uri, int limit) { Graph g = Factory.createGraphMem() ; readUtil(g, uri, limit) ; return g ; }
/** * A memory graph with no reification. */ public Graph createDefaultGraph() { return Factory.createDefaultGraph(); }
/** * Constructor. * @param graph the inference graph which owns this context. */ public BFRuleContext(ForwardRuleInfGraphI graph) { this.graph = graph; env = new BindingStack(); stack = new ArrayList<>(); pending = new ArrayList<>(); pendingCache = Factory.createGraphMem(); }
public PelletInfGraph(final KnowledgeBase kb, final PelletReasoner pellet, final GraphLoader loader) { this(kb, Factory.createDefaultGraph(), pellet, loader); }
/** Answer a fresh Model with the default specification. */ public static Model createDefaultModel() { return new ModelCom( Factory.createGraphMem( ) ); }
public PelletInfGraph(final KnowledgeBase kb, final PelletReasoner pellet, final GraphLoader loader) { this(kb, Factory.createDefaultGraph(), pellet, loader); }
/** Answer a new graph which is the reachable subgraph from <code>node</code> in <code>graph</code> with the terminating condition given by the TripleBoundary passed to the constructor. */ public Graph extract( Node node, Graph graph ) { return extractInto( Factory.createGraphMem(), node, graph ); }
public PelletInfGraph(final KnowledgeBase kb, final PelletReasoner pellet, final GraphLoader loader) { this(kb, Factory.createDefaultGraph(), pellet, loader); }
/** Answer a new graph which is the reachable subgraph from <code>node</code> in <code>graph</code> with the terminating condition given by the TripleBoundary passed to the constructor. */ public Graph extract( Node node, Graph graph ) { return extractInto( Factory.createGraphMem(), node, graph ); }
public void testFactory() { Factory.createDefaultGraph(); } }
/** Answer a fresh Model with the default specification. */ public static Model createDefaultModel() { return new ModelCom( Factory.createGraphMem( ) ); }