Question: How is Milan Milan (the one whose population is 354041) related to Shanghai (the one that shares border with Suzhou)?
Choices:
feast day
copyright holder
developer
office held by head of the organisation
official color
said to be the same as
registered with
twinned administrative body
has edition
indigenous to
Program:
function: Find
inputs: Milan
function: FilterNum
dependencies: 0
inputs: population
354041
=
function: Find
inputs: Suzhou
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: Shanghai
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Milan" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "354041"^^xsd:double . ?e_2 <pred:name> "Shanghai" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Suzhou" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body