Question: What higher education institution served as the school where Elton John (famous for rock music) studied and that also uses 1007835 as the UK Provider Reference Number ?
Choices:
King's College London
Presidency University
McMaster University
University of Manchester
Royal Academy of Music
McNeese State University
Pennsylvania State University
University of London
University of Tehran
Imperial College London
Answer: Royal Academy of Music
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> "Elton John" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .  ?e <UK_Provider_Reference_Number> ?pv . ?pv <pred:value> "10007835" .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Elton John
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: educated at
forward
function: FilterConcept
dependencies: 4
inputs: higher education institution
function: FindAll
function: FilterStr
dependencies: 6
inputs: UK Provider Reference Number
10007835
function: FilterConcept
dependencies: 7
inputs: higher education institution
function: And
dependencies: 5
8
function: What
dependencies: 9