| Package | Description |
|---|---|
| ai.grakn |
A core package for connecting to a Grakn knowledge graph.
|
| ai.grakn.concept |
Provides the meta-ontology interfaces and definitions.
|
| ai.grakn.graph.admin | |
| ai.grakn.graph.internal |
Internal implementation of Grakn graph.
|
| Modifier and Type | Method and Description |
|---|---|
RuleType |
GraknGraph.getRuleType(String label)
Get the Rule Type with the label provided, if it exists.
|
RuleType |
GraknGraph.putRuleType(Label label)
|
RuleType |
GraknGraph.putRuleType(String label)
|
| Modifier and Type | Method and Description |
|---|---|
RuleType |
Concept.asRuleType()
|
RuleType |
RuleType.deletePlays(Role role) |
RuleType |
RuleType.deleteScope(Thing scope)
Delete the scope specified.
|
RuleType |
RuleType.key(ResourceType resourceType)
Creates a RelationType which allows this type and a resource type to be linked in a strictly one-to-one mapping.
|
RuleType |
RuleType.plays(Role role) |
RuleType |
RuleType.resource(ResourceType resourceType)
Creates a RelationType which allows this type and a resource type to be linked.
|
RuleType |
RuleType.scope(Thing scope)
Classifies the type to a specific scope.
|
RuleType |
RuleType.setAbstract(Boolean isAbstract) |
RuleType |
RuleType.sub(RuleType type)
Adds another subtype to this type
|
RuleType |
RuleType.sup() |
RuleType |
RuleType.sup(RuleType type) |
RuleType |
Rule.type() |
| Modifier and Type | Method and Description |
|---|---|
Collection<RuleType> |
RuleType.subs() |
| Modifier and Type | Method and Description |
|---|---|
RuleType |
RuleType.sub(RuleType type)
Adds another subtype to this type
|
RuleType |
RuleType.sup(RuleType type) |
| Modifier and Type | Method and Description |
|---|---|
RuleType |
GraknAdmin.getMetaRuleConstraint()
Get the root of all constraint rules.
|
RuleType |
GraknAdmin.getMetaRuleInference()
Get the root of all inference rules.
|
RuleType |
GraknAdmin.getMetaRuleType()
Get the root of all Rule Types;
|
| Modifier and Type | Method and Description |
|---|---|
RuleType |
AbstractGraknGraph.getMetaRuleConstraint() |
RuleType |
AbstractGraknGraph.getMetaRuleInference() |
RuleType |
AbstractGraknGraph.getMetaRuleType() |
RuleType |
AbstractGraknGraph.getRuleType(String label) |
RuleType |
AbstractGraknGraph.putRuleType(Label label) |
RuleType |
AbstractGraknGraph.putRuleType(String label) |
Copyright © 2017 Grakn Labs Ltd. All rights reserved.