Question: Which one is lighter, Henry James, playing as a small forward, or Bruce Campbell, who plays American football?
Choices:
Simon Cowell
William Henry Harrison
David Byrne
James E. Reilly
Richard Gere
Sylvester Stallone
Bruce Campbell
Paul Simon
Max Fleischer
Henry James
Program:
function: Find
inputs: small forward
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Henry James
function: And
dependencies: 1
2
function: Find
inputs: American football
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: mass
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Henry James" . ?e <position_played_on_team_/_speciality> ?e_1 . ?e_1 <pred:name> "small forward" .   } UNION { ?e <pred:name> "Bruce Campbell" . ?e <sport> ?e_2 . ?e_2 <pred:name> "American football" .  } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Henry James