Question: Who is the person educated at a higher education institution located in Aberdeen, Kingdom of Great Britain ?
Choices:
Tabitha St. Germain
Charles, Prince of Wales
Ron W. Miller
Aaron Spelling
Iain Glen
Frank Herbert
Armando Iannucci
Rose Byrne
Adewale Akinnuoye-Agbaje
Alan Turing
Answer: Iain Glen
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <educated_at> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "higher education institution" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Aberdeen" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "Kingdom of Great Britain" .   }
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Aberdeen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: Relate
dependencies: 5
inputs: educated at
backward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7