Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
For adding a relation (expression) to a concept.
Synopsis
- data RelationConcept
- makeRC :: Express e => String -> NP -> Sentence -> e -> RelationConcept
- addRelToCC :: (Express e, Concept c) => c -> String -> e -> RelationConcept
Chunk Type
data RelationConcept Source #
For a concept (ConceptChunk
) that also has a Relation
(ModelExpr
) attached.
Ex. We can describe a pendulum arm and then apply an associated equation so that we know its behaviour.
Instances
Constructors
makeRC :: Express e => String -> NP -> Sentence -> e -> RelationConcept Source #
Create a RelationConcept
from a given UID
, term (NP
), definition (Sentence
), and Relation
.
addRelToCC :: (Express e, Concept c) => c -> String -> e -> RelationConcept Source #
Create a new RelationConcept
from an old Concept
. Takes a Concept
, new UID
and relation.