Question: How many language families whose short name is албанский or whose WALS family code is afroasiatic?
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 family" .  { ?e <short_name> ?pv . ?pv <pred:value> "албанский" .  } UNION { ?e <WALS_family_code> ?pv . ?pv <pred:value> "afroasiatic" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
албанский
function: FilterConcept
dependencies: 1
inputs: language family
function: FindAll
function: FilterStr
dependencies: 3
inputs: WALS family code
afroasiatic
function: FilterConcept
dependencies: 4
inputs: language family
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2