Question: What person is an employee of the University of Notre Dame and the University at Buffalo.
Choices:
Richard Gere
Sylvester Stallone
Charles Mingus Jr.
Max Fleischer
John Logan
J. M. Coetzee
Samuel R. Delany
Anthony Burgess
William Henry Harrison
Rahul Dev Burman
Program:
function: Find
inputs: University of Notre Dame
function: Relate
dependencies: 0
inputs: employer
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: University at Buffalo
function: Relate
dependencies: 3
inputs: employer
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <employer> ?e_1 . ?e_1 <pred:name> "University of Notre Dame" .  ?e <employer> ?e_2 . ?e_2 <pred:name> "University at Buffalo" .  }
Answer: John Logan