Question: Does Nancy (the one whose Twitter username is VilledeNancy) or Dijon have lesser area ?
Choices:
Aachen
Halle (Saale)
Wuppertal
Bordeaux
Utrecht
Nancy
Dnipro
Fort Smith
Lyon
Stuttgart
Program:
function: Find
inputs: Nancy
function: FilterStr
dependencies: 0
inputs: Twitter username
VilledeNancy
function: Find
inputs: Dijon
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nancy" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "VilledeNancy" . } UNION { ?e <pred:name> "Dijon" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nancy