query-36adb6b9e1ba675f259d6104d7e5c6f7
Položky s totožným ID
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT * WHERE {
{
SELECT ?nkcr (COUNT(?obj) AS ?count) (GROUP_CONCAT(?obj; SEPARATOR = " , ") AS ?items) WHERE {
?obj p:P691 [ps:P691 ?nkcr ; wikibase:rank ?rank ] filter(?rank != wikibase:DeprecatedRank).
}
GROUP BY ?nkcr
}
FILTER(?count > 1)
}
order by desc (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?count"):::projected
v5("?items"):::projected
v3("?nkcr"):::projected
v4("?obj")
v2("?rank")
a1((" "))
f0[["?count > '1^^xsd:integer'"]]
f0 --> v5
f1[["?rank != 'wikibase:DeprecatedRank'"]]
f1 --> v2
a1 --"p:statement/P691"--> v3
a1 --"wikibase:rank"--> v2
v4 --"p:P691"--> a1
bind4[/"count(?obj)"/]
v4 --o bind4
bind4 --as--o v5
bind5[/"?obj"/]
v4 --o bind5
bind5 --as--o v5