Question: Which has less weddings annually, Ghent or Antwerp whose official website is http://www.provant.be?
Choices:
Orange County
Lee County
Washoe County
Ghent
Delaware County
Greene County
San Juan County
Kent County
Antwerp
Cass County
Program:
function: Find
inputs: Ghent
function: Find
inputs: Antwerp
function: FilterStr
dependencies: 1
inputs: official website
http://www.provant.be
function: SelectBetween
dependencies: 0
2
inputs: annual number of weddings
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ghent" . } UNION { ?e <pred:name> "Antwerp" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.provant.be" . } ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ghent