{"action":"opened","issue":{"url":"https://api.github.com/repos/linkedpipes/etl/issues/136","repository_url":"https://api.github.com/repos/linkedpipes/etl","labels_url":"https://api.github.com/repos/linkedpipes/etl/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/linkedpipes/etl/issues/136/comments","events_url":"https://api.github.com/repos/linkedpipes/etl/issues/136/events","html_url":"https://github.com/linkedpipes/etl/issues/136","id":153402032,"number":136,"title":"SPARQL CONSTRUCT DPU produces invalid SPARQL Update","user":{"login":"jindrichmynarz","id":198642,"avatar_url":"https://avatars.githubusercontent.com/u/198642?v=3","gravatar_id":"","url":"https://api.github.com/users/jindrichmynarz","html_url":"https://github.com/jindrichmynarz","followers_url":"https://api.github.com/users/jindrichmynarz/followers","following_url":"https://api.github.com/users/jindrichmynarz/following{/other_user}","gists_url":"https://api.github.com/users/jindrichmynarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jindrichmynarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jindrichmynarz/subscriptions","organizations_url":"https://api.github.com/users/jindrichmynarz/orgs","repos_url":"https://api.github.com/users/jindrichmynarz/repos","events_url":"https://api.github.com/users/jindrichmynarz/events{/privacy}","received_events_url":"https://api.github.com/users/jindrichmynarz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T08:22:26Z","updated_at":"2016-05-06T08:22:26Z","closed_at":null,"body":"SPARQL CONSTRUCT DPU can produce invalid SPARQL Update. In such cases, the DPU fails with the following error, indicating that `CONSTRUCT` was not rewritten to Update:\r\n\r\n```\r\norg.openrdf.query.parser.sparql.ast.ParseException: Encountered \" \"construct\" \"CONSTRUCT \"\" at line 4, column 1.\r\nWas expecting one of:\r\n    <EOF>\r\n    \";\" ...\r\n    \"base\" ...\r\n    \"prefix\" ...\r\n    \"load\" ...\r\n    \"clear\" ...\r\n    \"drop\" ...\r\n    \"add\" ...\r\n    \"move\" ...\r\n    \"copy\" ...\r\n    \"create\" ...\r\n    \"insert\" ...\r\n    \"delete\" ...\r\n    \"with\" ...\r\n```\r\n\r\nSample pipeline to reproduce the problem can be found [here](https://gist.github.com/jindrichmynarz/6e53da67fd4d5f0f41648d69b65d0d1b).\r\n\r\nTested on b6675cc1fa2c9e89aefd61b761b41d6debdb9e45."}}