Question: Which one, Limburg (the one whose country is Belgium) or Ghent, has fewer annual number of weddings?
Choices:
San Juan County
Lee County
Washoe County
Kent County
Delaware County
African Union
Limburg
Orange County
Ghent
Greene County
Program:
function: Find
inputs: Belgium
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Limburg
function: And
dependencies: 1
2
function: Find
inputs: Ghent
function: SelectBetween
dependencies: 3
4
inputs: annual number of weddings
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Limburg" . ?e <country> ?e_1 . ?e_1 <pred:name> "Belgium" .   } UNION { ?e <pred:name> "Ghent" .  } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ghent