{"action":"reopened","issue":{"url":"https://api.github.com/repos/hbz/lobid-resources/issues/38","repository_url":"https://api.github.com/repos/hbz/lobid-resources","labels_url":"https://api.github.com/repos/hbz/lobid-resources/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/hbz/lobid-resources/issues/38/comments","events_url":"https://api.github.com/repos/hbz/lobid-resources/issues/38/events","html_url":"https://github.com/hbz/lobid-resources/issues/38","id":136684934,"number":38,"title":"Don't use relators as property but indicate relator via \"role\" property","user":{"login":"acka47","id":160292,"avatar_url":"https://avatars.githubusercontent.com/u/160292?v=3","gravatar_id":"","url":"https://api.github.com/users/acka47","html_url":"https://github.com/acka47","followers_url":"https://api.github.com/users/acka47/followers","following_url":"https://api.github.com/users/acka47/following{/other_user}","gists_url":"https://api.github.com/users/acka47/gists{/gist_id}","starred_url":"https://api.github.com/users/acka47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acka47/subscriptions","organizations_url":"https://api.github.com/users/acka47/orgs","repos_url":"https://api.github.com/users/acka47/repos","events_url":"https://api.github.com/users/acka47/events{/privacy}","received_events_url":"https://api.github.com/users/acka47/received_events","type":"User","site_admin":false},"labels":[{"id":332025195,"url":"https://api.github.com/repos/hbz/lobid-resources/labels/API%202.0","name":"API 2.0","color":"d4c5f9","default":false},{"id":253346697,"url":"https://api.github.com/repos/hbz/lobid-resources/labels/processing","name":"processing","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"dr0i","id":944023,"avatar_url":"https://avatars.githubusercontent.com/u/944023?v=3","gravatar_id":"","url":"https://api.github.com/users/dr0i","html_url":"https://github.com/dr0i","followers_url":"https://api.github.com/users/dr0i/followers","following_url":"https://api.github.com/users/dr0i/following{/other_user}","gists_url":"https://api.github.com/users/dr0i/gists{/gist_id}","starred_url":"https://api.github.com/users/dr0i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr0i/subscriptions","organizations_url":"https://api.github.com/users/dr0i/orgs","repos_url":"https://api.github.com/users/dr0i/repos","events_url":"https://api.github.com/users/dr0i/events{/privacy}","received_events_url":"https://api.github.com/users/dr0i/received_events","type":"User","site_admin":false},"assignees":[{"login":"dr0i","id":944023,"avatar_url":"https://avatars.githubusercontent.com/u/944023?v=3","gravatar_id":"","url":"https://api.github.com/users/dr0i","html_url":"https://github.com/dr0i","followers_url":"https://api.github.com/users/dr0i/followers","following_url":"https://api.github.com/users/dr0i/following{/other_user}","gists_url":"https://api.github.com/users/dr0i/gists{/gist_id}","starred_url":"https://api.github.com/users/dr0i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr0i/subscriptions","organizations_url":"https://api.github.com/users/dr0i/orgs","repos_url":"https://api.github.com/users/dr0i/repos","events_url":"https://api.github.com/users/dr0i/events{/privacy}","received_events_url":"https://api.github.com/users/dr0i/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-02-26T12:26:11Z","updated_at":"2016-12-20T08:47:11Z","closed_at":null,"body":"As discussed in #10 , we will indicate the roles of a contributor in the contributor object with the \"role\" property and won't use relators as properties.\n\nExample:\n\n``` json\n{\n  \"@context\": {\n    \"id\": \"@id\",\n    \"type\": \"@type\",\n    \"role\": \"http://bibframe.org/vocab/relator\",\n    \"contributor\": {\n      \"@type\": \"@id\",\n      \"@id\": \"http://purl.org/dc/terms/contributor\",\n      \"@container\": \"@set\"\n    },\n    \"label\": \"http://www.w3.org/2000/01/rdf-schema#label\",\n    \"altLabel\": \"http://www.w3.org/2004/02/skos/core#altLabel\",\n    \"subject\": {\n      \"@type\": \"@id\",\n      \"@id\": \"http://purl.org/dc/terms/subject\",\n      \"@container\": \"@list\"\n    }\n  },\n  \"@id\" : \"http://lobid.org/resources/HT018843259#!\",\n  \"contributor\": [ {\n    \"id\": \"http://d-nb.info/gnd/118548018\",\n    \"type\": \"DifferentiatedPerson\",\n    \"role\": {\n      \"id\": \"http://id.loc.gov/vocabulary/relators/cre\",\n      \"label\": \"Autor/in\"\n    },\n    \"label\": \"Becker, Thomas Paul\",\n    \"altLabel\": [ \"Becker, Thomas P.\" ]\n  } ],\n  \"subject\": [ {\n     \"id\" : \"http://d-nb.info/gnd/4031485-6\",\n     \"type\": \"PlaceOrGeographicName\",\n     \"label\": \"Erzstift Köln\",\n     \"altLabel\": [ \"Kölner Krieg\", \"Truchsessischer Krieg\" ]\n  } ]\n}\n```\n\nWe won't be able to only use a string as value for \"role\" as proposed in #10 but will – as you can see in the example – also use the [side car approach](https://github.com/hbz/lobid-rdf-to-json/issues/30) here – giving us presentation labels for the different roles in the data.\n"}}
{"actor":{"display_login":"dr0i"}}