Question: Which one, January Jones or Saif Ali Khan, has a greater number of children?
Choices:
Richard Gere
Sylvester Stallone
Rahul Dev Burman
Saif Ali Khan
Paul Simon
January Jones
William Henry Harrison
James E. Reilly
Max Fleischer
David Byrne
Program:
function: Find
inputs: January Jones
function: Find
inputs: Saif Ali Khan
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "January Jones" .  } UNION { ?e <pred:name> "Saif Ali Khan" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Saif Ali Khan