query-9d70c1157239a85007f218f37e5d9425
01:43, 20 October 2016 (UTC) MolarusIĀ“m no SPARQL-Expert, this is a query to print the 7051 films for 2016. Maybe the names of the films help with answering your question. --As query shows, the distribution over countries in 2016 films is usual: 07:56, 20 October 2016 (UTC)) talk (Pasleim. --[1] which created many items for films without WP articles User:Goo1BotThe peak in 2016 is caused by
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?countryLabel (count(?item) as ?cnt) WHERE{
?item wdt:P31/wdt:P279* wd:Q11424 .
?item wdt:P577 ?publicationdate .
?item wdt:P495 ?country .
FILTER (?publicationdate >= "2016-00-00T00:00:00Z"^^xsd:dateTime)
SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,en". }
} GROUP BY ?countryLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?cnt")
v3("?country")
v2("?item"):::projected
v1("?publicationdate")
a1((" "))
c8(["bd:serviceParam"]):::iri
c4(["wd:Q11424"]):::iri
c10(["ru,en"]):::literal
f0[["?publicationdate >= '2016-00-00T00:00:00Z^^xsd:dateTime'"]]
f0 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c4
v2 --"wdt:P577"--> v1
v2 --"wdt:P495"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v4