Question: Which has a greater number of children, Greg Kinnear or Jason Priestley?
Choices:
Paul Simon
James E. Reilly
Jason Priestley
Sylvester Stallone
Greg Kinnear
Simon Cowell
Max Fleischer
Richard Gere
David Byrne
William Henry Harrison
Program:
function: Find
inputs: Greg Kinnear
function: Find
inputs: Jason Priestley
function: SelectBetween
dependencies: 0
1
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greg Kinnear" .  } UNION { ?e <pred:name> "Jason Priestley" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Greg Kinnear