Question: Who weighs less, running back James Stewart or Los Angeles native John Williams?
Choices: William Henry Harrison
Richard Gere
John Williams
James Stewart
James E. Reilly
Max Fleischer
Rahul Dev Burman
David Byrne
Sylvester Stallone
Paul Simon
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "James Stewart" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "running back" .   } UNION { ?e <pred:name> "John Williams" . ?e <place_of_birth> ?e_2 . ?e_2 <pred:name> "Los Angeles" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: running back
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: Relate
dependencies: 4
inputs: place of birth
backward
function: Find
inputs: John Williams
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
Answer: James Stewart