Question: Which covers a larger area of space, DeKalb County with shares a border with Gwinnett County, or Pulaski County?
Choices:
Washoe County
San Juan County
Lee County
Greene County
Pulaski County
African Union
Delaware County
Orange County
Cass County
DeKalb County
Program:
function: Find
inputs: Gwinnett County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: DeKalb County
function: And
dependencies: 1
2
function: Find
inputs: Pulaski County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "DeKalb County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Gwinnett County" .   } UNION { ?e <pred:name> "Pulaski County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pulaski County