Question: Does Colm Meaney or John Dingell, Jr. have more children?
Choices:
Paul Simon
Richard Gere
James E. Reilly
Max Fleischer
John Dingell, Jr.
Colm Meaney
Sylvester Stallone
William Henry Harrison
Rahul Dev Burman
Simon Cowell
Program:
function: Find
inputs: Colm Meaney
function: Find
inputs: John Dingell, Jr.
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Colm Meaney" .  } UNION { ?e <pred:name> "John Dingell, Jr." .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: John Dingell, Jr.