query-8789034fef7e2197a90bf70fd8f80428

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?book ?bookLabel (COUNT(?page) AS ?count) WHERE {
 ?book wdt:P31 wd:Q571 .
 ?page schema:about ?book .
 ?page schema:isPartOf/wikibase:wikiGroup "wikisource" .
 SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
GROUP BY ?book ?bookLabel
HAVING (?count > 2)
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?book"):::projected v4("?count") v3("?page"):::projected a1((" ")) c9(["bd:serviceParam"]):::iri c11(["en"]):::literal c7(["wikisource"]):::literal c3(["wd:Q571"]):::iri f0[["?count > '2^^xsd:integer'"]] f0 --> v4 v2 --"wdt:P31"--> c3 v3 --"schema:about"--> v2 v3 --"schema:isPartOf"--> a1 a1 --"wikibase:wikiGroup"--> c7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end bind2[/"count(?page)"/] v3 --o bind2 bind2 --as--o v4