Question: Does Rick Rubin or Miley Cyrus have more net worth?
Choices:
Richard Gere
David Byrne
Simon Cowell
Sylvester Stallone
Paul Simon
Max Fleischer
Rahul Dev Burman
Rick Rubin
William Henry Harrison
Miley Cyrus
Program:
function: Find
inputs: Rick Rubin
function: Find
inputs: Miley Cyrus
function: SelectBetween
dependencies: 0
1
inputs: net worth
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rick Rubin" .  } UNION { ?e <pred:name> "Miley Cyrus" .  } ?e <net_worth> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rick Rubin