query-707b3695719f20fc9aa77695d95bc250

rq turtle/ttl

Next steps for the default label for the previous related message. #Labels_for_editionSee : EncycloPetey, Jahl de Vautban, MartinPoulter, Jane023, Mfchris84, Fnielsen: @Jarekt, Salgo60, Hsarrazin, Akbarali, Epìdosis, Sic19@The default label is still not activated but I think we should prepare. My suggestion is to only add "mul" labels in Latin script on editions only and not removing any label yet. ; with a bit of everything, multilingual edition, original and transcription, simple mistake/error, etc.). https://w.wiki/B2zE), among them 6793 with more than one title (https://w.wiki/B2$2) with 398186 with at least one title (https://w.wiki/B2yo ((Q3331189)version, edition or translation (P31)instance of For some contexte, right now we have 540133 items with I suggest to copy the title as the mul label for these items :

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?q (SAMPLE(?title) AS ?title) (COUNT(?title) AS ?count) WHERE {
  ?q wdt:P31 wd:Q3331189 ;            #edition
     wdt:P1476 ?title ;               #with a title
     rdfs:label ?title .              #with a label strictly identical to the title
  FILTER ( REGEX(?title, "^[A-Z]") )  #this title start by a Latin script character
}
GROUP BY ?q
HAVING ( ?count = 1 )                 #with only one title

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v3("?q"):::projected v4("?title"):::projected c4(["wd:Q3331189"]):::iri f0[["?count = '1^^xsd:integer'"]] f0 --> v4 f1[["regex(?title,'^#91;A-Z#93;')"]] f1 --> v4 v3 --"wdt:P31"--> c4 v3 --"wdt:P1476"--> v4 v3 --"rdfs:label"--> v4 bind4[/"sample(?title)"/] v4 --o bind4 bind4 --as--o v4 bind5[/"count(?title)"/] v4 --o bind5 bind5 --as--o v4