query-81e985f5998c8760ee7488481400ac81

rq turtle/ttl

15:55, 18 October 2016 (UTC)) talk (Pasleim-- Graphs are temporarily unavailable due to technical issues. )User:Pasleim/movies by yearActually one can also produce the figure with the graph extension: ( 12:56, 18 October 2016 (UTC)) talk (InfovariusThanks! Very useful. -- 16:01, 17 October 2016 (UTC)) talk (Edgars2007Looks nice :) -- 15:56, 17 October 2016 (UTC)) talk (Pasleim. --this. This could then look like http://demo.seco.tkk.fi/visu/To visualize this data you need to rely on external tools, e.g. 01:43, 20 October 2016 (UTC) Molarus. I have translated that code into Vega code and have changed the "values"-part for the "wikidatasparql" part from Pasleim and got a similar graph, but not as nice. One could add another dimension, for example, "country of origin" or "film genres" and got a more complex graph. --User:Molarus/graph#Example_3With Vega-lite code it is only those few lines of code at 17:25, 19 October 2016 (UTC)) talk (Wesalius.--mw:Special:GraphSandboxNice! Sandbox to play with graphs is at 16:28, 19 October 2016 (UTC) Molarus. --hereI´m trying to learn to code for graph, but it is really difficult to understand. I have seen that it is easier to write Vega lite code and let the Vega Editor transform that into Vega-code (and insert that Code into Wikidata). Introduction for Vega lite is 21:18, 18 October 2016 (UTC)) talk (Pasleim if you want to create your own figures. --their examples so you can also copy code from vega you find many examples which you can use as templates. The graph extension is based on mw:Extension:Graph/DemoThere is no generator but on 16:25, 18 October 2016 (UTC)) talk (MisterSynergyNice! Did you type this code manually, or do we have a generator for these graphs as well? —12:43, 19 October 2016 (UTC)) talk (InfovariusWhat a peak on 2016! Why so much more than 2014-2015?.. --

Use at

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 DISTINCT ?item ?itemLabel WHERE{
  ?item wdt:P31/wdt:P279* wd:Q11424 .
    ?item wdt:P577 ?_publication_date.
  FILTER (?_publication_date >= "2016-00-00T00:00:00Z"^^xsd:dateTime)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?_publication_date") v2("?item"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c9(["en"]):::literal c4(["wd:Q11424"]):::iri f0[["?_publication_date >= '2016-00-00T00:00:00Z^^xsd:dateTime'"]] f0 --> v1 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c4 v2 --"wdt:P577"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end