Skip to content

Instantly share code, notes, and snippets.

@Irtazaraza
Last active April 12, 2019 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Irtazaraza/b7e2e0053d8ab7f38bb680eb3d0f1d44 to your computer and use it in GitHub Desktop.
Save Irtazaraza/b7e2e0053d8ab7f38bb680eb3d0f1d44 to your computer and use it in GitHub Desktop.
define
# Entities
mined-text sub entity,
has text,
plays container;
sentence sub entity,
has text,
has sentiment,
plays contained,
plays container;
token sub entity,
has lemma,
has token-type,
plays contained,
plays object,
plays subject;
# Relations
containing sub relation,
relates contained,
relates container;
mined-relation sub relation,
has relation-type,
relates contained,
relates object,
relates subject;
# Attributes
text sub attribute, datatype string;
lemma sub attribute, datatype string;
sentiment sub attribute, datatype string;
token-type sub attribute, datatype string;
relation-type sub attribute, datatype string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment