Created
November 28, 2022 17:04
-
-
Save flyingsilverfin/8a65919f8031a11b841893badb9f6052 to your computer and use it in GitHub Desktop.
Strong Typing in TypeDB blog: match inference 2
This file contains 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
match | |
(buyer: $b, seller: $s) isa contract; | |
$b has charity-id $cid; | |
===== after type inference ===== | |
$b may be [non-profit] | |
$s may be [for-profit, non-profit, person] | |
relation may be [resource-ownership] | |
$cid may be [charity-id] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment