Question: How is Barcelona with a population of 1557863 related to Seville?
Choices:
territory overlaps
set in period
notable work
headquarters location
next lower rank
place of publication
cast member
sexual orientation
twinned administrative body
studies
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Barcelona" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1557863"^^xsd:double . ?e_2 <pred:name> "Seville" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Barcelona
function: FilterNum
dependencies: 0
inputs: population
1557863
=
function: Find
inputs: Seville
function: QueryRelation
dependencies: 1
2