Question: Who weighs less, Carmen Electra or Carlos Ruiz (the one that is a member of Real Madrid CF)?
Choices: Richard Gere
William Henry Harrison
Carmen Electra
Sylvester Stallone
James E. Reilly
Simon Cowell
Max Fleischer
David Byrne
Carlos Ruiz
Rahul Dev Burman
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carmen Electra" .  } UNION { ?e <pred:name> "Carlos Ruiz" . ?e <member_of_sports_team> ?e_1 . ?e_1 <pred:name> "Real Madrid CF" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Carmen Electra
function: Find
inputs: Real Madrid CF
function: Relate
dependencies: 1
inputs: member of sports team
backward
function: Find
inputs: Carlos Ruiz
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
less
Answer: Carmen Electra