{"action":"closed","issue":{"url":"https://api.github.com/repos/IIIF/iiif.io/issues/677","labels_url":"https://api.github.com/repos/IIIF/iiif.io/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/IIIF/iiif.io/issues/677/comments","events_url":"https://api.github.com/repos/IIIF/iiif.io/issues/677/events","html_url":"https://github.com/IIIF/iiif.io/issues/677","id":123542868,"number":677,"title":"Rename iiif:size in image context","user":{"login":"azaroth42","id":871868,"avatar_url":"https://avatars.githubusercontent.com/u/871868?v=3","gravatar_id":"","url":"https://api.github.com/users/azaroth42","html_url":"https://github.com/azaroth42","followers_url":"https://api.github.com/users/azaroth42/followers","following_url":"https://api.github.com/users/azaroth42/following{/other_user}","gists_url":"https://api.github.com/users/azaroth42/gists{/gist_id}","starred_url":"https://api.github.com/users/azaroth42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azaroth42/subscriptions","organizations_url":"https://api.github.com/users/azaroth42/orgs","repos_url":"https://api.github.com/users/azaroth42/repos","events_url":"https://api.github.com/users/azaroth42/events{/privacy}","received_events_url":"https://api.github.com/users/azaroth42/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IIIF/iiif.io/labels/image","name":"image","color":"207de5"},{"url":"https://api.github.com/repos/IIIF/iiif.io/labels/Ready%20for%20Review","name":"Ready for Review","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"azaroth42","id":871868,"avatar_url":"https://avatars.githubusercontent.com/u/871868?v=3","gravatar_id":"","url":"https://api.github.com/users/azaroth42","html_url":"https://github.com/azaroth42","followers_url":"https://api.github.com/users/azaroth42/followers","following_url":"https://api.github.com/users/azaroth42/following{/other_user}","gists_url":"https://api.github.com/users/azaroth42/gists{/gist_id}","starred_url":"https://api.github.com/users/azaroth42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azaroth42/subscriptions","organizations_url":"https://api.github.com/users/azaroth42/orgs","repos_url":"https://api.github.com/users/azaroth42/repos","events_url":"https://api.github.com/users/azaroth42/events{/privacy}","received_events_url":"https://api.github.com/users/azaroth42/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IIIF/iiif.io/milestones/5","html_url":"https://github.com/IIIF/iiif.io/milestones/Image%202.1","labels_url":"https://api.github.com/repos/IIIF/iiif.io/milestones/5/labels","id":701935,"number":5,"title":"Image 2.1","description":"Image API version 2.1","creator":{"login":"azaroth42","id":871868,"avatar_url":"https://avatars.githubusercontent.com/u/871868?v=3","gravatar_id":"","url":"https://api.github.com/users/azaroth42","html_url":"https://github.com/azaroth42","followers_url":"https://api.github.com/users/azaroth42/followers","following_url":"https://api.github.com/users/azaroth42/following{/other_user}","gists_url":"https://api.github.com/users/azaroth42/gists{/gist_id}","starred_url":"https://api.github.com/users/azaroth42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azaroth42/subscriptions","organizations_url":"https://api.github.com/users/azaroth42/orgs","repos_url":"https://api.github.com/users/azaroth42/repos","events_url":"https://api.github.com/users/azaroth42/events{/privacy}","received_events_url":"https://api.github.com/users/azaroth42/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":27,"state":"open","created_at":"2014-06-26T00:08:56Z","updated_at":"2015-12-27T15:06:33Z","due_on":"2016-02-15T05:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-22T19:34:50Z","updated_at":"2015-12-27T15:06:33Z","closed_at":"2015-12-27T15:06:33Z","body":"\r\nIn writing the JSON-LD implementation note, I realized we can get ourselves out of the inadvertent size expansion issue by simply renaming the RDF predicate `iiif:size` to `iiif:hasSize`.  As we don't consider the RDF mapping to be subject to semver (per the rights/license discussion), we can change it in 2.1\r\n\r\nThe issue:  `sizes` maps to `iiif:size`.  We have features like: `iiif:sizeByW`, so the compaction algorithm sees that if can make a short term by using those together:  `sizes:ByW` has the same expansion as `iiif:sizeByW` with fewer characters.\r\n\r\nThus by renaming to `iiif:hasSize` we avoid the unexpected compaction.  Note that the Ruby RDF library from @gkellogg has a workaround in it already to avoid this, but it's not part of the official JSON-LD 1.0 expansion algorithm."}}