Question: Does Salt Lake County or Kent County (that shares a border with New London County) have less area?
Choices:
Kent County
Orange County
Delaware County
African Union
Washoe County
Greene County
Salt Lake County
Cass County
United States Virgin Islands
Lee County
Program:
function: Find
inputs: Salt Lake County
function: Find
inputs: New London County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Kent County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salt Lake County" .  } UNION { ?e <pred:name> "Kent County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "New London County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kent County