Question: Is there less area in Westmoreland County (the one that shares border with Charles County) or York County (the one whose official website is http://www.yorkcounty.gov)?
Choices:
Fairfax County
Augusta County
Frederick County
Prince William County
York County
Henrico County
Loudoun County
Albemarle County
Warren County
Westmoreland County
Program:
function: Find
inputs: Charles County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Westmoreland County
function: And
dependencies: 1
2
function: Find
inputs: York County
function: FilterStr
dependencies: 4
inputs: official website
http://www.yorkcounty.gov
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Westmoreland County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Charles County" . } UNION { ?e <pred:name> "York County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.yorkcounty.gov" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: York County