Question: Which area is smaller, Howard County (the one that shares border with Anne Arundel County) or Cecil County?
Choices:
Kent County
Howard County
Allegany County
Harford County
Carroll County
Frederick County
Prince George's County
Cecil County
Anne Arundel County
Charles County
Answer: Howard County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Howard County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Anne Arundel County" .   } UNION { ?e <pred:name> "Cecil County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Anne Arundel County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Howard County
function: And
dependencies: 1
2
function: Find
inputs: Cecil County
function: SelectBetween
dependencies: 3
4
inputs: area
less