query-707b3695719f20fc9aa77695d95bc250
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
- https://query.wikidata.org/sparql
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