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