Question: Who has more children, Neve Campbell or John Leguizamo?
Choices:
Richard Gere
Rahul Dev Burman
James E. Reilly
Sylvester Stallone
Neve Campbell
Max Fleischer
Paul Simon
John Leguizamo
Simon Cowell
David Byrne
Program:
function: Find
inputs: Neve Campbell
function: Find
inputs: John Leguizamo
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Neve Campbell" .  } UNION { ?e <pred:name> "John Leguizamo" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Leguizamo