Question: Which first-level administrative country subdivision that is the twinned administrative body of Shanghai (whose official website is http://www.shanghai.gov.cn/) has the smallest area?
Choices:
Queensland
England
Minas Gerais
Podlaskie Voivodeship
Jalisco
Greater Poland Voivodeship
Upper Austria
Chiapas
KwaZulu-Natal
Pomeranian Voivodeship
Answer: Pomeranian Voivodeship
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Shanghai" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.shanghai.gov.cn/" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Shanghai
function: FilterStr
dependencies: 0
inputs: official website
http://www.shanghai.gov.cn/
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 3
inputs: area
smallest