Question: What is the relationship between Romeo and Juliet (the one whose original language is Spanish) and Romeo and Juliet (the one whose narrative location is Mantua)?
Choices: designed by
based on
influenced by
update method
head of government
has edition
nominated for
child
item operated
statistical leader
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romeo and Juliet" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "Spanish" . ?e_2 <pred:name> "Romeo and Juliet" . ?e_2 <narrative_location> ?e_4 . ?e_4 <pred:name> "Mantua" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Spanish
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: Mantua
function: Relate
dependencies: 4
inputs: narrative location
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: based on