query-6c1fa025aa0d01d297e88fc04f676b16

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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
#title:Authors in IRIS SNS by presence in VIAF members
#defaultView:BubbleChart
SELECT ?bibp ?bib (COUNT(?item) AS ?count)
WHERE {
  { SELECT ?bibp ?bib WHERE { ?bibp wdt:P31 wd:Q55586529 ; p:P1552 [ ps:P1552 wd:Q26921380 ; pq:P3295 ?bib ] . } }
  ?item wdt:P9761 [] ; ?bibst [] . ?bibp wikibase:directClaim ?bibst .
} GROUP BY ?bib ?bibp
ORDER BY ?count

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?bib"):::projected v2("?bibp"):::projected v5("?bibst") v6("?count") v4("?item"):::projected a2((" ")) a3((" ")) a1((" ")) c2(["wd:Q55586529"]):::iri c4(["wd:Q26921380"]):::iri v2 --"p:direct/P31"--> c2 a1 --"p:statement/P1552"--> c4 a1 --"p:qualifier/P3295"--> v3 v2 --"p:P1552"--> a1 v4 --"p:direct/P9761"--> a2 v4 -->v5--> a3 v2 --"wikibase:directClaim"--> v5 bind1[/"count(?item)"/] v4 --o bind1 bind1 --as--o v6