Question: Does Mark Wahlberg or Carmelo Anthony have more number of children?
Choices:
James E. Reilly
Max Fleischer
Paul Simon
Richard Gere
Mark Wahlberg
Carmelo Anthony
Rahul Dev Burman
Sylvester Stallone
William Henry Harrison
David Byrne
Program:
function: Find
inputs: Mark Wahlberg
function: Find
inputs: Carmelo Anthony
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mark Wahlberg" .  } UNION { ?e <pred:name> "Carmelo Anthony" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mark Wahlberg