Question: Wno has more children, William McKinley (the one that is educated at Albany Law School) or Russi Taylor?
Choices:
Richard Gere
Sylvester Stallone
James E. Reilly
Simon Cowell
William McKinley
Paul Simon
William Henry Harrison
Rahul Dev Burman
Max Fleischer
Russi Taylor
Program:
function: Find
inputs: Albany Law School
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: William McKinley
function: And
dependencies: 1
2
function: Find
inputs: Russi Taylor
function: SelectBetween
dependencies: 3
4
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "William McKinley" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Albany Law School" .   } UNION { ?e <pred:name> "Russi Taylor" .  } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Russi Taylor