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