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