Question: What is the connection between Flight of the Conchords (the one whose genre is anti-folk) to Grammy Award for Best Comedy Album (the one that was received by Richard Pryor)?
Choices:
has cause
main food source
mountain range
source of income
main subject
art director
nominated for
family name
child
production designer
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Flight of the Conchords" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "anti-folk" . ?e_2 <pred:name> "Grammy Award for Best Comedy Album" . ?e_4 <award_received> ?e_2 . ?e_4 <pred:name> "Richard Pryor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: anti-folk
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Flight of the Conchords
function: And
dependencies: 1
2
function: Find
inputs: Richard Pryor
function: Relate
dependencies: 4
inputs: award received
forward
function: Find
inputs: Grammy Award for Best Comedy Album
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7