Skip to content

Instantly share code, notes, and snippets.

@Irtazaraza
Last active February 18, 2019 10:21
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/1029437fb988d36aa89ad2052fdc5211 to your computer and use it in GitHub Desktop.
Save Irtazaraza/1029437fb988d36aa89ad2052fdc5211 to your computer and use it in GitHub Desktop.
define
person sub entity,
has age,
has gender,
plays patient;
disease sub entity,
has name,
has classification,
plays diagnosed-disease;
diagnosis sub relationship,
relates patient,
relates diagnosed-disease;
age sub attribute datatype double;
gender sub attribute datatype string;
name sub attribute datatype string;
classification sub attribute datatype string;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment