Question: Which one between Alicia Silverstone or Bill Fagerbakke has more children?
Choices:
Max Fleischer
Simon Cowell
Richard Gere
Bill Fagerbakke
Sylvester Stallone
David Byrne
William Henry Harrison
Paul Simon
Alicia Silverstone
James E. Reilly
Program:
function: Find
inputs: Alicia Silverstone
function: Find
inputs: Bill Fagerbakke
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alicia Silverstone" .  } UNION { ?e <pred:name> "Bill Fagerbakke" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bill Fagerbakke