Question: Which first-level administrative country subdivision that is the twinned administrative body of Shanghai (the one whose licence plate code is 沪A) has the largest area?
Choices:
England
Pomeranian Voivodeship
Chiapas
Lublin Voivodeship
Podlaskie Voivodeship
Queensland
KwaZulu-Natal
Minas Gerais
Jalisco
Greater Poland Voivodeship
Answer: Queensland
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Shanghai" . ?e_1 <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "沪A" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Shanghai
function: FilterStr
dependencies: 0
inputs: licence plate code
沪A
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: SelectAmong
dependencies: 3
inputs: area
largest