Question: How is the English-language Romeo and Juliet related to Verona, population 145863?
Choices:
participant of
instrument
culture
narrative location
captain
taxon rank
author
significant person
filmography
film release region
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romeo and Juliet" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Verona" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "145863"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: Verona
function: FilterNum
dependencies: 4
inputs: population
145863
=
function: QueryRelation
dependencies: 3
5