Question: What University of Oxford college has a county-town headquarter location whose postal code is OX postcode area (the street address of this statement is Norham Gardens)?
Choices:
St Catherine's College
The Queen's College
Balliol College
Wadham College
Oriel College
Keble College
Lady Margaret Hall
St Edmund Hall
Somerville College
Corpus Christi College
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
OX postcode area
function: FilterConcept
dependencies: 1
inputs: county town
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: QFilterStr
dependencies: 3
inputs: located at street address (DEPRECATED)
Norham Gardens
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: What
dependencies: 5
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_1 <postal_code> ?pv . ?pv <pred:value> "OX postcode area" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <located_at_street_address_(DEPRECATED)> ?qpv . ?qpv <pred:value> "Norham Gardens" .  }
Answer: Lady Margaret Hall