{"action":"created","issue":{"url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/153","labels_url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/153/comments","events_url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/153/events","html_url":"https://github.com/jsonld-java/jsonld-java/issues/153","id":114074031,"number":153,"title":"abbreviation should use longest possible prefix (Jena RIOT)","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,"milestone":null,"comments":1,"created_at":"2015-10-29T15:24:32Z","updated_at":"2015-10-29T22:47:25Z","closed_at":null,"body":"Look at the files in #152. They define prefixes like this (and many similar pairs):\r\n```\r\n    \"aat\" : \"http://vocab.getty.edu/aat/\",\r\n    \"aat_rev\" : \"http://vocab.getty.edu/aat/rev/\",\r\n```\r\nInside the jsonld, the following cURI is emitted:\r\n* `\"aat:rev/5003693123\"`\r\nI think it should use the longer prefix and should be:\r\n* `\"aat_rev:5003693123\"`\r\n\r\nIn this case there isn't much of a difference, but consider eg dbr: vs dbc: http://prefix.cc/dbc,dbr.file.jsonld\r\n```js\r\n    \"@context\": {\r\n        \"dbc\": \"http://dbpedia.org/resource/Category:\",\r\n        \"dbr\": \"http://dbpedia.org/resource/\"\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/comments/152349011","html_url":"https://github.com/jsonld-java/jsonld-java/issues/153#issuecomment-152349011","issue_url":"https://api.github.com/repos/jsonld-java/jsonld-java/issues/153","id":152349011,"user":{"login":"ansell","id":82365,"avatar_url":"https://avatars.githubusercontent.com/u/82365?v=3","gravatar_id":"","url":"https://api.github.com/users/ansell","html_url":"https://github.com/ansell","followers_url":"https://api.github.com/users/ansell/followers","following_url":"https://api.github.com/users/ansell/following{/other_user}","gists_url":"https://api.github.com/users/ansell/gists{/gist_id}","starred_url":"https://api.github.com/users/ansell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansell/subscriptions","organizations_url":"https://api.github.com/users/ansell/orgs","repos_url":"https://api.github.com/users/ansell/repos","events_url":"https://api.github.com/users/ansell/events{/privacy}","received_events_url":"https://api.github.com/users/ansell/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T22:47:25Z","updated_at":"2015-10-29T22:47:25Z","body":"I will look into how the determination of the prefix to use is done."}}