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