Question: Which county town in the country United Kingdom is the headquarters location of the college of the University of Oxford (the education place of Rachel Portman)?
Choices:
Northampton
Taunton
Oxford
Warwick
Maidstone
Dorchester
Bedford
Ipswich
Guildford
Aylesbury
Program:
function: Find
inputs: Rachel Portman
function: Relate
dependencies: 0
inputs: educated at
forward
function: FilterConcept
dependencies: 1
inputs: college of the University of Oxford
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: QFilterStr
dependencies: 3
inputs: country
United Kingdom
function: FilterConcept
dependencies: 4
inputs: county town
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county town" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "college of the University of Oxford" . ?e_2 <educated_at> ?e_1 . ?e_2 <pred:name> "Rachel Portman" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <country> ?qpv . ?qpv <pred:value> "United Kingdom" .  }
Answer: Oxford