Question: Is the larger area occupied by Odessa (PermID 5035891315) or Akron (population 199110)?
Choices:
Oakland
Boulder
Odessa
New Haven
Lansing
Columbus
Waukegan
Akron
Greenville
Compton
Answer: Akron
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Odessa" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "5035891315" . } UNION { ?e <pred:name> "Akron" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "199110"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Odessa
function: FilterStr
dependencies: 0
inputs: PermID
5035891315
function: Find
inputs: Akron
function: FilterNum
dependencies: 2
inputs: population
199110
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater