Question: Is the population less for Dubuque or Richmond (the one that is the capital of Fort Bend County)?
Choices:
Compton
Boulder
Oakland
Lansing
New Haven
Columbus
Dubuque
Waukegan
Franklin
Richmond
Program:
function: Find
inputs: Dubuque
function: Find
inputs: Fort Bend County
function: Relate
dependencies: 1
inputs: capital of
backward
function: Find
inputs: Richmond
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dubuque" .  } UNION { ?e <pred:name> "Richmond" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Fort Bend County" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Richmond