Question: Which one of Ellen DeGeneres and Kate Moss has higher net worth ?
Choices:
Kate Moss
Sylvester Stallone
Max Fleischer
William Henry Harrison
Ellen DeGeneres
James E. Reilly
Paul Simon
David Byrne
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Ellen DeGeneres
function: Find
inputs: Kate Moss
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ellen DeGeneres" .  } UNION { ?e <pred:name> "Kate Moss" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ellen DeGeneres