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