Wikidata:Requests for permissions/Bot/Bean49Bot 4 - Wikidata
Article Images
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Approved--Ymblanter (talk) 12:05, 6 February 2023 (UTC)[reply]
Bean49Bot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Bean49 (talk • contribs • logs)
Task/s: Add Springer Nature person ID and Springer Nature article ID by moving from exact match property.
Discussion: WD:RBOT#Request move P2888 to P10861/P10863 .. (2023-01-19)
Function details:
Processing automatic fix too large for the normal way. I query the items with:
SELECT * WHERE { { SELECT ?item ?id WHERE { ?item wdt:P2888 ?value. BIND(STR(?value) AS ?urlstr) BIND(SUBSTR(?urlstr, 44 ) AS ?id) FILTER(STRSTARTS(?urlstr, "https://scigraph.springernature.com/person.")) } LIMIT 100 } FILTER(NOT EXISTS { ?item wdt:P10861 _:b2. }) }
and I add Springer Nature person ID (P10861) by moving from exact match (P2888).
Sample edit: Special:Diff/1815810466.
The same way for P10863 (P10863). --Bean49 (talk) 14:03, 21 January 2023 (UTC)[reply]
- Support Please note that there are also several URLs start with http:// --本日晴天 (talk) 14:57, 21 January 2023 (UTC)[reply]
- Thank you, I will take into account. --Bean49 (talk) 15:11, 21 January 2023 (UTC)[reply]
The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made in a new section.