Question: What is the connection between Romeo and Juliet (the one whose genre is tragedy) to Verona (the one whose population is 153555)?
Choices:
product or material produced
home venue
commissioned by
continent
archives at
official symbol
chairperson
member of sports team
has parts of the class
narrative location
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Romeo and Juliet" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "tragedy" . ?e_2 <pred:name> "Verona" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "153555"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: tragedy
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 1
2
function: Find
inputs: Verona
function: FilterNum
dependencies: 4
inputs: population
153555
=
function: QueryRelation
dependencies: 3
5