Question: Which area is smaller, Richmond (the one that is the capital of Fort Bend County) or St. Joseph (the one that is the birthplace of Eminem)?
Choices:
Greenville
Lansing
Boulder
Columbus
New Haven
Franklin
Waukegan
Richmond
Compton
St. Joseph
Answer: Richmond
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e_1 <capital> ?e . ?e_1 <pred:name> "Fort Bend County" .   } UNION { ?e <pred:name> "St. Joseph" . ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Eminem" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Fort Bend County
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Richmond
function: And
dependencies: 1
2
function: Find
inputs: Eminem
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: St. Joseph
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less