Question: How many private schools belong to the UK or are Harvard University subsidiaries?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "private school" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } UNION { ?e_1 <subsidiary> ?e . ?e_1 <pred:name> "Harvard University" .  } }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: private school
function: Find
inputs: Harvard University
function: Relate
dependencies: 3
inputs: subsidiary
forward
function: FilterConcept
dependencies: 4
inputs: private school
function: Or
dependencies: 2
5
function: Count
dependencies: 6