| Modifier and Type | Method and Description |
|---|---|
Atom |
Atom.addType(SchemaConcept type) |
Atom |
Atom.inferTypes() |
Atom |
Atom.rewriteToUserDefined(Atom parentAtom)
rewrites the atom to one with user defined name
|
| Modifier and Type | Method and Description |
|---|---|
List<Atom> |
Atom.atomOptions(Answer sub) |
| Modifier and Type | Method and Description |
|---|---|
MultiUnifier |
Atom.getMultiUnifier(Atom parentAtom,
boolean exact)
find the (multi) unifier with parent atom
|
abstract Unifier |
Atom.getUnifier(Atom parentAtom) |
protected abstract boolean |
Atom.isRuleApplicableViaAtom(Atom headAtom) |
Atom |
Atom.rewriteToUserDefined(Atom parentAtom)
rewrites the atom to one with user defined name
|
| Constructor and Description |
|---|
Atom(Atom a) |
| Modifier and Type | Class and Description |
|---|---|
class |
Binary
Implementation for binary atoms with single id typePredicate for a schema concept.
|
class |
RelationshipAtom
Atom implementation defining a relation atom corresponding to a combined
RelationshipProperty
and (optional) IsaProperty. |
class |
ResourceAtom
Atom implementation defining a resource atom corresponding to a
HasResourceProperty. |
class |
TypeAtom
Atom implementation defining type atoms of the general form:
{isa|sub|plays|relates|has}($varName, $predicateVariable)
Type atoms correspond to the following respective graql properties:
IsaProperty,
SubProperty,
PlaysProperty
RelatesProperty
HasResourceTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
Atom |
ResourceAtom.rewriteToUserDefined(Atom parentAtom) |
Atom |
RelationshipAtom.rewriteToUserDefined(Atom parentAtom) |
| Modifier and Type | Method and Description |
|---|---|
List<Atom> |
RelationshipAtom.atomOptions(Answer sub) |
| Modifier and Type | Method and Description |
|---|---|
MultiUnifier |
RelationshipAtom.getMultiUnifier(Atom pAtom,
boolean exact) |
Unifier |
ResourceAtom.getUnifier(Atom parentAtom) |
Unifier |
RelationshipAtom.getUnifier(Atom pAtom) |
Unifier |
Binary.getUnifier(Atom parentAtom) |
boolean |
TypeAtom.isRuleApplicableViaAtom(Atom ruleAtom) |
boolean |
ResourceAtom.isRuleApplicableViaAtom(Atom ruleAtom) |
boolean |
RelationshipAtom.isRuleApplicableViaAtom(Atom ruleAtom) |
Atom |
ResourceAtom.rewriteToUserDefined(Atom parentAtom) |
Atom |
RelationshipAtom.rewriteToUserDefined(Atom parentAtom) |
| Modifier and Type | Class and Description |
|---|---|
class |
HasAtom
TypeAtom corresponding to graql a
HasResourceTypeProperty property. |
class |
IsaAtom
TypeAtom corresponding to graql a
IsaProperty property. |
class |
PlaysAtom
TypeAtom corresponding to graql a
PlaysProperty property. |
class |
RelatesAtom
TypeAtom corresponding to a graql
RelatesProperty property. |
class |
SubAtom
TypeAtom corresponding to graql a
SubProperty property. |
| Modifier and Type | Method and Description |
|---|---|
Atom |
ReasonerAtomicQuery.getAtom() |
| Modifier and Type | Method and Description |
|---|---|
Set<Atom> |
ReasonerQueryImpl.selectAtoms()
atom selection function
|
Set<Atom> |
ReasonerAtomicQuery.selectAtoms() |
| Modifier and Type | Method and Description |
|---|---|
static ReasonerAtomicQuery |
ReasonerQueries.atomic(Atom atom)
create an atomic query from the provided atom
NB: atom constraints (types and predicates, if any) will be included in the query
|
| Modifier and Type | Method and Description |
|---|---|
static ReasonerQueryImpl |
ReasonerQueries.create(List<Atom> as,
GraknTx tx)
create a reasoner query from provided list of atoms
NB: atom constraints (types and predicates, if any) will be included in the query
|
| Modifier and Type | Method and Description |
|---|---|
Atom |
InferenceRule.getRuleConclusionAtom() |
| Modifier and Type | Method and Description |
|---|---|
MultiUnifier |
InferenceRule.getMultiUnifier(Atom parentAtom) |
InferenceRule |
InferenceRule.propagateConstraints(Atom parentAtom,
Unifier unifier) |
boolean |
InferenceRule.requiresMaterialisation(Atom parentAtom)
rule requires materialisation in the context of resolving parent atom
if parent atom requires materialisation, head atom requires materialisation or if the head contains only fresh variables
|
InferenceRule |
InferenceRule.rewriteToUserDefined(Atom parentAtom)
rewrite the rule to a form with user defined variables
|
Copyright © 2017 Grakn Labs Ltd. All rights reserved.