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