{"id":572,"date":"2018-10-02T16:13:57","date_gmt":"2018-10-02T15:13:57","guid":{"rendered":"http:\/\/blog.magnusmanske.de\/?p=572"},"modified":"2018-10-02T16:42:06","modified_gmt":"2018-10-02T15:42:06","slug":"the-blind-referee","status":"publish","type":"post","link":"http:\/\/magnusmanske.de\/wordpress\/archives\/572","title":{"rendered":"The blind referee"},"content":{"rendered":"\r\n\r\nA quick blog post, before the WordPress editor dies on my again&#8230;\r\n\r\n\r\n\r\n\r\n\r\nWikidata is great. Wikidata with references is even better. So I have written a little tool called <strong>Ref<\/strong>eree. It checks a Wikidata item, collects web pages that are linked via external ID statements, and via associated Wikipedia pages, and checks them for potential matches of statements (birth dates, locations, etc.).\r\n\r\n\r\n\r\n\r\n\r\nIf you add a little invocation to your common.js page on Wikidata:\r\n\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">importScript( 'User:Magnus_Manske\/referee.js' );<\/pre>\r\n\r\n\r\n\r\n\r\nit will automatically check on every Wikidata item load if there are potential references for that item in the cache, and display them with the appropriate statement, with one-click add\/reject links.\r\n\r\n\r\n\r\n\r\n\r\nIf you put this line:\r\n\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">referee_mode = 'manual' ;<\/pre>\r\n\r\n\r\n\r\n\r\n<em>before<\/em> the importScript invocation, it will not check automatically, but wait for you to click the &#8220;Referee&#8221; link in the toolbox sidebar. However, in manual, it will force a check (might take a few seconds) in case there are no reference candidates; the toolbar link will remain highlighted while the check is running.\r\n\r\n\r\n\r\n\r\n\r\nI made <a href=\"https:\/\/youtu.be\/9t8DgKDiJ5A\">a brief video<\/a> demonstrating the interface. Enjoy.\r\n\r\n<em>Addendum<\/em>: Forgot to mention that the tool does not work on certain instances (P31) of items, namely &#8220;taxon&#8221; and &#8220;scholarly article&#8221;. This is to keep the load on the scraper low, plus these types are special cases and would likely profit more from dedicated scraper systems.","protected":false},"excerpt":{"rendered":"<p>A quick blog post, before the WordPress editor dies on my again&#8230; Wikidata is great. Wikidata with references is even better. So I have written a little tool called Referee. It checks a Wikidata item, collects web pages that are linked via external ID statements, and via associated Wikipedia pages, and checks them for potential [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-572","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/posts\/572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/comments?post=572"}],"version-history":[{"count":3,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/posts\/572\/revisions"}],"predecessor-version":[{"id":575,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/posts\/572\/revisions\/575"}],"wp:attachment":[{"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/media?parent=572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/categories?post=572"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/magnusmanske.de\/wordpress\/wp-json\/wp\/v2\/tags?post=572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}