Skip to content

Instantly share code, notes, and snippets.

@justin2004
Last active September 15, 2021 13:11
Show Gist options
  • Save justin2004/1b4d742d93d7ccede9b8c32ba13c9752 to your computer and use it in GitHub Desktop.
Save justin2004/1b4d742d93d7ccede9b8c32ba13c9752 to your computer and use it in GitHub Desktop.
example of an intensional predicate "believesHeWitnessed"
prefix : <>
:fred :believesHeWitnessed [ a :Marriage ;
:hasStart :x ;
:groom :m ;
:bride :a
]
:a a :Human ;
:name "Alice" .
:m a :Human .
:b a :RobotPretendingToBeAHuman ;
:name "X12-101" ;
:alias "Alice" .
# :fred believes he witnessed a marriage between two humans.
# Even if :a turns out to be :b, because the predicate :believesHeWitnessed is intensional it would be wrong to
# replace :a with :b in that :Marriage because :fred might not believe that :a is really :b.
@justin2004
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment