Question: Who has more net worth, Diane Sawyer or Jacob Gedleyihlekisa Zuma?
Choices:
Simon Cowell
Rahul Dev Burman
James E. Reilly
David Byrne
Diane Sawyer
Max Fleischer
Jacob Gedleyihlekisa Zuma
Richard Gere
Sylvester Stallone
Paul Simon
Program:
function: Find
inputs: Diane Sawyer
function: Find
inputs: Jacob Gedleyihlekisa Zuma
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Diane Sawyer" .  } UNION { ?e <pred:name> "Jacob Gedleyihlekisa Zuma" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Diane Sawyer