{"action":"closed","issue":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/53","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/53/comments","events_url":"https://api.github.com/repos/NatLibFi/Skosmos/issues/53/events","html_url":"https://github.com/NatLibFi/Skosmos/issues/53","id":40791725,"number":53,"title":"Same concept appears multiple times in search results","user":{"login":"osma","id":1132830,"avatar_url":"https://avatars.githubusercontent.com/u/1132830?v=3","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},"labels":[{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/bug","name":"bug","color":"ff4d51"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/needs%20unittest","name":"needs unittest","color":"5319e7"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/REST","name":"REST","color":"006b75"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/search%20results","name":"search results","color":"009800"},{"url":"https://api.github.com/repos/NatLibFi/Skosmos/labels/size-large","name":"size-large","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"osma","id":1132830,"avatar_url":"https://avatars.githubusercontent.com/u/1132830?v=3","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},"milestone":{"url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/11","html_url":"https://github.com/NatLibFi/Skosmos/milestones/1.4","labels_url":"https://api.github.com/repos/NatLibFi/Skosmos/milestones/11/labels","id":1318095,"number":11,"title":"1.4","description":"","creator":{"login":"osma","id":1132830,"avatar_url":"https://avatars.githubusercontent.com/u/1132830?v=3","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":3,"closed_issues":39,"state":"open","created_at":"2015-09-22T10:00:05Z","updated_at":"2015-12-16T16:11:54Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2014-08-21T10:34:47Z","updated_at":"2015-12-16T16:11:54Z","closed_at":"2015-12-16T16:11:54Z","body":"## At which URL did you encounter the problem?\r\nhttp://dev.finto.fi/sv/search?lang=&q=ufologia&vocabs=yso\r\n\r\n## What steps will reproduce the problem?\r\n1. Go to above URL (or perform another search which matches both the prefLabel and altLabel of a concept)\r\n\r\n## What is the expected output? What do you see instead?\r\n\r\nExpected to see the concept only once, but instead seeing several matches: one via prefLabel, another via altLabel. These should probably be merged into just one visible result, but how to do that is a difficult question. The SPARQL queryConcepts method considers all matches separately."}}