Question: What college of the University of Oxford is headquartered at Oriel Square in the county town which is the working location of Tom McCarthy (the one whose Munzinger IBA is 00000029267)?
Choices:
Keble College
St Hilda's College
St Edmund Hall
The Queen's College
Oriel College
Exeter College
Lincoln College
Somerville College
Lady Margaret Hall
Jesus College
Answer: Oriel College
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county town" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> "Tom McCarthy" . ?e_2 <Munzinger_IBA> ?pv . ?pv <pred:value> "00000029267" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address> ?qpv . ?qpv <pred:value> "Oriel Square" .  }
Program:
function: Find
inputs: Tom McCarthy
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000029267
function: Relate
dependencies: 1
inputs: work location
forward
function: FilterConcept
dependencies: 2
inputs: county town
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: QFilterStr
dependencies: 4
inputs: located at street address
Oriel Square
function: FilterConcept
dependencies: 5
inputs: college of the University of Oxford
function: What
dependencies: 6