Question: Is Rockingham County (located in New Hampshire) or New Castle County greater in area?
Choices:
San Juan County
Lee County
Greene County
Washoe County
Delaware County
Orange County
Cass County
African Union
New Castle County
Rockingham County
Answer: Rockingham County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rockingham County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New Hampshire" .   } UNION { ?e <pred:name> "New Castle County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: New Hampshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Rockingham County
function: And
dependencies: 1
2
function: Find
inputs: New Castle County
function: SelectBetween
dependencies: 3
4
inputs: area
greater