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