Question: How many language families exists whose WALS lect code is kug or it is the native language of Lucy Liu?
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 <WALS_lect_code> ?pv . ?pv <pred:value> "kug" .  } UNION { ?e_1 <native_language> ?e . ?e_1 <pred:name> "Lucy Liu" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WALS lect code
kug
function: FilterConcept
dependencies: 1
inputs: language family
function: Find
inputs: Lucy Liu
function: Relate
dependencies: 3
inputs: native language
forward
function: FilterConcept
dependencies: 4
inputs: language family
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1