Question: How is Beastie Boys that's set in Japan related to the romance film genre?
Choices:
operating system
religious order
movement
permanent resident of
basic form of government
location of final assembly
ethnic group
filmography
headquarters location
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beastie Boys" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Japan" . ?e_2 <pred:name> "romance film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Japan
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Beastie Boys
function: And
dependencies: 1
2
function: Find
inputs: romance film
function: QueryRelation
dependencies: 3
4