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