Question: How many colleges there are of the University of Oxford whose official website is http://www.lmh.ox.ac.uk/ or whose headquarter location is in Oxford?
Choices:
12
13
14
15
16
17
18
19
20
21
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 <official_website> ?pv . ?pv <pred:value> "http://www.lmh.ox.ac.uk/" .  } UNION { ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Oxford" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.lmh.ox.ac.uk/
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