Question: What is the date of birth of Ali (whose religion is Islam)?
Choices:
1927-07-04
1920-03-06
1949-07-26
1953-07-29
1971-07-13
1969-11-10
1978-04-05
1959-05-12
1988-12-19
1903-10-22
Program:
function: Find
inputs: Islam
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Ali
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Ali" . ?e <religion> ?e_1 . ?e_1 <pred:name> "Islam" .  ?e <date_of_birth> ?pv .  }
Answer: 1971-07-13