Question: Does Cass County (that is an administrative division of North Dakota) or Maui County have the larger area?
Choices:
San Juan County
Delaware County
Orange County
Kent County
African Union
United States Virgin Islands
Greene County
Washoe County
Lee County
Maui County
Program:
function: Find
inputs: North Dakota
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Cass County
function: And
dependencies: 1
2
function: Find
inputs: Maui County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cass County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "North Dakota" .   } UNION { ?e <pred:name> "Maui County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Maui County