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