Question: Was Michael Jackson (the one that is a member of Swansea City A.F.C. born after 1978?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Michael Jackson" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Swansea City A.F.C." .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1978 ) .  }
Program:
function: Find
inputs: Swansea City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1978
>