Question: Which one has a larger area, Pomona or Somerville (which has the native label Somerville)
Choices:
Columbus
Franklin
New Haven
Waukegan
Compton
Boulder
Lansing
Oakland
Pomona
Somerville
Answer: Pomona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pomona" . } UNION { ?e <pred:name> "Somerville" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Somerville" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Pomona
function: Find
inputs: Somerville
function: FilterStr
dependencies: 1
inputs: native label
Somerville
function: SelectBetween
dependencies: 0
2
inputs: area
greater