Question: How many boarding schools have the motto 'Floreat Etona' or have Victoria, mother of Edward VII, as their founder?
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> "boarding school" .  { ?e <motto_text> ?pv . ?pv <pred:value> "Floreat Etona" .  } UNION { ?e <founded_by> ?e_1 . ?e_1 <pred:name> "Victoria" . ?e_2 <mother> ?e_1 . ?e_2 <pred:name> "Edward VII" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: motto text
Floreat Etona
function: FilterConcept
dependencies: 1
inputs: boarding school
function: Find
inputs: Edward VII
function: Relate
dependencies: 3
inputs: mother
forward
function: Find
inputs: Victoria
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: founded by
backward
function: FilterConcept
dependencies: 7
inputs: boarding school
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2