Question: What is the relationship between Juno (the one whose original language is English) and J. K. Simmons?
Choices:
director/manager
shares border with
cast member
uses
has edition
located in or next to body of water
facet of
studies
chief executive officer
twinned administrative body
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Juno
function: And
dependencies: 1
2
function: Find
inputs: J. K. Simmons
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Juno" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "J. K. Simmons" . ?e_1 ?p ?e_2 .  }
Answer: cast member