Question: What is the number of record labels whose official name is S.M. Entertainment Co., Ltd. or dissolution date is after 1999?
Choices:
12
13
14
15
16
17
18
19
20
21
Answer: 19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" .  { ?e <official_name> ?pv . ?pv <pred:value> "S.M. Entertainment Co., Ltd." .  } UNION { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1999 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
S.M. Entertainment Co., Ltd.
function: FilterConcept
dependencies: 1
inputs: record label
function: FindAll
function: FilterYear
dependencies: 3
inputs: dissolved, abolished or demolished
1999
>
function: FilterConcept
dependencies: 4
inputs: record label
function: Or
dependencies: 2
5
function: Count
dependencies: 6