Question: Does the university, that is the education place of James Buchanan, (the one whose date of birth is 1791-04-23), have an ARCHON code equal to 923?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "James Buchanan" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1791-04-23"^^xsd:date . ?e <ARCHON_code> ?pv . ?pv <pred:value> "923" .  }
Program:
function: Find
inputs: James Buchanan
function: FilterDate
dependencies: 0
inputs: date of birth
1791-04-23
=
function: Relate
dependencies: 1
inputs: educated at
forward
function: FilterConcept
dependencies: 2
inputs: university
function: QueryAttr
dependencies: 3
inputs: ARCHON code
function: VerifyStr
dependencies: 4
inputs: 923