Question: Which area is larger, St. Louis County (the one that shares border with St. Charles County) or Nye County?
Choices:
San Juan County
Lee County
Cass County
Delaware County
African Union
Nye County
Orange County
Greene County
Kent County
St. Louis County
Answer: Nye County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Louis County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "St. Charles County" .   } UNION { ?e <pred:name> "Nye County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: St. Charles County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: St. Louis County
function: And
dependencies: 1
2
function: Find
inputs: Nye County
function: SelectBetween
dependencies: 3
4
inputs: area
greater