{"action":"closed","number":748,"pull_request":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748","id":177181219,"html_url":"https://github.com/NatLibFi/Skosmos/pull/748","diff_url":"https://github.com/NatLibFi/Skosmos/pull/748.diff","patch_url":"https://github.com/NatLibFi/Skosmos/pull/748.patch","issue_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/748","number":748,"state":"closed","locked":false,"title":"Add SKOS relations to JSON-LD serialization","user":{"login":"danmichaelo","id":434495,"avatar_url":"https://avatars1.githubusercontent.com/u/434495?v=4","gravatar_id":"","url":"https://api.github.com/users/danmichaelo","html_url":"https://github.com/danmichaelo","followers_url":"https://api.github.com/users/danmichaelo/followers","following_url":"https://api.github.com/users/danmichaelo/following{/other_user}","gists_url":"https://api.github.com/users/danmichaelo/gists{/gist_id}","starred_url":"https://api.github.com/users/danmichaelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmichaelo/subscriptions","organizations_url":"https://api.github.com/users/danmichaelo/orgs","repos_url":"https://api.github.com/users/danmichaelo/repos","events_url":"https://api.github.com/users/danmichaelo/events{/privacy}","received_events_url":"https://api.github.com/users/danmichaelo/received_events","type":"User","site_admin":false},"body":"Realized earlier today that `skos:relatedMatch` is returned as `related:Match` in the JSON-LD serialization.. [example](http://data.ub.uio.no/skosmos/rest/v1/data?uri=http%3A%2F%2Fdata.ub.uio.no%2Frealfagstermer%2Fc012920&format=application/json)  🌵  Ouch!\r\n\r\nAs a start, I added a failing test case to document it.\r\n\r\nI think the easiest fix is to add the various SKOS mapping properties (exactMatch, closematch, etc.) to the default JSON-LD context). Let me know what you think.","created_at":"2018-03-23T20:51:32Z","updated_at":"2018-04-13T14:17:37Z","closed_at":"2018-04-13T14:17:37Z","merged_at":"2018-04-13T14:17:37Z","merge_commit_sha":"1a5cc6cfa3136fb5244b421fb1d71808b1d9be4d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":101175110,"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/bug","name":"bug","color":"ff4d51","default":true}],"milestone":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/18","html_url":"https://github.com/NatLibFi/Skosmos/milestone/18","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/18/labels","id":3028343,"number":18,"title":"2.0","description":"","creator":{"login":"osma","id":1132830,"avatar_url":"https://avatars0.githubusercontent.com/u/1132830?v=4","gravatar_id":"","url":"https://api.github.com/users/osma","html_url":"https://github.com/osma","followers_url":"https://api.github.com/users/osma/followers","following_url":"https://api.github.com/users/osma/following{/other_user}","gists_url":"https://api.github.com/users/osma/gists{/gist_id}","starred_url":"https://api.github.com/users/osma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osma/subscriptions","organizations_url":"https://api.github.com/users/osma/orgs","repos_url":"https://api.github.com/users/osma/repos","events_url":"https://api.github.com/users/osma/events{/privacy}","received_events_url":"https://api.github.com/users/osma/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":23,"state":"open","created_at":"2018-01-11T11:25:28Z","updated_at":"2018-04-13T14:17:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748/commits","review_comments_url":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748/comments","review_comment_url":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/748/comments","statuses_url":"https://api.github.com/repos/NatLibFi/Skosmos/statuses/1a5cc6cfa3136fb5244b421fb1d71808b1d9be4d","head":{"label":"danmichaelo:test-relatedmatch","ref":"test-relatedmatch","sha":"1a5cc6cfa3136fb5244b421fb1d71808b1d9be4d","user":{"login":"danmichaelo","id":434495,"avatar_url":"https://avatars1.githubusercontent.com/u/434495?v=4","gravatar_id":"","url":"https://api.github.com/users/danmichaelo","html_url":"https://github.com/danmichaelo","followers_url":"https://api.github.com/users/danmichaelo/followers","following_url":"https://api.github.com/users/danmichaelo/following{/other_user}","gists_url":"https://api.github.com/users/danmichaelo/gists{/gist_id}","starred_url":"https://api.github.com/users/danmichaelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmichaelo/subscriptions","organizations_url":"https://api.github.com/users/danmichaelo/orgs","repos_url":"https://api.github.com/users/danmichaelo/repos","events_url":"https://api.github.com/users/danmichaelo/events{/privacy}","received_events_url":"https://api.github.com/users/danmichaelo/received_events","type":"User","site_admin":false},"repo":{"id":40850133,"name":"Skosmos","full_name":"danmichaelo/Skosmos","owner":{"login":"danmichaelo","id":434495,"avatar_url":"https://avatars1.githubusercontent.com/u/434495?v=4","gravatar_id":"","url":"https://api.github.com/users/danmichaelo","html_url":"https://github.com/danmichaelo","followers_url":"https://api.github.com/users/danmichaelo/followers","following_url":"https://api.github.com/users/danmichaelo/following{/other_user}","gists_url":"https://api.github.com/users/danmichaelo/gists{/gist_id}","starred_url":"https://api.github.com/users/danmichaelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmichaelo/subscriptions","organizations_url":"https://api.github.com/users/danmichaelo/orgs","repos_url":"https://api.github.com/users/danmichaelo/repos","events_url":"https://api.github.com/users/danmichaelo/events{/privacy}","received_events_url":"https://api.github.com/users/danmichaelo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danmichaelo/Skosmos","description":"Thesaurus and controlled vocabulary browser using SKOS and SPARQL","fork":true,"url":"https://api.github.com/repos/danmichaelo/Skosmos","forks_url":"https://api.github.com/repos/danmichaelo/Skosmos/forks","keys_url":"https://api.github.com/repos/danmichaelo/Skosmos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danmichaelo/Skosmos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danmichaelo/Skosmos/teams","hooks_url":"https://api.github.com/repos/danmichaelo/Skosmos/hooks","issue_events_url":"https://api.github.com/repos/danmichaelo/Skosmos/issues/events{/number}","events_url":"https://api.github.com/repos/danmichaelo/Skosmos/events","assignees_url":"https://api.github.com/repos/danmichaelo/Skosmos/assignees{/user}","branches_url":"https://api.github.com/repos/danmichaelo/Skosmos/branches{/branch}","tags_url":"https://api.github.com/repos/danmichaelo/Skosmos/tags","blobs_url":"https://api.github.com/repos/danmichaelo/Skosmos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danmichaelo/Skosmos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danmichaelo/Skosmos/git/refs{/sha}","trees_url":"https://api.github.com/repos/danmichaelo/Skosmos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danmichaelo/Skosmos/statuses/{sha}","languages_url":"https://api.github.com/repos/danmichaelo/Skosmos/languages","stargazers_url":"https://api.github.com/repos/danmichaelo/Skosmos/stargazers","contributors_url":"https://api.github.com/repos/danmichaelo/Skosmos/contributors","subscribers_url":"https://api.github.com/repos/danmichaelo/Skosmos/subscribers","subscription_url":"https://api.github.com/repos/danmichaelo/Skosmos/subscription","commits_url":"https://api.github.com/repos/danmichaelo/Skosmos/commits{/sha}","git_commits_url":"https://api.github.com/repos/danmichaelo/Skosmos/git/commits{/sha}","comments_url":"https://api.github.com/repos/danmichaelo/Skosmos/comments{/number}","issue_comment_url":"https://api.github.com/repos/danmichaelo/Skosmos/issues/comments{/number}","contents_url":"https://api.github.com/repos/danmichaelo/Skosmos/contents/{+path}","compare_url":"https://api.github.com/repos/danmichaelo/Skosmos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danmichaelo/Skosmos/merges","archive_url":"https://api.github.com/repos/danmichaelo/Skosmos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danmichaelo/Skosmos/downloads","issues_url":"https://api.github.com/repos/danmichaelo/Skosmos/issues{/number}","pulls_url":"https://api.github.com/repos/danmichaelo/Skosmos/pulls{/number}","milestones_url":"https://api.github.com/repos/danmichaelo/Skosmos/milestones{/number}","notifications_url":"https://api.github.com/repos/danmichaelo/Skosmos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danmichaelo/Skosmos/labels{/name}","releases_url":"https://api.github.com/repos/danmichaelo/Skosmos/releases{/id}","deployments_url":"https://api.github.com/repos/danmichaelo/Skosmos/deployments","created_at":"2015-08-17T00:22:22Z","updated_at":"2016-03-08T21:52:59Z","pushed_at":"2018-04-12T19:14:45Z","git_url":"git://github.com/danmichaelo/Skosmos.git","ssh_url":"git@github.com:danmichaelo/Skosmos.git","clone_url":"https://github.com/danmichaelo/Skosmos.git","svn_url":"https://github.com/danmichaelo/Skosmos","homepage":"","size":43022,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NatLibFi:master","ref":"master","sha":"5d29998fc8c23ebcb0fae7ad0e8f9d0a5e49feaf","user":{"login":"NatLibFi","id":7656207,"avatar_url":"https://avatars2.githubusercontent.com/u/7656207?v=4","gravatar_id":"","url":"https://api.github.com/users/NatLibFi","html_url":"https://github.com/NatLibFi","followers_url":"https://api.github.com/users/NatLibFi/followers","following_url":"https://api.github.com/users/NatLibFi/following{/other_user}","gists_url":"https://api.github.com/users/NatLibFi/gists{/gist_id}","starred_url":"https://api.github.com/users/NatLibFi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatLibFi/subscriptions","organizations_url":"https://api.github.com/users/NatLibFi/orgs","repos_url":"https://api.github.com/users/NatLibFi/repos","events_url":"https://api.github.com/users/NatLibFi/events{/privacy}","received_events_url":"https://api.github.com/users/NatLibFi/received_events","type":"Organization","site_admin":false},"repo":{"id":20015974,"name":"Skosmos","full_name":"NatLibFi/Skosmos","owner":{"login":"NatLibFi","id":7656207,"avatar_url":"https://avatars2.githubusercontent.com/u/7656207?v=4","gravatar_id":"","url":"https://api.github.com/users/NatLibFi","html_url":"https://github.com/NatLibFi","followers_url":"https://api.github.com/users/NatLibFi/followers","following_url":"https://api.github.com/users/NatLibFi/following{/other_user}","gists_url":"https://api.github.com/users/NatLibFi/gists{/gist_id}","starred_url":"https://api.github.com/users/NatLibFi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NatLibFi/subscriptions","organizations_url":"https://api.github.com/users/NatLibFi/orgs","repos_url":"https://api.github.com/users/NatLibFi/repos","events_url":"https://api.github.com/users/NatLibFi/events{/privacy}","received_events_url":"https://api.github.com/users/NatLibFi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NatLibFi/Skosmos","description":"Thesaurus and controlled vocabulary browser using SKOS and SPARQL","fork":false,"url":"https://api.github.com/repos/NatLibFi/Skosmos","forks_url":"https://api.github.com/repos/NatLibFi/Skosmos/forks","keys_url":"https://api.github.com/repos/NatLibFi/Skosmos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NatLibFi/Skosmos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NatLibFi/Skosmos/teams","hooks_url":"https://api.github.com/repos/NatLibFi/Skosmos/hooks","issue_events_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/events{/number}","events_url":"https://api.github.com/repos/NatLibFi/Skosmos/events","assignees_url":"https://api.github.com/repos/NatLibFi/Skosmos/assignees{/user}","branches_url":"https://api.github.com/repos/NatLibFi/Skosmos/branches{/branch}","tags_url":"https://api.github.com/repos/NatLibFi/Skosmos/tags","blobs_url":"https://api.github.com/repos/NatLibFi/Skosmos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NatLibFi/Skosmos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NatLibFi/Skosmos/git/refs{/sha}","trees_url":"https://api.github.com/repos/NatLibFi/Skosmos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NatLibFi/Skosmos/statuses/{sha}","languages_url":"https://api.github.com/repos/NatLibFi/Skosmos/languages","stargazers_url":"https://api.github.com/repos/NatLibFi/Skosmos/stargazers","contributors_url":"https://api.github.com/repos/NatLibFi/Skosmos/contributors","subscribers_url":"https://api.github.com/repos/NatLibFi/Skosmos/subscribers","subscription_url":"https://api.github.com/repos/NatLibFi/Skosmos/subscription","commits_url":"https://api.github.com/repos/NatLibFi/Skosmos/commits{/sha}","git_commits_url":"https://api.github.com/repos/NatLibFi/Skosmos/git/commits{/sha}","comments_url":"https://api.github.com/repos/NatLibFi/Skosmos/comments{/number}","issue_comment_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/comments{/number}","contents_url":"https://api.github.com/repos/NatLibFi/Skosmos/contents/{+path}","compare_url":"https://api.github.com/repos/NatLibFi/Skosmos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NatLibFi/Skosmos/merges","archive_url":"https://api.github.com/repos/NatLibFi/Skosmos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NatLibFi/Skosmos/downloads","issues_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues{/number}","pulls_url":"https://api.github.com/repos/NatLibFi/Skosmos/pulls{/number}","milestones_url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones{/number}","notifications_url":"https://api.github.com/repos/NatLibFi/Skosmos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/labels{/name}","releases_url":"https://api.github.com/repos/NatLibFi/Skosmos/releases{/id}","deployments_url":"https://api.github.com/repos/NatLibFi/Skosmos/deployments","created_at":"2014-05-21T09:34:24Z","updated_at":"2018-04-13T10:02:43Z","pushed_at":"2018-04-13T14:17:35Z","git_url":"git://github.com/NatLibFi/Skosmos.git","ssh_url":"git@github.com:NatLibFi/Skosmos.git","clone_url":"https://github.com/NatLibFi/Skosmos.git","svn_url":"https://github.com/NatLibFi/Skosmos","homepage":"","size":43144,"stargazers_count":96,"watchers_count":96,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":33,"open_issues":117,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748"},"html":{"href":"https://github.com/NatLibFi/Skosmos/pull/748"},"issue":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/issues/748"},"comments":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/issues/748/comments"},"review_comments":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748/comments"},"review_comment":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/pulls/748/commits"},"statuses":{"href":"https://api.github.com/repos/NatLibFi/Skosmos/statuses/1a5cc6cfa3136fb5244b421fb1d71808b1d9be4d"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"osma","id":1132830,"avatar_url":"https://avatars0.githubusercontent.com/u/1132830?v=4","gravatar_id":"","url":"https://api.github.com/users/osma","html_url":"https://github.com/osma","followers_url":"https://api.github.com/users/osma/followers","following_url":"https://api.github.com/users/osma/following{/other_user}","gists_url":"https://api.github.com/users/osma/gists{/gist_id}","starred_url":"https://api.github.com/users/osma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osma/subscriptions","organizations_url":"https://api.github.com/users/osma/orgs","repos_url":"https://api.github.com/users/osma/repos","events_url":"https://api.github.com/users/osma/events{/privacy}","received_events_url":"https://api.github.com/users/osma/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":155,"deletions":22,"changed_files":6}}
{"actor":{"display_login":"osma"}}