Question: Who has more kids: Jerry Lewis who attended Brigham Young University, or Michelle Williams who is designated by ISNI 0000 0001 1497 5640?
Choices:
Michelle Williams
William Henry Harrison
Jerry Lewis
James E. Reilly
David Byrne
Sylvester Stallone
Richard Gere
Simon Cowell
Paul Simon
Max Fleischer
Program:
function: Find
inputs: Brigham Young University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Jerry Lewis
function: And
dependencies: 1
2
function: Find
inputs: Michelle Williams
function: FilterStr
dependencies: 4
inputs: ISNI
0000 0001 1497 5640
function: SelectBetween
dependencies: 3
5
inputs: number of children
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jerry Lewis" . ?e <educated_at> ?e_1 . ?e_1 <pred:name> "Brigham Young University" . } UNION { ?e <pred:name> "Michelle Williams" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 1497 5640" . } ?e <number_of_children> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jerry Lewis