Question: Was John Mills, who is in the Continental Army, born before 1948?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "John Mills" . ?e <military_branch> ?e_1 . ?e_1 <pred:name> "Continental Army" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1948 ) .  }
Program:
function: Find
inputs: Continental Army
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1948
<