{"action":"created","issue":{"url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/151","repository_url":"https://api.github.com/repos/digitalbazaar/jsonld.js","labels_url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/151/comments","events_url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/151/events","html_url":"https://github.com/digitalbazaar/jsonld.js/issues/151","id":174492562,"number":151,"title":"compact with lang map produces full URL if no lang","user":{"login":"VladimirAlexiev","id":536250,"avatar_url":"https://avatars.githubusercontent.com/u/536250?v=3","gravatar_id":"","url":"https://api.github.com/users/VladimirAlexiev","html_url":"https://github.com/VladimirAlexiev","followers_url":"https://api.github.com/users/VladimirAlexiev/followers","following_url":"https://api.github.com/users/VladimirAlexiev/following{/other_user}","gists_url":"https://api.github.com/users/VladimirAlexiev/gists{/gist_id}","starred_url":"https://api.github.com/users/VladimirAlexiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladimirAlexiev/subscriptions","organizations_url":"https://api.github.com/users/VladimirAlexiev/orgs","repos_url":"https://api.github.com/users/VladimirAlexiev/repos","events_url":"https://api.github.com/users/VladimirAlexiev/events{/privacy}","received_events_url":"https://api.github.com/users/VladimirAlexiev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T10:46:28Z","updated_at":"2016-09-09T17:22:58Z","closed_at":null,"body":"I load [gvp-context.jsonld](https://gist.githubusercontent.com/VladimirAlexiev/6ab60b6a0e1ab32a2f3980c57b005d8f/raw/fca31891bc51b68b34afc77143a886ee3098a4e2/gvp-context.jsonld) and [ulan_500115493_Albrecht_Duerer.jsonld](https://gist.github.com/VladimirAlexiev/6ab60b6a0e1ab32a2f3980c57b005d8f/raw/fca31891bc51b68b34afc77143a886ee3098a4e2/ulan_500115493_Albrecht_Duerer.jsonld) to http://json-ld.org/playground/ and do Compact.\r\n\r\nThe context declares `rdfs:label` as lang map:\r\n```json\r\n    \"rdfs:label\" : {\"@container\": \"@language\"},\r\n```\r\n\r\nThere are several labels with lang and many more without, so the result is:\r\n```json\r\n      \"rdfs:label\": {\r\n        \"de\": [\r\n          \"Dürer, Albrecht\",\r\n          \"Albrecht Dürer\"\r\n        ],\r\n        \"ja\": \"デューラー, アルブレヒト\",\r\n        \"zh\": \"阿尔布雷希特·丢勒\"\r\n      },\r\n      \"http://www.w3.org/2000/01/rdf-schema#label\": [\r\n        \"Duerer, Albrecht\",\r\n        \"Albrecht Duerer\",\r\n        \"Durer, Albrecht\",\r\n        \"Türer, Albrecht\",\r\n```\r\n\r\nWhy would it emit the full prop URL in the latter case (no lang), instead of the prefixed prop name?\r\n\r\nI observed the same defect for data props that are (unnecessarily?) declared `xsd:string` in the context."},"comment":{"url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/comments/245980384","html_url":"https://github.com/digitalbazaar/jsonld.js/issues/151#issuecomment-245980384","issue_url":"https://api.github.com/repos/digitalbazaar/jsonld.js/issues/151","id":245980384,"user":{"login":"VladimirAlexiev","id":536250,"avatar_url":"https://avatars.githubusercontent.com/u/536250?v=3","gravatar_id":"","url":"https://api.github.com/users/VladimirAlexiev","html_url":"https://github.com/VladimirAlexiev","followers_url":"https://api.github.com/users/VladimirAlexiev/followers","following_url":"https://api.github.com/users/VladimirAlexiev/following{/other_user}","gists_url":"https://api.github.com/users/VladimirAlexiev/gists{/gist_id}","starred_url":"https://api.github.com/users/VladimirAlexiev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VladimirAlexiev/subscriptions","organizations_url":"https://api.github.com/users/VladimirAlexiev/orgs","repos_url":"https://api.github.com/users/VladimirAlexiev/repos","events_url":"https://api.github.com/users/VladimirAlexiev/events{/privacy}","received_events_url":"https://api.github.com/users/VladimirAlexiev/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T17:22:58Z","updated_at":"2016-09-09T17:22:58Z","body":"@azaroth42 pyld (the Python jsonld library) has the same bug, can you post it to their tracker?\r\nOr am I missing something and this fall back to the full prop URL is expected behavior?"}}
{"actor":{"display_login":"VladimirAlexiev"}}