query-5884e2a97a895f8781d80cee2cc9d4d0
Gartenlaube
Use at
- https://query.wikidata.org/sparql
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 ?artikel ?artikelLabel (COUNT(?heft) AS ?countParts) WHERE {
?artikel wdt:P1433 wd:Q655617; wdt:P433 ?heft.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?artikel ?artikelLabel
HAVING (?countParts > 1)
ORDER BY ASC(?countParts)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?artikel"):::projected
v4("?countParts")
v3("?heft"):::projected
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q655617"]):::iri
f0[["?countParts > '1^^xsd:integer'"]]
f0 --> v4
v2 --"wdt:P1433"--> c3
v2 --"wdt:P433"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind2[/"count(?heft)"/]
v3 --o bind2
bind2 --as--o v4