query-f71c0e8ab9a2c4e48af18cc0dc6d7800

rq turtle/ttl

Types of libraries Akbarali SEgt-WMF Pierre Tribhou Mfchris84 Maxime Rhagfyr Olugold Madamebiblio ]reply[TT me T7Tris Skim 06:21, 11 November 2021 (UTC)) talk (Zblace) 17:19, 20 April 2021 (UTC) talk (Pvperez1) 11:01, 21 July 2020 (UTC) talk (Blrtg1) 09:55, 8 June 2020 (UTC) talk (HelsKRW Mlemusrojas Alexmar983 Epìdosis LadyofShalott Simon Cobb BeatrixBelibaste Susanna Giaccai Ijon Louize5 Alicia Fagerving (WMSE) Delphine Dallison VIGNERON Jason.nlw Hi all! While revising metadata of types of libraries in a public archive (we will provide more details during the next week, there are few steps to be taken with the institutions involved for the disclosure), we've realised that there is a specific onthology of libraries as follows: participants of WikiProject Libraries Notified private libraries. libraries of cultural institutions (museums or theatres); libraries of religious institutes; academic libraries (universities or centers); national libraries; public libraries;): (Q25397890)type of library (P31)instance of or have (P31)instance of (the ones which are used at least one time as (Q7075)library list. We would like to enlarge it and standardise it. We also have created this query, that shows most of the existing subclasses of to be doneWe then checked the main page of the project and we discovered the

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?library ?libraryLabel
WHERE {
  ?singlelibrary wdt:P31 ?library .
  { ?library wdt:P279 wd:Q7075 . } UNION { ?library wdt:P31 wd:Q25397890 . }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,it,[AUTO_LANGUAGE]". }
}
GROUP BY ?library ?libraryLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?library"):::projected v1("?singlelibrary") c8(["en,it,#91;AUTO_LANGUAGE#93;"]):::literal c3(["wd:Q7075"]):::iri c6(["bd:serviceParam"]):::iri c4(["wd:Q25397890"]):::iri v1 --"wdt:P31"--> v2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P31"--> c4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v2 --"wdt:P279"--> c3 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end