Question: What is the connection between Portland (the one that is the twinned administrative body of Sapporo) to Portland (the one whose area is 179.85166 square kilometre)?
Choices:
father
director
student
medical treatment
named after
located on terrain feature
diaspora
update method
language of work or name
terminus
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Portland" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Sapporo" . ?e_2 <pred:name> "Portland" . ?e_2 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "179.85166"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sapporo
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Portland
function: And
dependencies: 1
2
function: Find
inputs: Portland
function: FilterNum
dependencies: 4
inputs: area
179.85166 square kilometre
=
function: QueryRelation
dependencies: 3
5