[09:17:16] this will also improve my editing speed :P https://phabricator.wikimedia.org/T96160 [09:33:13] why does the Wikidata API not recognize the 'wbremoveclaims' action? [09:41:07] hmm. looks like the Ruby client is broken. [11:24:25] hoo: good afternoon! [11:45:05] hi sjoerddebruin :) [11:45:43] I saw you found the bug and the benefits of fixing it. :) [11:47:04] Yeah… now it just needs someone to review it [11:47:35] After reading it, do suggestions still get refreshed when you add new statements then? [11:48:08] Sure, because that's a new field with a new suggester instance [11:48:38] Ok great. [12:50:18] help in SPARQL, how do I query for "no value"? I know we use IsBlank for "unknown value" [13:07:37] sjoerddebruin: Thanks for the hint in https://phabricator.wikimedia.org/T104447 [13:25:20] harmonia: That's easy actually: ?item rdf:type wdno:P12345 [13:26:02] hoo: thank youuuuu [13:26:08] I'll try right now [13:27:06] hmm [13:27:54] hoo: do you have an example? I don't seem to use it correctly [13:28:10] One second [13:28:29] no thank you, I fixed it [13:28:34] hoo: no need* [13:28:42] http://tinyurl.com/gmaoed8 [13:29:17] Great :) [13:32:34] you are fantastic :) [13:32:55] Thanks :) [13:36:00] * harmonia added basic queries examples for "unknown value" and "no value" in the SPARQL queries example page [13:57:27] hoo: np, every less task is better. :) [14:02:38] true [14:23:15] harmonia: hi, any query example for "deprecated" rank ? :) [14:24:07] melderick: hmm, I'll search [14:34:57] Are there JSON schema maintained anywhere for the JSON representation of revisions? [14:40:57] melderick: uh, it's easy [14:41:08] melderick: ?item wikibase:rank wikibase:DeprecatedRank . [14:41:26] http://tinyurl.com/j2fsgrx [14:41:31] kjschiroo: The JSON representation is described in https://www.mediawiki.org/wiki/Wikibase/DataModel/JSON [14:41:34] query by Ash_Crow [14:42:23] not ?item [14:42:31] it's in a statement [14:42:56] so you have to use p: to get statements and not values [14:43:13] sorry >< [14:43:20] there's an example at https://www.mediawiki.org/wiki/Wikibase/Indexing/SPARQL_Query_Examples#Deprecated_rank_statements [14:43:20] (but still, it's not complicated) [14:45:05] ah right i see [14:45:09] thanks :) [14:45:37] :) [14:46:01] if you want to see what's in a statement: http://tinyurl.com/j7q52np [14:46:12] in two statements here actually :p [14:46:42] and with the correct parameter: http://tinyurl.com/hd7tosl [14:48:22] hoo, thanks! [14:52:07] Ash_Crow: interesting :) [16:18:47] WikidataFacts http://tinyurl.com/jo6ksgq people dead in the last 7 days :) [16:18:57] (no matter what today is) [16:20:18] WikidataFacts (btw, finally followed you on twitter, i think i didn't because Harmonia_Amanda or Ash_Crow or coyau already retwitted you a lot :D [16:21:23] :P [16:25:33] Alphos: attends, l'opération marche avec un + mais pas avec un - ? [16:25:45] oops [16:26:03] Alphos: wait, it works with a + and not with a - ? [16:26:04] Ash_Crow NOW() - "P7D"^^xsd:duration === 2016-09-01 [16:26:21] (yes, it is a bug) [16:26:48] (yes, i can prove it too : https://query.wikidata.org/#SELECT%20%3Fnow%20WHERE%20%7B%0A%20%20BIND%28%20%28%20NOW%28%29%20-%20%22P7D%22%5E%5Exsd%3Aduration%20%29%20AS%20%3Fnow%20%29%20.%0A%20%20%7D ) [16:27:17] feel free to pass jackie chan's "wtf" meme now [16:27:42] can you please add this fact to the bug in phab ? [16:27:56] oh, already done :) [16:27:58] thanks [21:01:44] Alphos: that’s awesome, thanks! (both things ;) ) [21:02:34] WikidataFacts you're very welcome :) [21:03:24] <3