{"action":"opened","issue":{"url":"https://api.github.com/repos/AKSW/QuitStore/issues/125","repository_url":"https://api.github.com/repos/AKSW/QuitStore","labels_url":"https://api.github.com/repos/AKSW/QuitStore/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/AKSW/QuitStore/issues/125/comments","events_url":"https://api.github.com/repos/AKSW/QuitStore/issues/125/events","html_url":"https://github.com/AKSW/QuitStore/issues/125","id":313001970,"number":125,"title":"INSERT WHERE does not work correctly","user":{"login":"white-gecko","id":1018168,"avatar_url":"https://avatars1.githubusercontent.com/u/1018168?v=4","gravatar_id":"","url":"https://api.github.com/users/white-gecko","html_url":"https://github.com/white-gecko","followers_url":"https://api.github.com/users/white-gecko/followers","following_url":"https://api.github.com/users/white-gecko/following{/other_user}","gists_url":"https://api.github.com/users/white-gecko/gists{/gist_id}","starred_url":"https://api.github.com/users/white-gecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/white-gecko/subscriptions","organizations_url":"https://api.github.com/users/white-gecko/orgs","repos_url":"https://api.github.com/users/white-gecko/repos","events_url":"https://api.github.com/users/white-gecko/events{/privacy}","received_events_url":"https://api.github.com/users/white-gecko/received_events","type":"User","site_admin":false},"labels":[{"id":406257355,"url":"https://api.github.com/repos/AKSW/QuitStore/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"splattater","id":1556061,"avatar_url":"https://avatars2.githubusercontent.com/u/1556061?v=4","gravatar_id":"","url":"https://api.github.com/users/splattater","html_url":"https://github.com/splattater","followers_url":"https://api.github.com/users/splattater/followers","following_url":"https://api.github.com/users/splattater/following{/other_user}","gists_url":"https://api.github.com/users/splattater/gists{/gist_id}","starred_url":"https://api.github.com/users/splattater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splattater/subscriptions","organizations_url":"https://api.github.com/users/splattater/orgs","repos_url":"https://api.github.com/users/splattater/repos","events_url":"https://api.github.com/users/splattater/events{/privacy}","received_events_url":"https://api.github.com/users/splattater/received_events","type":"User","site_admin":false},"assignees":[{"login":"splattater","id":1556061,"avatar_url":"https://avatars2.githubusercontent.com/u/1556061?v=4","gravatar_id":"","url":"https://api.github.com/users/splattater","html_url":"https://github.com/splattater","followers_url":"https://api.github.com/users/splattater/followers","following_url":"https://api.github.com/users/splattater/following{/other_user}","gists_url":"https://api.github.com/users/splattater/gists{/gist_id}","starred_url":"https://api.github.com/users/splattater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splattater/subscriptions","organizations_url":"https://api.github.com/users/splattater/orgs","repos_url":"https://api.github.com/users/splattater/repos","events_url":"https://api.github.com/users/splattater/events{/privacy}","received_events_url":"https://api.github.com/users/splattater/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/AKSW/QuitStore/milestones/2","html_url":"https://github.com/AKSW/QuitStore/milestone/2","labels_url":"https://api.github.com/repos/AKSW/QuitStore/milestones/2/labels","id":2874395,"number":2,"title":"Important Issues","description":"","creator":{"login":"white-gecko","id":1018168,"avatar_url":"https://avatars1.githubusercontent.com/u/1018168?v=4","gravatar_id":"","url":"https://api.github.com/users/white-gecko","html_url":"https://github.com/white-gecko","followers_url":"https://api.github.com/users/white-gecko/followers","following_url":"https://api.github.com/users/white-gecko/following{/other_user}","gists_url":"https://api.github.com/users/white-gecko/gists{/gist_id}","starred_url":"https://api.github.com/users/white-gecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/white-gecko/subscriptions","organizations_url":"https://api.github.com/users/white-gecko/orgs","repos_url":"https://api.github.com/users/white-gecko/repos","events_url":"https://api.github.com/users/white-gecko/events{/privacy}","received_events_url":"https://api.github.com/users/white-gecko/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2017-10-30T11:12:18Z","updated_at":"2018-04-10T16:37:11Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-04-10T16:37:11Z","updated_at":"2018-04-10T16:37:11Z","closed_at":null,"author_association":"OWNER","body":"Executing an `INSERT WHERE` query is correctly executed on the repository but not on the store. This results in two problems:\r\n1. `INSERT WHERE` does not work correctly\r\n2. The repository and the stographre can get out of sync, which violates ACID!!!!\r\n\r\nMWE:\r\ngraph `http://example.org/`, `graph.nq`:\r\n\r\n    <urn:x> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <urn:y> <http://example.org/> .\r\n\r\ngraph `http://aksw.org/`, `aksw.nq`:\r\n\r\nquery:\r\n\r\n    INSERT {\r\n      GRAPH <http://aksw.org/> {\r\n        ?a <urn:label> \"Apfel\" .\r\n      }\r\n    } WHERE {\r\n      GRAPH <http://example.org/> {\r\n        ?a a <urn:y> .\r\n      }\r\n    }\r\n\r\nresult:\r\n\r\n    select * { graph ?g { ?s ?p ?o }}\r\n\r\nhas one result, while two are expected.\r\n\r\n`aksw.nq`:\r\n\r\n    <urn:x> <urn:label> \"Apfel\" <http://aksw.org/> .\r\n"}}
{"actor":{"display_login":"white-gecko"}}