Question: Is Taylor Swift worth more than Gilbert Gottfried, or vice-versa?
Choices: Sylvester Stallone
James E. Reilly
Gilbert Gottfried
Max Fleischer
William Henry Harrison
Taylor Swift
Rahul Dev Burman
Paul Simon
David Byrne
Simon Cowell
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taylor Swift" .  } UNION { ?e <pred:name> "Gilbert Gottfried" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Taylor Swift
function: Find
inputs: Gilbert Gottfried
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
Answer: Taylor Swift