Question: Does the human, who is the spouse of Tim McGraw, have a date of birth after 1875?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Tim McGraw" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1875 ) .  }
Program:
function: Find
inputs: Tim McGraw
function: Relate
dependencies: 0
inputs: spouse
forward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of birth
function: VerifyYear
dependencies: 3
inputs: 1875
>