{"action":"created","issue":{"url":"https://api.github.com/repos/zazuko/zack-search/issues/10","repository_url":"https://api.github.com/repos/zazuko/zack-search","labels_url":"https://api.github.com/repos/zazuko/zack-search/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/zazuko/zack-search/issues/10/comments","events_url":"https://api.github.com/repos/zazuko/zack-search/issues/10/events","html_url":"https://github.com/zazuko/zack-search/issues/10","id":207505764,"number":10,"title":"detach the \"search by text\" part of the sparql queries","user":{"login":"l00mi","id":502518,"avatar_url":"https://avatars.githubusercontent.com/u/502518?v=3","gravatar_id":"","url":"https://api.github.com/users/l00mi","html_url":"https://github.com/l00mi","followers_url":"https://api.github.com/users/l00mi/followers","following_url":"https://api.github.com/users/l00mi/following{/other_user}","gists_url":"https://api.github.com/users/l00mi/gists{/gist_id}","starred_url":"https://api.github.com/users/l00mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l00mi/subscriptions","organizations_url":"https://api.github.com/users/l00mi/orgs","repos_url":"https://api.github.com/users/l00mi/repos","events_url":"https://api.github.com/users/l00mi/events{/privacy}","received_events_url":"https://api.github.com/users/l00mi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bergos","id":626142,"avatar_url":"https://avatars.githubusercontent.com/u/626142?v=3","gravatar_id":"","url":"https://api.github.com/users/bergos","html_url":"https://github.com/bergos","followers_url":"https://api.github.com/users/bergos/followers","following_url":"https://api.github.com/users/bergos/following{/other_user}","gists_url":"https://api.github.com/users/bergos/gists{/gist_id}","starred_url":"https://api.github.com/users/bergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergos/subscriptions","organizations_url":"https://api.github.com/users/bergos/orgs","repos_url":"https://api.github.com/users/bergos/repos","events_url":"https://api.github.com/users/bergos/events{/privacy}","received_events_url":"https://api.github.com/users/bergos/received_events","type":"User","site_admin":false},"assignees":[{"login":"bergos","id":626142,"avatar_url":"https://avatars.githubusercontent.com/u/626142?v=3","gravatar_id":"","url":"https://api.github.com/users/bergos","html_url":"https://github.com/bergos","followers_url":"https://api.github.com/users/bergos/followers","following_url":"https://api.github.com/users/bergos/following{/other_user}","gists_url":"https://api.github.com/users/bergos/gists{/gist_id}","starred_url":"https://api.github.com/users/bergos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergos/subscriptions","organizations_url":"https://api.github.com/users/bergos/orgs","repos_url":"https://api.github.com/users/bergos/repos","events_url":"https://api.github.com/users/bergos/events{/privacy}","received_events_url":"https://api.github.com/users/bergos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-02-14T12:46:04Z","updated_at":"2017-02-14T12:46:06Z","closed_at":null,"body":"_From @l00mi on September 12, 2016 5:34_\n\nIn preparation for Stardog and as optimization for the current queries:\n# filter for documents only\n\nAdding the document identifier`Zack.resultType` like following as standard in the filters:\n`?sub a <http://data.archiveshub.ac.uk/def/ArchivalResource> .`\n# remove the text search instead adding \"*\" if not set\n\nInstead of providing a \\* as `searchString` remove the complete part of the query handling the text match:\n\n```\nGRAPH <http://data.alod.ch/graph/inference-supertitle> {$\n   (?sub ?score ?literal) text:query (skos:hiddenLabel \"${searchString}\") .$\n}\n```\n\n I propose to create another text snippet to be composed to the other queries: `zack.textmatch-part.sparql`\n\n\n_Copied from original issue: zazuko/swiss-archival-institutions#34_"},"comment":{"url":"https://api.github.com/repos/zazuko/zack-search/issues/comments/279698135","html_url":"https://github.com/zazuko/zack-search/issues/10#issuecomment-279698135","issue_url":"https://api.github.com/repos/zazuko/zack-search/issues/10","id":279698135,"user":{"login":"l00mi","id":502518,"avatar_url":"https://avatars.githubusercontent.com/u/502518?v=3","gravatar_id":"","url":"https://api.github.com/users/l00mi","html_url":"https://github.com/l00mi","followers_url":"https://api.github.com/users/l00mi/followers","following_url":"https://api.github.com/users/l00mi/following{/other_user}","gists_url":"https://api.github.com/users/l00mi/gists{/gist_id}","starred_url":"https://api.github.com/users/l00mi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l00mi/subscriptions","organizations_url":"https://api.github.com/users/l00mi/orgs","repos_url":"https://api.github.com/users/l00mi/repos","events_url":"https://api.github.com/users/l00mi/events{/privacy}","received_events_url":"https://api.github.com/users/l00mi/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T12:46:05Z","updated_at":"2017-02-14T12:46:05Z","body":"_From @bergos on February 3, 2017 17:23_\n\nImplemented with [this commit](https://github.com/zazuko/zack-search/commit/e780146d5aa6b52cb5c5ba0c625e3925f4fc665e).\r\n\r\n@l00mi the queries don't work if that part is removed. I'm using [this dummy](https://github.com/zazuko/zack-search/blob/dev/queries/zack.textmatch-dummy.part.sparql). Can you check if this is the best solution or if the queries should be changed?"}}
{"actor":{"display_login":"l00mi"}}