Question: How many University of Oxford colleges are there whose ARCHON code is 466 or whose headquarters are in Oxford ?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 20
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" .  { ?e <ARCHON_code> ?pv . ?pv <pred:value> "466" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Oxford" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ARCHON code
466
function: FilterConcept
dependencies: 1
inputs: college of the University of Oxford
function: Find
inputs: Oxford
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: Or
dependencies: 2
5
function: Count
dependencies: 6