Question: Was Tom Jones (the one whose genre is rhythm and blues) born after 1929?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: rhythm and blues
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Tom Jones
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1929
>
SPARQL: ASK { ?e <pred:name> "Tom Jones" . ?e <genre> ?e_1 . ?e_1 <pred:name> "rhythm and blues" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1929 ) .  }
Answer: yes