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