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