Question: What is the number of television stations that are Wikidata property of the capital having the ISO 3166-2 code KE-110 (the ending date of this statement is 2014-10-30)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television station" . ?e <Wikidata_property> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "capital" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "KE-110" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:date> "2014-10-30"^^xsd:date .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
KE-110
function: QFilterDate
dependencies: 1
inputs: end time
2014-10-30
=
function: FilterConcept
dependencies: 2
inputs: capital
function: Relate
dependencies: 3
inputs: Wikidata property
backward
function: FilterConcept
dependencies: 4
inputs: television station
function: Count
dependencies: 5