Question: I want to know the university that is where The Last Emperor was educated (the one who is a United States of America citizen).
Choices:
Villanova University
University of Manchester
Loyola University Chicago
Kellogg School of Management
Pennsylvania State University
Lincoln University
Imperial College London
McNeese State University
University of Louisville
California State Polytechnic University, Pomona
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: The Last Emperor
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: university
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "The Last Emperor" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "United States of America" .   }
Answer: Lincoln University