Question: Which has a lesser number of children, George Lopez or Kathleen Quinlan?
Choices:
David Byrne
James E. Reilly
George Lopez
Sylvester Stallone
Max Fleischer
Richard Gere
Rahul Dev Burman
Kathleen Quinlan
Simon Cowell
William Henry Harrison
Program:
function: Find
inputs: George Lopez
function: Find
inputs: Kathleen Quinlan
function: SelectBetween
dependencies: 0
1
inputs: number of children
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "George Lopez" .  } UNION { ?e <pred:name> "Kathleen Quinlan" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: George Lopez