Question: Which area is larger, Jefferson County (the one that has the captital Steubenville) or Summit County?
Choices:
Delaware County
Wood County
Cuyahoga County
Summit County
Jefferson County
Mahoning County
Erie County
Wayne County
Tuscarawas County
Carroll County
Program:
function: Find
inputs: Steubenville
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Find
inputs: Summit County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Steubenville" .   } UNION { ?e <pred:name> "Summit County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Summit County