Question: What is the connection between Mulan (whose genre is pop music) and Jerry Goldsmith?
Choices:
official language
is a list of
culture
source of income
official color
author
illustrator
film distribute region
sponsor
composer
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mulan" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "pop music" . ?e_2 <pred:name> "Jerry Goldsmith" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pop music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Jerry Goldsmith
function: QueryRelation
dependencies: 3
4