Question: Which has less percent of water area, Prince George's County or Montgomery County that borders Prince George's County?
Choices: Baltimore County
Howard County
Cecil County
Montgomery County
Harford County
Prince George's County
Frederick County
Carroll County
Charles County
Kent County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Prince George's County" .  } UNION { ?e <pred:name> "Montgomery County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Prince George's County" .   } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Prince George's County
function: Find
inputs: Prince George's County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Montgomery County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: water as percent of area
less
Answer: Prince George's County