Relationship Types
object RelationshipTypes
Relationship types for DICE graph schema.
Graph schema:
// Direct entity extraction (NER)
(Chunk)-[:HAS_ENTITY]->(__Entity__)
// Proposition extraction
(Chunk)-[:HAS_PROPOSITION]->(Proposition)
// Entity mentions in propositions
(Proposition)-[:MENTIONS {role: 'SUBJECT'}]->(__Entity__)
(Proposition)-[:MENTIONS {role: 'OBJECT'}]->(__Entity__)Content copied to clipboard
See also
com. embabel. agent. rag. model. Named Entity Data. HAS_ENTITY
Properties
Link copied to clipboard
Relationship from Chunk to Proposition. Created when propositions are extracted from a chunk.
Link copied to clipboard
Relationship from Proposition to Entity. Use with MentionRole to indicate subject vs object.
Link copied to clipboard
Property key for the role in a MENTIONS relationship. Value should be a MentionRole name.