{"action":"created","comment":{"url":"https://api.github.com/repos/knakk/sparql/pulls/comments/218077422","pull_request_review_id":155934800,"id":218077422,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODA3NzQyMg==","diff_hunk":"@@ -105,11 +105,29 @@ func (r *Repo) Query(q string) (*Results, error) {\n \treturn results, nil\n }\n \n-// Construct performs a SPARQL HTTP request to the Repo, and returns the\n+// Construct performs a SPARQL HTTP query request to the Repo, and returns the\n // result triples.\n func (r *Repo) Construct(q string) ([]rdf.Triple, error) {\n+\tresp, err := r.send(\"query\", q)\n+\tif err != nil {\n+\t\treturn nil, err\n+\t}\n+\tdec := rdf.NewTripleDecoder(resp.Body, rdf.Turtle)\n+\treturn dec.DecodeAll()\n+}\n+\n+// Update performs a SPARQL HTTP update request to the Repo, and returns the","path":"repo.go","position":null,"original_position":16,"commit_id":"30eedf32eff52bcb5d876caf1d076ccd23f41ee9","original_commit_id":"acc84a32e3a684c2533c37ff83e1e4dce694c291","user":{"login":"jcoyne","id":92044,"node_id":"MDQ6VXNlcjkyMDQ0","avatar_url":"https://avatars2.githubusercontent.com/u/92044?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"Okay, I've removed that part. ","created_at":"2018-09-17T13:54:35Z","updated_at":"2018-09-17T13:54:35Z","html_url":"https://github.com/knakk/sparql/pull/10#discussion_r218077422","pull_request_url":"https://api.github.com/repos/knakk/sparql/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/knakk/sparql/pulls/comments/218077422"},"html":{"href":"https://github.com/knakk/sparql/pull/10#discussion_r218077422"},"pull_request":{"href":"https://api.github.com/repos/knakk/sparql/pulls/10"}},"in_reply_to_id":217612741},"pull_request":{"url":"https://api.github.com/repos/knakk/sparql/pulls/10","id":215341886,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MzQxODg2","html_url":"https://github.com/knakk/sparql/pull/10","diff_url":"https://github.com/knakk/sparql/pull/10.diff","patch_url":"https://github.com/knakk/sparql/pull/10.patch","issue_url":"https://api.github.com/repos/knakk/sparql/issues/10","number":10,"state":"open","locked":false,"title":"Add SPARQL Update support","user":{"login":"jcoyne","id":92044,"node_id":"MDQ6VXNlcjkyMDQ0","avatar_url":"https://avatars2.githubusercontent.com/u/92044?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-13T16:29:52Z","updated_at":"2018-09-17T13:54:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89d4a3782819c6132fa70e669d1ff9ed76bb24d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/knakk/sparql/pulls/10/commits","review_comments_url":"https://api.github.com/repos/knakk/sparql/pulls/10/comments","review_comment_url":"https://api.github.com/repos/knakk/sparql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/knakk/sparql/issues/10/comments","statuses_url":"https://api.github.com/repos/knakk/sparql/statuses/30eedf32eff52bcb5d876caf1d076ccd23f41ee9","head":{"label":"jcoyne:update","ref":"update","sha":"30eedf32eff52bcb5d876caf1d076ccd23f41ee9","user":{"login":"jcoyne","id":92044,"node_id":"MDQ6VXNlcjkyMDQ0","avatar_url":"https://avatars2.githubusercontent.com/u/92044?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"repo":{"id":148665571,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg2NjU1NzE=","name":"sparql","full_name":"jcoyne/sparql","private":false,"owner":{"login":"jcoyne","id":92044,"node_id":"MDQ6VXNlcjkyMDQ0","avatar_url":"https://avatars2.githubusercontent.com/u/92044?v=4","gravatar_id":"","url":"https://api.github.com/users/jcoyne","html_url":"https://github.com/jcoyne","followers_url":"https://api.github.com/users/jcoyne/followers","following_url":"https://api.github.com/users/jcoyne/following{/other_user}","gists_url":"https://api.github.com/users/jcoyne/gists{/gist_id}","starred_url":"https://api.github.com/users/jcoyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcoyne/subscriptions","organizations_url":"https://api.github.com/users/jcoyne/orgs","repos_url":"https://api.github.com/users/jcoyne/repos","events_url":"https://api.github.com/users/jcoyne/events{/privacy}","received_events_url":"https://api.github.com/users/jcoyne/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jcoyne/sparql","description":"SPARQL utilities for Go","fork":true,"url":"https://api.github.com/repos/jcoyne/sparql","forks_url":"https://api.github.com/repos/jcoyne/sparql/forks","keys_url":"https://api.github.com/repos/jcoyne/sparql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcoyne/sparql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcoyne/sparql/teams","hooks_url":"https://api.github.com/repos/jcoyne/sparql/hooks","issue_events_url":"https://api.github.com/repos/jcoyne/sparql/issues/events{/number}","events_url":"https://api.github.com/repos/jcoyne/sparql/events","assignees_url":"https://api.github.com/repos/jcoyne/sparql/assignees{/user}","branches_url":"https://api.github.com/repos/jcoyne/sparql/branches{/branch}","tags_url":"https://api.github.com/repos/jcoyne/sparql/tags","blobs_url":"https://api.github.com/repos/jcoyne/sparql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcoyne/sparql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcoyne/sparql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcoyne/sparql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcoyne/sparql/statuses/{sha}","languages_url":"https://api.github.com/repos/jcoyne/sparql/languages","stargazers_url":"https://api.github.com/repos/jcoyne/sparql/stargazers","contributors_url":"https://api.github.com/repos/jcoyne/sparql/contributors","subscribers_url":"https://api.github.com/repos/jcoyne/sparql/subscribers","subscription_url":"https://api.github.com/repos/jcoyne/sparql/subscription","commits_url":"https://api.github.com/repos/jcoyne/sparql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcoyne/sparql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcoyne/sparql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcoyne/sparql/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcoyne/sparql/contents/{+path}","compare_url":"https://api.github.com/repos/jcoyne/sparql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcoyne/sparql/merges","archive_url":"https://api.github.com/repos/jcoyne/sparql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcoyne/sparql/downloads","issues_url":"https://api.github.com/repos/jcoyne/sparql/issues{/number}","pulls_url":"https://api.github.com/repos/jcoyne/sparql/pulls{/number}","milestones_url":"https://api.github.com/repos/jcoyne/sparql/milestones{/number}","notifications_url":"https://api.github.com/repos/jcoyne/sparql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcoyne/sparql/labels{/name}","releases_url":"https://api.github.com/repos/jcoyne/sparql/releases{/id}","deployments_url":"https://api.github.com/repos/jcoyne/sparql/deployments","created_at":"2018-09-13T16:22:23Z","updated_at":"2018-09-13T16:22:25Z","pushed_at":"2018-09-17T13:54:13Z","git_url":"git://github.com/jcoyne/sparql.git","ssh_url":"git@github.com:jcoyne/sparql.git","clone_url":"https://github.com/jcoyne/sparql.git","svn_url":"https://github.com/jcoyne/sparql","homepage":"","size":16,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"knakk:master","ref":"master","sha":"3de19ad6a5dcee30dd5e101b47e3aedc7f69ef57","user":{"login":"knakk","id":5359567,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTk1Njc=","avatar_url":"https://avatars0.githubusercontent.com/u/5359567?v=4","gravatar_id":"","url":"https://api.github.com/users/knakk","html_url":"https://github.com/knakk","followers_url":"https://api.github.com/users/knakk/followers","following_url":"https://api.github.com/users/knakk/following{/other_user}","gists_url":"https://api.github.com/users/knakk/gists{/gist_id}","starred_url":"https://api.github.com/users/knakk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knakk/subscriptions","organizations_url":"https://api.github.com/users/knakk/orgs","repos_url":"https://api.github.com/users/knakk/repos","events_url":"https://api.github.com/users/knakk/events{/privacy}","received_events_url":"https://api.github.com/users/knakk/received_events","type":"Organization","site_admin":false},"repo":{"id":15931766,"node_id":"MDEwOlJlcG9zaXRvcnkxNTkzMTc2Ng==","name":"sparql","full_name":"knakk/sparql","private":false,"owner":{"login":"knakk","id":5359567,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUzNTk1Njc=","avatar_url":"https://avatars0.githubusercontent.com/u/5359567?v=4","gravatar_id":"","url":"https://api.github.com/users/knakk","html_url":"https://github.com/knakk","followers_url":"https://api.github.com/users/knakk/followers","following_url":"https://api.github.com/users/knakk/following{/other_user}","gists_url":"https://api.github.com/users/knakk/gists{/gist_id}","starred_url":"https://api.github.com/users/knakk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knakk/subscriptions","organizations_url":"https://api.github.com/users/knakk/orgs","repos_url":"https://api.github.com/users/knakk/repos","events_url":"https://api.github.com/users/knakk/events{/privacy}","received_events_url":"https://api.github.com/users/knakk/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/knakk/sparql","description":"SPARQL utilities for Go","fork":false,"url":"https://api.github.com/repos/knakk/sparql","forks_url":"https://api.github.com/repos/knakk/sparql/forks","keys_url":"https://api.github.com/repos/knakk/sparql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knakk/sparql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knakk/sparql/teams","hooks_url":"https://api.github.com/repos/knakk/sparql/hooks","issue_events_url":"https://api.github.com/repos/knakk/sparql/issues/events{/number}","events_url":"https://api.github.com/repos/knakk/sparql/events","assignees_url":"https://api.github.com/repos/knakk/sparql/assignees{/user}","branches_url":"https://api.github.com/repos/knakk/sparql/branches{/branch}","tags_url":"https://api.github.com/repos/knakk/sparql/tags","blobs_url":"https://api.github.com/repos/knakk/sparql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knakk/sparql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knakk/sparql/git/refs{/sha}","trees_url":"https://api.github.com/repos/knakk/sparql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knakk/sparql/statuses/{sha}","languages_url":"https://api.github.com/repos/knakk/sparql/languages","stargazers_url":"https://api.github.com/repos/knakk/sparql/stargazers","contributors_url":"https://api.github.com/repos/knakk/sparql/contributors","subscribers_url":"https://api.github.com/repos/knakk/sparql/subscribers","subscription_url":"https://api.github.com/repos/knakk/sparql/subscription","commits_url":"https://api.github.com/repos/knakk/sparql/commits{/sha}","git_commits_url":"https://api.github.com/repos/knakk/sparql/git/commits{/sha}","comments_url":"https://api.github.com/repos/knakk/sparql/comments{/number}","issue_comment_url":"https://api.github.com/repos/knakk/sparql/issues/comments{/number}","contents_url":"https://api.github.com/repos/knakk/sparql/contents/{+path}","compare_url":"https://api.github.com/repos/knakk/sparql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knakk/sparql/merges","archive_url":"https://api.github.com/repos/knakk/sparql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knakk/sparql/downloads","issues_url":"https://api.github.com/repos/knakk/sparql/issues{/number}","pulls_url":"https://api.github.com/repos/knakk/sparql/pulls{/number}","milestones_url":"https://api.github.com/repos/knakk/sparql/milestones{/number}","notifications_url":"https://api.github.com/repos/knakk/sparql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knakk/sparql/labels{/name}","releases_url":"https://api.github.com/repos/knakk/sparql/releases{/id}","deployments_url":"https://api.github.com/repos/knakk/sparql/deployments","created_at":"2014-01-15T10:17:43Z","updated_at":"2018-08-30T08:52:07Z","pushed_at":"2018-09-17T13:54:14Z","git_url":"git://github.com/knakk/sparql.git","ssh_url":"git@github.com:knakk/sparql.git","clone_url":"https://github.com/knakk/sparql.git","svn_url":"https://github.com/knakk/sparql","homepage":"","size":17,"stargazers_count":22,"watchers_count":22,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":5,"open_issues":2,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/knakk/sparql/pulls/10"},"html":{"href":"https://github.com/knakk/sparql/pull/10"},"issue":{"href":"https://api.github.com/repos/knakk/sparql/issues/10"},"comments":{"href":"https://api.github.com/repos/knakk/sparql/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/knakk/sparql/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/knakk/sparql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/knakk/sparql/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/knakk/sparql/statuses/30eedf32eff52bcb5d876caf1d076ccd23f41ee9"}},"author_association":"NONE"}}
{"actor":{"display_login":"jcoyne"}}