Question: Tell me the one with the larger area Utrecht (which has a demonym Utrechtenaar) or Eindhoven
Choices:
Regensburg
Halle (Saale)
Eindhoven
Lyon
Wuppertal
Fort Smith
Utrecht
Stuttgart
Dnipro
Bordeaux
Answer: Utrecht
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utrecht" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Utrechtenaar" . } UNION { ?e <pred:name> "Eindhoven" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Utrecht
function: FilterStr
dependencies: 0
inputs: demonym
Utrechtenaar
function: Find
inputs: Eindhoven
function: SelectBetween
dependencies: 1
2
inputs: area
greater