Question: Which city lends its name to Portsmouth, which is 43.574054 square kilometers in size?
Choices:
Abidjan
Kingston
Portsmouth
Kolkata
Kilkenny
Kozhikode
Cork
Santo Domingo
Trieste
Shiraz
Answer: Portsmouth
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Portsmouth" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "43.574054"^^xsd:double .   }
Program:
function: Find
inputs: Portsmouth
function: FilterNum
dependencies: 0
inputs: area
43.574054 square kilometre
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3