Anonymous

Bibliographical Items: Difference between revisions

From eneoli wikibase
Line 43: Line 43:
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
   SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?languageLabel ?num_of_articles order by desc(?num_of_articles)
} group by ?languageLabel ?num_of_articles order by desc(?num_of_articles)
</sparql>
== Bibliographical item types and number of articles ==
<sparql tryit="1">
#title: Bibliographical item types
#defaultView:BubbleChart
PREFIX enwb: <https://eneoli.wikibase.cloud/entity/>
PREFIX endp: <https://eneoli.wikibase.cloud/prop/direct/>
select ?typeLabel (count(distinct ?item) as ?number_of_articles)
     
where {
  ?item endp:P5 enwb:Q2; endp:P6 ?type.
 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?typeLabel ?number_of_articles order by desc(?number_of_articles)
</sparql>
</sparql>