{"id":449,"date":"2020-01-15T15:07:39","date_gmt":"2020-01-15T15:07:39","guid":{"rendered":"http:\/\/wikidata.wwwnlsrc4.supercp.com\/?page_id=449"},"modified":"2020-01-17T14:54:28","modified_gmt":"2020-01-17T14:54:28","slug":"multiple-values","status":"publish","type":"post","link":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/simple-queries\/adding-variables\/multiple-values\/","title":{"rendered":"Multiple values"},"content":{"rendered":"\n<h2>Properties with multiple values<\/h2>\n\n\n\n<p>Multiple values for a property is not a problem for a database like Wikidata. There is nothing wrong with having several values for the same property. For certain statements \u2013 such as the children of a person or the official languages of a country \u2013 it is perfectly reasonable to have multiple values. Essentially these are additional property-value pairs.\u00a0<br><\/p>\n\n\n\n<p>For example for item Star Wars Episode V: The Empire Strikes Back (Q181795) the screenwriter property has these values:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"922\" height=\"307\" src=\"https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/Star-Wars-Episode-V-screenwriter.png\" alt=\"\" class=\"wp-image-452\" srcset=\"https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/Star-Wars-Episode-V-screenwriter.png 922w, https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/Star-Wars-Episode-V-screenwriter-300x100.png 300w, https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/Star-Wars-Episode-V-screenwriter-768x256.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/figure><\/div>\n\n\n\n<p>A graphic representation would be:<br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" width=\"771\" height=\"257\" src=\"https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/screenwriters.png\" alt=\"\" class=\"wp-image-454\" srcset=\"https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/screenwriters.png 771w, https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/screenwriters-300x100.png 300w, https:\/\/wdqs-tutorial.toolforge.org\/wp-content\/uploads\/2020\/01\/screenwriters-768x256.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><figcaption>A graphic representation of the director and screenwriter properties and their values for Wikidata item Q181795<\/figcaption><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Properties with multiple values Multiple values for a property is not a problem for a database like Wikidata. There is nothing wrong with having several values for the same property. For certain statements \u2013 such as the children of a person or the official languages of a country \u2013 it is perfectly reasonable to have [&hellip;]<\/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":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/449"}],"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=449"}],"version-history":[{"count":5,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"predecessor-version":[{"id":457,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions\/457"}],"wp:attachment":[{"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wdqs-tutorial.toolforge.org\/index.php\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}