Question: Was George Hamilton (the one that lives in Palm Beach) born after 1897?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Palm Beach
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: George Hamilton
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1897
>
SPARQL: ASK { ?e <pred:name> "George Hamilton" . ?e <residence> ?e_1 . ?e_1 <pred:name> "Palm Beach" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1897 ) .  }
Answer: yes