Question: Between Alfred Molina and Vin Diesel, which has more kids?
Choices:
Alfred Molina
William Henry Harrison
Simon Cowell
Richard Gere
Rahul Dev Burman
James E. Reilly
Vin Diesel
Sylvester Stallone
David Byrne
Max Fleischer
Program:
function: Find
inputs: Alfred Molina
function: Find
inputs: Vin Diesel
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alfred Molina" .  } UNION { ?e <pred:name> "Vin Diesel" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Vin Diesel