Question: Who has more kids, Debra Messing or Chris Evans who is an employee of Channel 4?
Choices:
William Henry Harrison
Rahul Dev Burman
Paul Simon
Simon Cowell
James E. Reilly
Chris Evans
Max Fleischer
David Byrne
Debra Messing
Richard Gere
Program:
function: Find
inputs: Debra Messing
function: Find
inputs: Channel 4
function: Relate
dependencies: 1
inputs: employer
backward
function: Find
inputs: Chris Evans
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Debra Messing" .  } UNION { ?e <pred:name> "Chris Evans" . ?e <employer> ?e_1 . ?e_1 <pred:name> "Channel 4" .   } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chris Evans