query-afee392036af367cd767b30c6bb8de58
Related from co-citations
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#>
PREFIX target: <http://www.wikidata.org/entity/Q18507561>
SELECT
?count
?work ?workLabel
(CONCAT("#work/", SUBSTR(STR(?work), 32)) AS ?workUrl)
?workDescription
WHERE {
{
SELECT
(COUNT(?work) AS ?count)
?work
WHERE {
FILTER (target: != ?work)
target: (^wdt:P2860| wdt:P2860) / (^wdt:P2860 | wdt:P2860)? ?work .
}
GROUP BY ?work
LIMIT 500
} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count"):::projected
v2("?work"):::projected
v3("?workUrl")
a1((" "))
c4(["bd:serviceParam"]):::iri
c1([http://www.wikidata.org/entity/Q18507561]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["http://www.wikidata.org/entity/Q18507561 != ?work"]]
f0 --> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
c1 --"wdt:P2860"--> a1
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P2860"--> c1
end
union0r <== or ==> union0l
end
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P2860"--> v2
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P2860"--> a1
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
end
union1r <== or ==> union1l
end
bind2[/"count(?work)"/]
v2 --o bind2
bind2 --as--o v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
bind3[/"concat('#work/',substring(str(?work),'32^^xsd:integer'))"/]
v2 --o bind3
bind3 --as--o v3