query-822af6e1014963ccba9bcce227dce46f
PropertiesISSN (P236)replaced by (P1366)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel (COUNT(DISTINCT ?replacement) AS ?replacements)
WHERE {
?item wdt:P236 ?issn ;
wdt:P1366 ?replacement.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?item ?itemLabel
ORDER BY DESC(?replacements)
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?issn")
v2("?item"):::projected
v4("?replacement"):::projected
v5("?replacements")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P236"--> v3
v2 --"wdt:P1366"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind1[/"count(?replacement)"/]
v4 --o bind1
bind1 --as--o v5