Question: What is the relationship between Ludwig van Beethoven (the one that has the voice type tenor) and tenor?
Choices:
educated at
soundtrack album
studies
creator
history of topic
dialect of
doctoral advisor
source of income
voice type
member of political party
Answer: voice type
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ludwig van Beethoven" . ?e_1 <voice_type> ?e_3 . ?e_3 <pred:name> "tenor" . ?e_2 <pred:name> "tenor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: tenor
function: Relate
dependencies: 0
inputs: voice type
backward
function: Find
inputs: Ludwig van Beethoven
function: And
dependencies: 1
2
function: Find
inputs: tenor
function: QueryRelation
dependencies: 3
4