{"action":"created","issue":{"url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/215","repository_url":"https://api.github.com/repos/insideout10/wordlift-plugin","labels_url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/215/comments","events_url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/215/events","html_url":"https://github.com/insideout10/wordlift-plugin/issues/215","id":123240702,"number":215,"title":"WL breaks with more inner entities with same label and different schema type","user":{"login":"mcolacino","id":1022181,"avatar_url":"https://avatars.githubusercontent.com/u/1022181?v=3","gravatar_id":"","url":"https://api.github.com/users/mcolacino","html_url":"https://github.com/mcolacino","followers_url":"https://api.github.com/users/mcolacino/followers","following_url":"https://api.github.com/users/mcolacino/following{/other_user}","gists_url":"https://api.github.com/users/mcolacino/gists{/gist_id}","starred_url":"https://api.github.com/users/mcolacino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcolacino/subscriptions","organizations_url":"https://api.github.com/users/mcolacino/orgs","repos_url":"https://api.github.com/users/mcolacino/repos","events_url":"https://api.github.com/users/mcolacino/events{/privacy}","received_events_url":"https://api.github.com/users/mcolacino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/insideout10/wordlift-plugin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/insideout10/wordlift-plugin/labels/high","name":"high","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"mcolacino","id":1022181,"avatar_url":"https://avatars.githubusercontent.com/u/1022181?v=3","gravatar_id":"","url":"https://api.github.com/users/mcolacino","html_url":"https://github.com/mcolacino","followers_url":"https://api.github.com/users/mcolacino/followers","following_url":"https://api.github.com/users/mcolacino/following{/other_user}","gists_url":"https://api.github.com/users/mcolacino/gists{/gist_id}","starred_url":"https://api.github.com/users/mcolacino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcolacino/subscriptions","organizations_url":"https://api.github.com/users/mcolacino/orgs","repos_url":"https://api.github.com/users/mcolacino/repos","events_url":"https://api.github.com/users/mcolacino/events{/privacy}","received_events_url":"https://api.github.com/users/mcolacino/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-21T09:34:52Z","updated_at":"2016-02-04T09:24:54Z","closed_at":null,"body":"The use case is presented in following screenshots: a *user can need to create more custom entities with same label and different schema.org types*. This **breaks** WL becouse the entity uri is composed only considering the label: the side effect is to create in this case just one entity overriding it's data 2 times.\r\n \r\n![schermata 2015-12-21 alle 10 26 45](https://cloud.githubusercontent.com/assets/1022181/11927622/268fa70e-a7ce-11e5-88b4-256319b70f21.png)\r\n![schermata 2015-12-21 alle 10 26 35](https://cloud.githubusercontent.com/assets/1022181/11927623/2690a1cc-a7ce-11e5-97ad-39c07160962b.png)\r\n![schermata 2015-12-21 alle 10 26 19](https://cloud.githubusercontent.com/assets/1022181/11927624/269341ca-a7ce-11e5-9b2a-bb267aae96c9.png)\r\n"},"comment":{"url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/comments/179727935","html_url":"https://github.com/insideout10/wordlift-plugin/issues/215#issuecomment-179727935","issue_url":"https://api.github.com/repos/insideout10/wordlift-plugin/issues/215","id":179727935,"user":{"login":"mcolacino","id":1022181,"avatar_url":"https://avatars.githubusercontent.com/u/1022181?v=3","gravatar_id":"","url":"https://api.github.com/users/mcolacino","html_url":"https://github.com/mcolacino","followers_url":"https://api.github.com/users/mcolacino/followers","following_url":"https://api.github.com/users/mcolacino/following{/other_user}","gists_url":"https://api.github.com/users/mcolacino/gists{/gist_id}","starred_url":"https://api.github.com/users/mcolacino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcolacino/subscriptions","organizations_url":"https://api.github.com/users/mcolacino/orgs","repos_url":"https://api.github.com/users/mcolacino/repos","events_url":"https://api.github.com/users/mcolacino/events{/privacy}","received_events_url":"https://api.github.com/users/mcolacino/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T09:24:54Z","updated_at":"2016-02-04T09:24:54Z","body":"As we discussed in the hackathon the final solution is to continue to use the label to compose the uri appending an *integer* when a given uri already exists. **In this way we could also support multiple entities with same label and same type** (entities synonyms).\r\n \r\n@cyberandy @ziodave there is only  a warning about this approach: we are supposing the the entities match within the analysis cannot fault and we know that it's not so true indeed.\r\n\r\nI suggest to deploy this change together with a UI enhancement for disambiguation widget: we have to suggest existing entities during the new entity creation workflow to avoid to create unexpected duplicated entities when the analysis fails in detecting internal entities in the post content.  \r\n "}}