Question: Which area is larger, Provo or Quincy (the one whose nickname is Gem City)?
Choices:
Quincy
New Haven
Columbus
Compton
Waukegan
Boulder
Oakland
Greenville
Franklin
Provo
Answer: Provo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Provo" . } UNION { ?e <pred:name> "Quincy" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> "Gem City" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Provo
function: Find
inputs: Quincy
function: FilterStr
dependencies: 1
inputs: nickname
Gem City
function: SelectBetween
dependencies: 0
2
inputs: area
greater