Question: What is the relation between Haifa and Portsmouth (the one with a population of 200000)?
Choices:
twinned administrative body
family
captain
writing system
partially contains
military casualty classification
official language
sexual orientation
copyright holder
rector
Program:
function: Find
inputs: Haifa
function: Find
inputs: Portsmouth
function: FilterNum
dependencies: 1
inputs: population
200000
=
function: QueryRelation
dependencies: 0
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Haifa" . ?e_2 <pred:name> "Portsmouth" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "200000"^^xsd:double . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body