Question: How many school there are that are part of California Institute of the Arts or that belongs to the allegiance of the United Kingdom?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "school" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "California Institute of the Arts" .  } UNION { ?e <allegiance> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  } }
Program:
function: Find
inputs: California Institute of the Arts
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: school
function: Find
inputs: United Kingdom
function: Relate
dependencies: 3
inputs: allegiance
backward
function: FilterConcept
dependencies: 4
inputs: school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1