Last active
September 25, 2018 15:34
-
-
Save sorsaffari/430081c6172adbf5f7c431564ac40466 to your computer and use it in GitHub Desktop.
The schema for the phone_calls knowledge graph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define | |
contract sub relationship, | |
relates provider, | |
relates customer; | |
call sub relationship, | |
relates caller, | |
relates callee, | |
has started-at, | |
has duration; | |
company sub entity, | |
plays provider, | |
has name; | |
person sub entity, | |
plays customer, | |
plays caller, | |
plays callee, | |
has first-name, | |
has last-name, | |
has phone-number, | |
has city, | |
has age, | |
has is-customer; | |
name sub attribute datatype string; | |
started-at sub attribute datatype date; | |
duration sub attribute datatype long; | |
first-name sub attribute datatype string; | |
last-name sub attribute datatype string; | |
phone-number sub attribute datatype string; | |
city sub attribute datatype string; | |
age sub attribute datatype long; | |
is-customer sub attribute datatype boolean; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment