Question: What university is the educational institution of John Byrne (whose profession is playwright)?
Choices:
University of Mississippi
Imperial College London
University of Birmingham
University of Manchester
Glasgow School of Art
McNeese State University
Bates College
University of Denver
University of Cambridge
Pennsylvania State University
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Byrne
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> "John Byrne" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "playwright" .   }
Answer: Glasgow School of Art