Question: Who is lighter in weight: African American Kevin Smith or American footballer Richard Rodgers?
Choices: Richard Gere
William Henry Harrison
Richard Rodgers
Sylvester Stallone
David Byrne
Paul Simon
James E. Reilly
Max Fleischer
Kevin Smith
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kevin Smith" . ?e <ethnic_group> ?e_1 . ?e_1 <pred:name> "African Americans" .   } UNION { ?e <pred:name> "Richard Rodgers" . ?e <sport> ?e_2 . ?e_2 <pred:name> "American football" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Kevin Smith
function: And
dependencies: 1
2
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Richard Rodgers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
Answer: Kevin Smith