query-539df8518a0671182cc10fbfbfc8709e
]reply[13:59, 26 May 2017 (UTC)) talk (Whidou--]reply[06:15, 27 May 2017 (UTC)) talk (Edgars2007Note, that your query doesn't find all ?artist (only with the best rank); at least, it shouldn't. --Before starting to work on this task (if it will be approved), please collect few more descriptions in dictionary. Add the Romanian description, please: "{}"album de :"ro" XXN15:20, 28 May 2017 (UTC)]reply[]reply[15:20, 28 May 2017 (UTC), XXN. [1]; seems that the bot is not able yet to handle such situations(Q113189)Let's Dance There exists albums with multiple performers, e.g.: two edits, and they could be much more. IMO, it is important to not clutter the item history with 10-20 consecutive edits doing the same thing.hereWhen itearating through items could you do all needed verifications and then to add all descriptions in a single edit? I noticed accordingly: WhidouBot: Thank you for your suggestions. I took them into account and upgraded XXN, Edgars2007@Romanian and Japanese descriptions are now included. All descriptions are added in a single edit. are now skipped.(P175)performer with multiple (Q482994)album Here is what the new queries look like:
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?album ?artist WHERE
{
{
SELECT ?album ( COUNT(DISTINCT ?artist ) as ?nArtists ) WHERE
{
?album wdt:P31 wd:Q482994 .
?album wdt:P175 ?artist .
MINUS
{
?album schema:description ?description .
FILTER( LANG( ?description ) = "fr" ) .
}
}
GROUP BY ?album
HAVING(?nArtists = 1)
}
?album wdt:P175 ?artist .
?artist rdfs:label ?artistLabel .
FILTER( LANG( ?artistLabel ) = "fr" ) .
}
LIMIT 100