Question: How many language families have the native name 粤语 or are the original language of The Last Emperor (whose release date is 1987-12-03)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language family" .  { ?e <native_label> ?pv . ?pv <pred:value> "粤语" .  } UNION { ?e_1 <original_language_of_film_or_TV_show> ?e . ?e_1 <pred:name> "The Last Emperor" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1987-12-03"^^xsd:date .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
粤语
function: FilterConcept
dependencies: 1
inputs: language family
function: Find
inputs: The Last Emperor
function: FilterDate
dependencies: 3
inputs: publication date
1987-12-03
=
function: Relate
dependencies: 4
inputs: original language of film or TV show
forward
function: FilterConcept
dependencies: 5
inputs: language family
function: Or
dependencies: 2
6
function: Count
dependencies: 7