Question: Which one is greater by area , Cameron County or El Paso County (the one that has the captital El Paso)?
Choices:
Cameron County
McLennan County
El Paso County
Dallas County
Denton County
Hidalgo County
Johnson County
Montgomery County
Travis County
Jefferson County
Program:
function: Find
inputs: Cameron County
function: Find
inputs: El Paso
function: Relate
dependencies: 1
inputs: capital
backward
function: Find
inputs: El Paso County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cameron County" .  } UNION { ?e <pred:name> "El Paso County" . ?e <capital> ?e_1 . ?e_1 <pred:name> "El Paso" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cameron County