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