{"action":"closed","issue":{"url":"https://api.github.com/repos/graknlabs/grakn/issues/4022","repository_url":"https://api.github.com/repos/graknlabs/grakn","labels_url":"https://api.github.com/repos/graknlabs/grakn/issues/4022/labels{/name}","comments_url":"https://api.github.com/repos/graknlabs/grakn/issues/4022/comments","events_url":"https://api.github.com/repos/graknlabs/grakn/issues/4022/events","html_url":"https://github.com/graknlabs/grakn/issues/4022","id":362811184,"node_id":"MDU6SXNzdWUzNjI4MTExODQ=","number":4022,"title":"Rule resolvability and query atomicity not taken into account when planning pt III","user":{"login":"grakn-bot","id":42977137,"node_id":"MDQ6VXNlcjQyOTc3MTM3","avatar_url":"https://avatars2.githubusercontent.com/u/42977137?v=4","gravatar_id":"","url":"https://api.github.com/users/grakn-bot","html_url":"https://github.com/grakn-bot","followers_url":"https://api.github.com/users/grakn-bot/followers","following_url":"https://api.github.com/users/grakn-bot/following{/other_user}","gists_url":"https://api.github.com/users/grakn-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/grakn-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grakn-bot/subscriptions","organizations_url":"https://api.github.com/users/grakn-bot/orgs","repos_url":"https://api.github.com/users/grakn-bot/repos","events_url":"https://api.github.com/users/grakn-bot/events{/privacy}","received_events_url":"https://api.github.com/users/grakn-bot/received_events","type":"User","site_admin":false},"labels":[{"id":406573489,"node_id":"MDU6TGFiZWw0MDY1NzM0ODk=","url":"https://api.github.com/repos/graknlabs/grakn/labels/bug","name":"bug","color":"FF937E","default":true},{"id":1064949303,"node_id":"MDU6TGFiZWwxMDY0OTQ5MzAz","url":"https://api.github.com/repos/graknlabs/grakn/labels/grakn%20core","name":"grakn core","color":"ededed","default":false},{"id":1059995817,"node_id":"MDU6TGFiZWwxMDU5OTk1ODE3","url":"https://api.github.com/repos/graknlabs/grakn/labels/solved","name":"solved","color":"7057FF","default":false},{"id":1064949317,"node_id":"MDU6TGFiZWwxMDY0OTQ5MzE3","url":"https://api.github.com/repos/graknlabs/grakn/labels/v1.3","name":"v1.3","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":{"login":"kasper-piskorski","id":10519067,"node_id":"MDQ6VXNlcjEwNTE5MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/10519067?v=4","gravatar_id":"","url":"https://api.github.com/users/kasper-piskorski","html_url":"https://github.com/kasper-piskorski","followers_url":"https://api.github.com/users/kasper-piskorski/followers","following_url":"https://api.github.com/users/kasper-piskorski/following{/other_user}","gists_url":"https://api.github.com/users/kasper-piskorski/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper-piskorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper-piskorski/subscriptions","organizations_url":"https://api.github.com/users/kasper-piskorski/orgs","repos_url":"https://api.github.com/users/kasper-piskorski/repos","events_url":"https://api.github.com/users/kasper-piskorski/events{/privacy}","received_events_url":"https://api.github.com/users/kasper-piskorski/received_events","type":"User","site_admin":false},"assignees":[{"login":"kasper-piskorski","id":10519067,"node_id":"MDQ6VXNlcjEwNTE5MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/10519067?v=4","gravatar_id":"","url":"https://api.github.com/users/kasper-piskorski","html_url":"https://github.com/kasper-piskorski","followers_url":"https://api.github.com/users/kasper-piskorski/followers","following_url":"https://api.github.com/users/kasper-piskorski/following{/other_user}","gists_url":"https://api.github.com/users/kasper-piskorski/gists{/gist_id}","starred_url":"https://api.github.com/users/kasper-piskorski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasper-piskorski/subscriptions","organizations_url":"https://api.github.com/users/kasper-piskorski/orgs","repos_url":"https://api.github.com/users/kasper-piskorski/repos","events_url":"https://api.github.com/users/kasper-piskorski/events{/privacy}","received_events_url":"https://api.github.com/users/kasper-piskorski/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/graknlabs/grakn/milestones/2","html_url":"https://github.com/graknlabs/grakn/milestone/2","labels_url":"https://api.github.com/repos/graknlabs/grakn/milestones/2/labels","id":3678326,"node_id":"MDk6TWlsZXN0b25lMzY3ODMyNg==","number":2,"title":"v1.3","description":null,"creator":{"login":"grakn-bot","id":42977137,"node_id":"MDQ6VXNlcjQyOTc3MTM3","avatar_url":"https://avatars2.githubusercontent.com/u/42977137?v=4","gravatar_id":"","url":"https://api.github.com/users/grakn-bot","html_url":"https://github.com/grakn-bot","followers_url":"https://api.github.com/users/grakn-bot/followers","following_url":"https://api.github.com/users/grakn-bot/following{/other_user}","gists_url":"https://api.github.com/users/grakn-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/grakn-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grakn-bot/subscriptions","organizations_url":"https://api.github.com/users/grakn-bot/orgs","repos_url":"https://api.github.com/users/grakn-bot/repos","events_url":"https://api.github.com/users/grakn-bot/events{/privacy}","received_events_url":"https://api.github.com/users/grakn-bot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":380,"state":"open","created_at":"2018-09-21T16:41:56Z","updated_at":"2018-09-22T00:39:22Z","due_on":"2018-08-06T07:00:00Z","closed_at":null},"comments":0,"created_at":"2018-09-22T00:39:20Z","updated_at":"2018-09-22T00:39:22Z","closed_at":"2018-09-22T00:39:22Z","author_association":"COLLABORATOR","body":"_This issue was originally posted by @kasper-piskorski  on 2018-07-02 15:31_.\n\nThis leads to slow explanation queries for markit data. Example (explanation) query: \n```\n {{$y id V14274728; {(risk-subject: $x, risk-value: $y) isa risk-exposure; $x isa organisation;};}; $x id V1163440;} \n```\n Slow plan: \n```\n energy-asset($asset), oil-company($company)[$company/V1163440], asset-operator[exploiting-operator: $company, exploited-asset: $asset][$company/V1163440]* { energy-asset($asset); coordinates[place: $asset, location: $geo]; geo-location($geo); risk-exposure[risk-subject: $geo, risk-value: $risk][$risk/V14274728] } \n```\n Time: ~8s Fast plan: \n```\n { energy-asset($asset); coordinates[place: $asset, location: $geo]; geo-location($geo); risk-exposure[risk-subject: $geo, risk-value: $risk][$risk/V14422184] } energy-asset($asset), oil-company($company)[$company/V1163440], asset-operator[exploiting-operator: $company, exploited-asset: $asset][$company/V1163440]* \n```\n Time: ~500 ms I.e. starting with a rule-resolvable atomic query ends up in much slower performance."}}
{"actor":{"display_login":"grakn-bot"}}