{"id":59,"date":"2018-02-21T01:17:57","date_gmt":"2018-02-21T01:17:57","guid":{"rendered":"http:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/?p=59"},"modified":"2018-02-21T12:44:55","modified_gmt":"2018-02-21T12:44:55","slug":"practical-lets-get-nautical","status":"publish","type":"post","link":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/practical-lets-get-nautical\/","title":{"rendered":"Practical &#8211; Let&#8217;s get nautical"},"content":{"rendered":"<p>Creating <strong>Listeria<\/strong> lists is a great way of finding out what information Wikidata possesses and, by extension, what Wikipedia may be missing.<\/p>\n<p>e.g.<\/p>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Wikipedia:WikiProject_Women_in_Red\">WikiProject Women in Red<\/a> use <a href=\"https:\/\/en.wikipedia.org\/wiki\/Wikipedia:WikiProject_Women_in_Red#Worklists\">Wikidata red lists <\/a>to ascertain where to focus their editing efforts when creating new pages about notable women.<\/li>\n<li><a href=\"https:\/\/www.mysociety.org\/\">MySociety<\/a> use them to identify politicians missing from Wikidata as part of their <a href=\"http:\/\/everypolitician.org\/\">EveryPolitician<\/a> project.<\/li>\n<\/ul>\n<p>But there are other ways of getting data out of Wikidata.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Getting data out of Wikidata<\/strong><\/p>\n<ul>\n<li><u><b><a href=\"https:\/\/www.wikidata.org\/w\/api.php\">API<\/a><\/b><\/u><\/li>\n<\/ul>\n<p>For getting data about individual Wikidata items (or groups of up to 50)<\/p>\n<ul>\n<li><u><b><a href=\"https:\/\/query.wikidata.org\/\">SPARQL Endpoint<\/a><\/b><\/u><\/li>\n<\/ul>\n<p>Run advanced queries and get back data for up to around 200k items<\/p>\n<ul>\n<li><u><b><a href=\"https:\/\/www.wikidata.org\/wiki\/Wikidata:Database_download\">Data Dump<\/a><\/b><\/u><\/li>\n<\/ul>\n<p>Download all available data for large scale local processing of any size<\/p>\n<p><u><a href=\"https:\/\/www.wikidata.org\/wiki\/Wikidata:Data_access\">Read more about Wikidata data access \u2192 <\/a><\/u><\/p>\n<p>&nbsp;<\/p>\n<p><strong>What is SPARQL?<\/strong> Visit <a href=\"http:\/\/www.query.wikidata.org\/\">www.query.wikidata.org\u00a0<\/a><\/p>\n<p>SPARQL is a programming language for querying \u2018linked data\u2019 stored on the web.<\/p>\n<p>It\u2019s essentially a set of commands that allow you to find exactly the data you want.<\/p>\n<p>Learning SPARQL will allow you to query Wikidata, but also the countless other data sources offering a SPARQL query service<\/p>\n<ul>\n<li><\/li>\n<li><i>E.g<\/i><i>. Show me a list of all Female Chemists, along with their date of birth, place of birth, and the map coordinates of their place of birth.<\/i><\/li>\n<\/ul>\n<p><i>How <\/i><i>hard would it be to do that using Google<\/i><i>!?!<\/i><\/p>\n<ul>\n<li><i><a href=\"https:\/\/media.ed.ac.uk\/media\/Wikidata+Sparql+Query+Tutorial\/1_7v9v6s04\">Video tutorial 1 \u2013 Getting started building SPARQL queries<\/a><\/i><i>.<\/i><\/li>\n<li><i><a href=\"https:\/\/media.ed.ac.uk\/media\/How+to+build+SPARQL+queries+to+retrieve+visualise+data+in+Wikidata\/1_qee9002u\">Video tutorial 2 \u2013 SPARQL query workshop.<\/a><\/i><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Practical &#8211; a SPARQL query about ships.<\/strong><\/p>\n<ul>\n<li><a href=\"http:\/\/tinyurl.com\/y8yxr5a4\">Ships on Wikidata that have an article on Wikipedia BUT only 3 or fewer statements on Wikidata.<\/a><\/li>\n<li><u><b><a href=\"http:\/\/tinyurl.com\/l6gwvf6\">Timeline of ships, colour coded by type<\/a><\/b><\/u>\u00a0&#8211; With extra filters for &#8216;country&#8217; and &#8216;operator&#8217;<br \/>\nNote: The colour code is a bit misleading here as some of the ships will have multiple &#8220;type&#8221; (e.g. instance of &#8220;ship&#8221; and instance of &#8220;battleship&#8221; on the same item), but it does give a good general picture.<\/li>\n<li><u><b><a href=\"http:\/\/tinyurl.com\/jwozwyy\">Timeline of ships, colour coded by country<\/a><\/b><\/u>\u00a0&#8211; Extra filters for &#8216;type&#8217; and operator&#8217;<\/li>\n<li><u><b><a href=\"http:\/\/tinyurl.com\/j5w7epl\">Map of shipwrecks<\/a><\/b><\/u><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>The task is to contribute to the data available to either:<\/strong><\/p>\n<ol>\n<li>The ships on Wikidata above. Using information from the Wikipedia articles can you add more data? Can it be referenced from a reliable source using the Reference URL? Check prominent examples such as <a href=\"https:\/\/www.wikidata.org\/wiki\/Q25173\">RMS Titanic<\/a> to see how many properties could be included.<\/li>\n<li>The notable women in medicine Listeria list. Can more be added? Place of birth data? Date of birth data? Place of education data? Can it be referenced with a Reference URL? If not we can use the property<em> Imported from <\/em>and the value <em>English Wikipedia<\/em> as a placeholder reference.<\/li>\n<\/ol>\n<ul>\n<li>Add <u><a href=\"https:\/\/www.wikidata.org\/wiki\/Property:P569\">Date of birth (P569)<\/a><\/u> data.<\/li>\n<li>Add <u><a href=\"https:\/\/www.wikidata.org\/wiki\/Property:P19\">Place of birth (P19)<\/a><\/u> data.<\/li>\n<li>Add references to backup claims.<\/li>\n<\/ul>\n<p><b>To add a reference<\/b><\/p>\n<ul>\n<li>Check the Wikipedia page to see if a reference has been added.<\/li>\n<li>If not, Google search depending on what you are looking to reference; place of education, place of birth or date of birth.<\/li>\n<li>Once you have found corroboration from a <u><a href=\"https:\/\/en.wikipedia.org\/wiki\/Wikipedia:Identifying_reliable_sources\">reliable published source<\/a><\/u>, copy the URL web address and paste into the Reference URL field in Wikidata. Click Save.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Creating Listeria lists is a great way of finding out what information Wikidata possesses and, by extension, what Wikipedia may be missing. e.g. WikiProject Women in Red use Wikidata red lists to ascertain where to focus their editing efforts when creating new pages about notable women. MySociety use them to identify politicians missing from Wikidata [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":60,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":3,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":63,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/posts\/59\/revisions\/63"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/media\/60"}],"wp:attachment":[{"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinking.is.ed.ac.uk\/wikidata-basics\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}