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