query-c4b24d39d54af969671aac5e1deaeaa8
Feature request: edit SPARQL-selected statements ]reply[23:39, 11 February 2021 (UTC)) talk (Lucas WerkmeisterCopying this here from project chat, since I didn’t get around to respond before it got archived: --, thanks for your work on this! I think it's high time we had some nice tools for editing ranks. This is really useful, although I often want to mass-edit statements in more than one item. It would be great if I could load more statements using a SPARQL query, such as this one:LucasHello - New tool: Rankerscreenshot of the tool 17:19, 30 January 2021 (UTC)) talk (Lucas Werkmeister as the result :) cheers! --this edit, or just look at this video or this tweet), which lets you edit the rank of multiple statements at once. You can find a usage example in documentation (RankerHi all! This is just a quick note that I wrote a new tool, called , thanks for your work on this! I think it's high time we had some nice tools for editing ranks. This is really useful, although I often want to mass-edit statements in more than one item. It would be great if I could load more statements using a SPARQL query, such as this one:LucasHello -
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
select ?item ?id ?statement where {
?item wdt:P762 ?id .
?item p:P1435 ?statement .
?statement ps:P1435 wd:Q385405 ; wikibase:rank ?rank filter(?rank != wikibase:DeprecatedRank) .
} limit 10
Query found at
- https://www.wikidata.org/wiki/User_talk:Lucas_Werkmeister/Ranker
- https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2021/01
- https://www.wikidata.org/wiki/Wikidata:Project_chat/Archive/2021/02