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