Question: How is Cars directed by John Lasseter related to the Grammy Award for Best Compilation Soundtrack for Visual Media?
Choices:
interests
main food source
nominated for
language used
located in or next to body of water
official language
writing system
field of this occupation
currency
headquarters location
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cars" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "John Lasseter" . ?e_2 <pred:name> "Grammy Award for Best Compilation Soundtrack for Visual Media" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Lasseter
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Cars
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Best Compilation Soundtrack for Visual Media
function: QueryRelation
dependencies: 3
4