Question: How many languages have Ethnologue.com language code urd or are written in Cyrillic script?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" .  { ?e <Ethnologue.com_language_code> ?pv . ?pv <pred:value> "urd" .  } UNION { ?e <writing_system> ?e_1 . ?e_1 <pred:name> "Cyrillic script" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Ethnologue.com language code
urd
function: FilterConcept
dependencies: 1
inputs: language
function: Find
inputs: Cyrillic script
function: Relate
dependencies: 3
inputs: writing system
backward
function: FilterConcept
dependencies: 4
inputs: language
function: Or
dependencies: 2
5
function: Count
dependencies: 6