Question: How many University of Oxford colleges have the Charity Commission no. of 1143997 or is located in Oxford?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 24
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "college of the University of Oxford" .  { ?e <Charity_Commission_no.> ?pv . ?pv <pred:value> "1143997" .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Oxford" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Charity Commission no.
1143997
function: FilterConcept
dependencies: 1
inputs: college of the University of Oxford
function: Find
inputs: Oxford
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: college of the University of Oxford
function: Or
dependencies: 2
5
function: Count
dependencies: 6