Question: How many secondary schools are in London, demonym لندنی, or are designated by ISNI 0000 0004 0531 9248?
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 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "London" . ?e_1 <demonym> ?pv . ?pv <pred:value> "لندنی" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0531 9248" .  } }
Program:
function: Find
inputs: London
function: FilterStr
dependencies: 0
inputs: demonym
لندنی
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: secondary school
function: FindAll
function: FilterStr
dependencies: 4
inputs: ISNI
0000 0004 0531 9248
function: FilterConcept
dependencies: 5
inputs: secondary school
function: Or
dependencies: 3
6
function: Count
dependencies: 7
Answer: 3