{"id":907,"date":"2020-02-03T16:52:59","date_gmt":"2020-02-03T16:52:59","guid":{"rendered":"http:\/\/wikidata.wwwnlsrc4.supercp.com\/?p=907"},"modified":"2020-11-29T14:48:38","modified_gmt":"2020-11-29T14:48:38","slug":"exercise-dates","status":"publish","type":"post","link":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/when-queries\/exercise-dates\/","title":{"rendered":"Exercise: dates"},"content":{"rendered":"\n<h4>| Exercise: Write a query that shows when women who are heads of government of sovereign states were born<\/h4>\n\n\n\n<p>Hint: select sovereign states (Q3624078) that have a head of government (P6)  who is a woman (i.e., sex (P21) has the value female (Q6581072)), and retrieve their dates of birth.<\/p>\n\n\n\n<iframe class=\"\" src=\"https:\/\/query.wikidata.org\/\" style=\"width:100%;max-width:100%;height:450px\" frameborder=\"0\"><\/iframe>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-coblocks-accordion\">\n<div class=\"wp-block-coblocks-accordion-item\"><details><summary class=\"wp-block-coblocks-accordion-item__title\">show solution<\/summary><div class=\"wp-block-coblocks-accordion-item__content\">\n<p><\/p>\n\n\n\n<iframe class=\"\" src=\"https:\/\/query.wikidata.org\/#%23%20Birth%20dates%20of%20Women%20who%20are%20head%20of%20government%20of%20sovereign%20states%0A%23defaultView%3ATimeline%0A%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fhead%20%3FheadLabel%20%3Fdate%0AWHERE%20%0A%7B%20%20%3Fitem%20wdt%3AP31%20wd%3AQ3624078.%20%20%20%20%23%20item%20is%20an%20instance%20of%20sovereign%20state%0A%20%20%20%3Fitem%20wdt%3AP6%20%3Fhead.%20%20%20%20%20%20%20%20%20%20%20%23%20item%27s%20head%20of%20government%20is%20collected%20by%20%3Fhead%20variable%0A%20%20%20%3Fhead%20wdt%3AP21%20wd%3AQ6581072.%20%20%20%20%23%20head%20of%20government%20is%20female%0A%20%20%20%3Fhead%20wdt%3AP569%20%3Fdate.%20%20%20%20%20%20%20%20%20%23%20value%20of%20date%20of%20birth%20is%20collected%20by%20%3Fdate%20variable%20%0A%20%20%20%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%22.%20%7D%0A%7D\" style=\"width:100%;max-width:100%;height:450px\" frameborder=\"0\"><\/iframe>\n\n\n\n<p><\/p>\n<\/div><\/details><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>| Exercise: Write a query that shows when women who are heads of government of sovereign states were born Hint: select sovereign states (Q3624078) that have a head of government (P6) who is a woman (i.e., sex (P21) has the value female (Q6581072)), and retrieve their dates of birth.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/907"}],"collection":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/comments?post=907"}],"version-history":[{"count":15,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/907\/revisions"}],"predecessor-version":[{"id":1979,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/907\/revisions\/1979"}],"wp:attachment":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/media?parent=907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/categories?post=907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/tags?post=907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}