Question: Who weighs more, Carmen Electra or Steven Wright (the one that was born in Torrance)?
Choices:
Steven Wright
Paul Simon
William Henry Harrison
Carmen Electra
David Byrne
James E. Reilly
Simon Cowell
Max Fleischer
Richard Gere
Rahul Dev Burman
Answer: Steven Wright
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carmen Electra" .  } UNION { ?e <pred:name> "Steven Wright" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Torrance" .   } ?e <mass> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Carmen Electra
function: Find
inputs: Torrance
function: Relate
dependencies: 1
inputs: place of birth
backward
function: Find
inputs: Steven Wright
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: mass
greater