query-d92f2f23a3351111e1cd19c366616baf

rq turtle/ttl

Interactive bubble chart with novels in the ELTeC collection, where size of sircle is number of pages

Use at

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#>
#defaultView:BubbleChart
SELECT DISTINCT ?novel ?novelLabel ?num_pages ?num_words 
WHERE {
  ?novel  wdt:P31  wd:Q7725634;
           wdt:P747 ?edition.
  ?edition  wdt:P1433 ?corpus;
            wdt:P1104 ?num_pages;
            wdt:P6570 ?num_words.
  ?corpus wdt:P361 wd:Q106927517.
SERVICE wikibase:label 
{ bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?corpus") v2("?edition") v1("?novel"):::projected v4("?num_pages"):::projected v5("?num_words"):::projected c10(["bd:serviceParam"]):::iri c8(["wd:Q106927517"]):::iri c2(["wd:Q7725634"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P31"--> c2 v1 --"wdt:P747"--> v2 v2 --"wdt:P1433"--> v3 v2 --"wdt:P1104"--> v4 v2 --"wdt:P6570"--> v5 v3 --"wdt:P361"--> c8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end