Question: Which higher-education institution is Ashok Kumar's school (the one that has the occupation of cinematographer)?
Choices:
University of Southern California
University of Calcutta
Presidency University
City College of New York
Imperial College London
Hunter College
McNeese State University
Loyola University Chicago
Allahabad University
Knox College
Program:
function: Find
inputs: cinematographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Ashok Kumar
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e_1 <educated_at> ?e . ?e_1 <pred:name> "Ashok Kumar" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "cinematographer" .   }
Answer: Allahabad University