Question: what is the number of languages that use the Cyrillic script writing system or that is part of Vietnamese
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> "language" .  { ?e <writing_system> ?e_1 . ?e_1 <pred:name> "Cyrillic script" .  } UNION { ?e <part_of> ?e_1 . ?e_1 <pred:name> "Vietnamese" .  } }
Program:
function: Find
inputs: Cyrillic script
function: Relate
dependencies: 0
inputs: writing system
backward
function: FilterConcept
dependencies: 1
inputs: language
function: Find
inputs: Vietnamese
function: Relate
dependencies: 3
inputs: part of
backward
function: FilterConcept
dependencies: 4
inputs: language
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1