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