Question: How many colleges of the University of Oxford are there whose headquarters location is the county town having the local dialing code 01865?
Choices: 12
13
14
15
16
17
18
19
20
21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) 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 <local_dialing_code> ?pv . ?pv <pred:value> "01865" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
01865
function: FilterConcept
dependencies: 1
inputs: county town
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: college of the University of Oxford
function: Count
dependencies: 4
Answer: 20