query-c4b24d39d54af969671aac5e1deaeaa8

rq turtle/ttl

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

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

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?id"):::projected v2("?item"):::projected v1("?rank") v4("?statement"):::projected c5(["wd:Q385405"]):::iri f0[["?rank != 'wikibase:DeprecatedRank'"]] f0 --> v1 v2 --"p:direct/P762"--> v3 v2 --"p:P1435"--> v4 v4 --"p:statement/P1435"--> c5 v4 --"wikibase:rank"--> v1