Question: How many colleges of the University of Oxford are located in the county town whose postal code is OX postcode area in the country of the United Kingdom?
Choices: 22
23
24
25
26
27
28
29
30
31
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" . ?e <located_in_the_administrative_territorial_entity> ?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_1 ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> "United Kingdom" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
OX postcode area
function: QFilterStr
dependencies: 1
inputs: country
United Kingdom
function: FilterConcept
dependencies: 2
inputs: county town
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: Count
dependencies: 5
Answer: 24