Question: How is Richard Rodgers, whose religion is atheism, related to a composer?
Choices:
applies to jurisdiction
screenwriter
takes place in fictional universe
broadcast by
model item
subsidiary
talk show guest
occupation
had as last meal
material used
Program:
function: Find
inputs: atheism
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 1
2
function: Find
inputs: composer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Rodgers" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "atheism" . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Answer: occupation