Question: Regarding John Mills (who is a United States of America citizen), did he or she die prior to 2011?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "John Mills" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2011
<