Question: How many secondary schools employ Claude Rains or have the native label Royal Military Academy?
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> "secondary school" .  { ?e_1 <employer> ?e . ?e_1 <pred:name> "Claude Rains" .  } UNION { ?e <native_label> ?pv . ?pv <pred:value> "Royal Military Academy" .  } }
Program:
function: Find
inputs: Claude Rains
function: Relate
dependencies: 0
inputs: employer
forward
function: FilterConcept
dependencies: 1
inputs: secondary school
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Royal Military Academy
function: FilterConcept
dependencies: 4
inputs: secondary school
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2