Question: Was the priest James Madison born on 1749-08-27 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: priest
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Madison
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyDate
dependencies: 4
inputs: 1749-08-27
=
SPARQL: ASK { ?e <pred:name> "James Madison" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "priest" .  ?e <date_of_birth> ?pv . ?pv <pred:date> "1749-08-27"^^xsd:date .  }
Answer: yes