Question: Which area is larger, Toledo (the one that is the twinned administrative body of Corpus Christi) or Queens?
Choices:
Orange County
Greene County
Toledo
Queens
Washoe County
African Union
Lee County
Cass County
Kent County
San Juan County
Program:
function: Find
inputs: Corpus Christi
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Toledo
function: And
dependencies: 1
2
function: Find
inputs: Queens
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toledo" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Corpus Christi" .   } UNION { ?e <pred:name> "Queens" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Queens