Question: What is the relation between rock music and Toto (whose genre is pop rock)?
Choices:
famous people
has part
basin country
update method
owner of
place of publication
currency
continent
mother
diaspora
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "rock music" . ?e_2 <pred:name> "Toto" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "pop rock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: rock music
function: Find
inputs: pop rock
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Toto
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4