Question: How many languages are based on Dutch (the one whose native label is Nederlands) or have the Glottolog code of dani1284?
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 <based_on> ?e_1 . ?e_1 <pred:name> "Dutch" . ?e_1 <native_label> ?pv . ?pv <pred:value> "Nederlands" .  } UNION { ?e <Glottolog_code> ?pv . ?pv <pred:value> "dani1284" .  } }
Program:
function: Find
inputs: Dutch
function: FilterStr
dependencies: 0
inputs: native label
Nederlands
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: language
function: FindAll
function: FilterStr
dependencies: 4
inputs: Glottolog code
dani1284
function: FilterConcept
dependencies: 5
inputs: language
function: Or
dependencies: 3
6
function: Count
dependencies: 7