Question: Which higher education institution is the employer of James Monroe (who is a member of the Republican Party political party)?
Choices:
California State University, Long Beach
Oberlin College
University of Chicago
University College Dublin
Denison University
Harvard College
Harvard University
Princeton University
Morehouse College
Manchester Metropolitan University
Answer: Oberlin College
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e_1 <employer> ?e . ?e_1 <pred:name> "James Monroe" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Republican Party" .   }
Program:
function: Find
inputs: Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: James Monroe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: employer
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: What
dependencies: 5