public class Reasoner extends Object
| Constructor and Description |
|---|
Reasoner(GraknGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
static Set<Rule> |
getRules(GraknGraph graph) |
static boolean |
hasRules(GraknGraph graph) |
static void |
linkConceptTypes(GraknGraph graph)
Link all unlinked rules in the rule base to their matching types
|
void |
precomputeInferences() |
java.util.stream.Stream<Map<String,Concept>> |
resolve(MatchQuery inputQuery,
boolean materialise)
Resolve a given query using the rule base
|
public Reasoner(GraknGraph graph)
public static Set<Rule> getRules(GraknGraph graph)
public static boolean hasRules(GraknGraph graph)
public static void linkConceptTypes(GraknGraph graph)
public void precomputeInferences()
public java.util.stream.Stream<Map<String,Concept>> resolve(MatchQuery inputQuery, boolean materialise)
inputQuery - the query string to be expandedCopyright © 2016 Grakn Labs Ltd. All rights reserved.