Question: Does Maui County or Newport (ISO 3166-2 code being GB-NWP) have a bigger area?
Choices:
Cass County
Orange County
San Juan County
Washoe County
African Union
Delaware County
Maui County
Greene County
Lee County
Newport
Answer: Maui County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maui County" . } UNION { ?e <pred:name> "Newport" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "GB-NWP" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Maui County
function: Find
inputs: Newport
function: FilterStr
dependencies: 1
inputs: ISO 3166-2 code
GB-NWP
function: SelectBetween
dependencies: 0
2
inputs: area
greater