{"action":"created","comment":{"url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments/35265823","id":35265823,"diff_hunk":"@@ -0,0 +1,45 @@\n+class ScholarsArchiveSchema < ActiveTriples::Schema\n+  def self.property(name, options)\n+    super(name, options.merge(:class_name => TriplePoweredResource))\n+  end \n+\n+  property :resource_type, predicate: ::RDF::DC.type \n+  property :tag, predicate: ::RDF::DC.relation\n+  property :spatial, predicate: ::RDF::DC.spatial\n+  property :contributor, predicate: ::RDF::DC.contributor\n+  property :temporal, predicate: ::RDF::DC.temporal\n+  property :creator, predicate: ::RDF::DC.creator\n+  property :abstract, predicate: ::RDF::DC.abstract\n+  property :tableOfContents, predicate: ::RDF::DC.tableOfContents\n+  property :description, predicate: ::RDF::DC.description\n+  property :format, predicate: ::RDF::DC.format\n+  property :bibliographicCitation, predicate: ::RDF::DC.bibliographicCitation\n+  property :language, predicate: ::RDF::DC.language\n+  property :publisher, predicate: ::RDF::DC.publisher\n+  property :provenance, predicate: ::RDF::DC.provenance\n+  property :isReferencedBy, predicate: ::RDF::DC.isReferencedBy\n+  property :relation, predicate: ::RDF::DC.relation\n+  property :rights, predicate: ::RDF::DC.rights\n+  property :subject, predicate: ::RDF::DC.subject\n+  property :title, predicate: ::RDF::DC.title\n+  property :dc_type, predicate: ::RDF::DC.type\n+  property :date, predicate: ::RDF::DC.date\n+  property :isCitedBy, predicate: ::RDF::URI(\"http://purl.org/spar/cito/isCitedBy\")\n+  property :isIdenticalTo, predicate: ::RDF::URI(\"http://purl.org/dc/terms/isIdenticalto\")\n+  property :isPartOf, predicate: ::RDF::DC.isPartOf\n+  property :isVersionOf, predicate: ::RDF::DC.isVersionOf\n+  property :doi, predicate: ::RDF::Vocab::Identifiers.doi\n+  property :hdl, predicate: ::RDF::Vocab::Identifiers.hdl\n+  property :orcid, predicate: ::RDF::Vocab::Identifiers.orcid\n+  property :rid, predicate: ::RDF::Vocab::Identifiers.rid\n+ \n+\n+  def self.sufia_default\n+    Sufia::GenericFilePresenter.terms\n+  end\n+\n+  def self.presenter_properties\n+    properties.map(&:name).delete_if { |x| sufia_default.include?(x) }","path":"app/schemas/scholars_archive_schema.rb","position":42,"original_position":42,"commit_id":"f34e33736596367db58095c0cb3adcaeedadc6a0","original_commit_id":"f34e33736596367db58095c0cb3adcaeedadc6a0","user":{"login":"straleyb","id":6424683,"avatar_url":"https://avatars.githubusercontent.com/u/6424683?v=3","gravatar_id":"","url":"https://api.github.com/users/straleyb","html_url":"https://github.com/straleyb","followers_url":"https://api.github.com/users/straleyb/followers","following_url":"https://api.github.com/users/straleyb/following{/other_user}","gists_url":"https://api.github.com/users/straleyb/gists{/gist_id}","starred_url":"https://api.github.com/users/straleyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straleyb/subscriptions","organizations_url":"https://api.github.com/users/straleyb/orgs","repos_url":"https://api.github.com/users/straleyb/repos","events_url":"https://api.github.com/users/straleyb/events{/privacy}","received_events_url":"https://api.github.com/users/straleyb/received_events","type":"User","site_admin":false},"body":"@terrellt Yeah I added the duplicates to make sure they were able to be represented as URI's. I'm going to test really quickly removing title and using a URI and seeing if it works properly.","created_at":"2015-07-22T21:22:33Z","updated_at":"2015-07-22T21:22:33Z","html_url":"https://github.com/osulp/Scholars-Archive/pull/157#discussion_r35265823","pull_request_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157","_links":{"self":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments/35265823"},"html":{"href":"https://github.com/osulp/Scholars-Archive/pull/157#discussion_r35265823"},"pull_request":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157","id":40611382,"html_url":"https://github.com/osulp/Scholars-Archive/pull/157","diff_url":"https://github.com/osulp/Scholars-Archive/pull/157.diff","patch_url":"https://github.com/osulp/Scholars-Archive/pull/157.patch","issue_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/157","number":157,"state":"open","locked":false,"title":"Feature/generic file cleanup","user":{"login":"straleyb","id":6424683,"avatar_url":"https://avatars.githubusercontent.com/u/6424683?v=3","gravatar_id":"","url":"https://api.github.com/users/straleyb","html_url":"https://github.com/straleyb","followers_url":"https://api.github.com/users/straleyb/followers","following_url":"https://api.github.com/users/straleyb/following{/other_user}","gists_url":"https://api.github.com/users/straleyb/gists{/gist_id}","starred_url":"https://api.github.com/users/straleyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/straleyb/subscriptions","organizations_url":"https://api.github.com/users/straleyb/orgs","repos_url":"https://api.github.com/users/straleyb/repos","events_url":"https://api.github.com/users/straleyb/events{/privacy}","received_events_url":"https://api.github.com/users/straleyb/received_events","type":"User","site_admin":false},"body":"This should replace #156 as it fixes keyword and uses the schema. Fixes #131.","created_at":"2015-07-22T21:03:27Z","updated_at":"2015-07-22T21:22:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c101296495f5b5f3e5146480d3ea00110a8051db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157/commits","review_comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157/comments","review_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/157/comments","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/f34e33736596367db58095c0cb3adcaeedadc6a0","head":{"label":"osulp:feature/GenericFileCleanup","ref":"feature/GenericFileCleanup","sha":"f34e33736596367db58095c0cb3adcaeedadc6a0","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":32106837,"name":"Scholars-Archive","full_name":"osulp/Scholars-Archive","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/Scholars-Archive","description":"","fork":false,"url":"https://api.github.com/repos/osulp/Scholars-Archive","forks_url":"https://api.github.com/repos/osulp/Scholars-Archive/forks","keys_url":"https://api.github.com/repos/osulp/Scholars-Archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/Scholars-Archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/Scholars-Archive/teams","hooks_url":"https://api.github.com/repos/osulp/Scholars-Archive/hooks","issue_events_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/Scholars-Archive/events","assignees_url":"https://api.github.com/repos/osulp/Scholars-Archive/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/Scholars-Archive/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/tags","blobs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/Scholars-Archive/languages","stargazers_url":"https://api.github.com/repos/osulp/Scholars-Archive/stargazers","contributors_url":"https://api.github.com/repos/osulp/Scholars-Archive/contributors","subscribers_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscribers","subscription_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscription","commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/osulp/Scholars-Archive/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/Scholars-Archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/Scholars-Archive/merges","archive_url":"https://api.github.com/repos/osulp/Scholars-Archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/Scholars-Archive/downloads","issues_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/Scholars-Archive/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/Scholars-Archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/Scholars-Archive/labels{/name}","releases_url":"https://api.github.com/repos/osulp/Scholars-Archive/releases{/id}","created_at":"2015-03-12T22:38:38Z","updated_at":"2015-07-13T20:54:30Z","pushed_at":"2015-07-22T21:03:29Z","git_url":"git://github.com/osulp/Scholars-Archive.git","ssh_url":"git@github.com:osulp/Scholars-Archive.git","clone_url":"https://github.com/osulp/Scholars-Archive.git","svn_url":"https://github.com/osulp/Scholars-Archive","homepage":"","size":2322,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":60,"forks":1,"open_issues":60,"watchers":0,"default_branch":"master"}},"base":{"label":"osulp:master","ref":"master","sha":"46a98adae3a93aff0064e5fcf1577c38df371791","user":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"repo":{"id":32106837,"name":"Scholars-Archive","full_name":"osulp/Scholars-Archive","owner":{"login":"osulp","id":4325189,"avatar_url":"https://avatars.githubusercontent.com/u/4325189?v=3","gravatar_id":"","url":"https://api.github.com/users/osulp","html_url":"https://github.com/osulp","followers_url":"https://api.github.com/users/osulp/followers","following_url":"https://api.github.com/users/osulp/following{/other_user}","gists_url":"https://api.github.com/users/osulp/gists{/gist_id}","starred_url":"https://api.github.com/users/osulp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osulp/subscriptions","organizations_url":"https://api.github.com/users/osulp/orgs","repos_url":"https://api.github.com/users/osulp/repos","events_url":"https://api.github.com/users/osulp/events{/privacy}","received_events_url":"https://api.github.com/users/osulp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osulp/Scholars-Archive","description":"","fork":false,"url":"https://api.github.com/repos/osulp/Scholars-Archive","forks_url":"https://api.github.com/repos/osulp/Scholars-Archive/forks","keys_url":"https://api.github.com/repos/osulp/Scholars-Archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osulp/Scholars-Archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osulp/Scholars-Archive/teams","hooks_url":"https://api.github.com/repos/osulp/Scholars-Archive/hooks","issue_events_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/events{/number}","events_url":"https://api.github.com/repos/osulp/Scholars-Archive/events","assignees_url":"https://api.github.com/repos/osulp/Scholars-Archive/assignees{/user}","branches_url":"https://api.github.com/repos/osulp/Scholars-Archive/branches{/branch}","tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/tags","blobs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/{sha}","languages_url":"https://api.github.com/repos/osulp/Scholars-Archive/languages","stargazers_url":"https://api.github.com/repos/osulp/Scholars-Archive/stargazers","contributors_url":"https://api.github.com/repos/osulp/Scholars-Archive/contributors","subscribers_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscribers","subscription_url":"https://api.github.com/repos/osulp/Scholars-Archive/subscription","commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/osulp/Scholars-Archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/osulp/Scholars-Archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/osulp/Scholars-Archive/contents/{+path}","compare_url":"https://api.github.com/repos/osulp/Scholars-Archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osulp/Scholars-Archive/merges","archive_url":"https://api.github.com/repos/osulp/Scholars-Archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osulp/Scholars-Archive/downloads","issues_url":"https://api.github.com/repos/osulp/Scholars-Archive/issues{/number}","pulls_url":"https://api.github.com/repos/osulp/Scholars-Archive/pulls{/number}","milestones_url":"https://api.github.com/repos/osulp/Scholars-Archive/milestones{/number}","notifications_url":"https://api.github.com/repos/osulp/Scholars-Archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osulp/Scholars-Archive/labels{/name}","releases_url":"https://api.github.com/repos/osulp/Scholars-Archive/releases{/id}","created_at":"2015-03-12T22:38:38Z","updated_at":"2015-07-13T20:54:30Z","pushed_at":"2015-07-22T21:03:29Z","git_url":"git://github.com/osulp/Scholars-Archive.git","ssh_url":"git@github.com:osulp/Scholars-Archive.git","clone_url":"https://github.com/osulp/Scholars-Archive.git","svn_url":"https://github.com/osulp/Scholars-Archive","homepage":"","size":2322,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":60,"forks":1,"open_issues":60,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157"},"html":{"href":"https://github.com/osulp/Scholars-Archive/pull/157"},"issue":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/issues/157"},"comments":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/osulp/Scholars-Archive/statuses/f34e33736596367db58095c0cb3adcaeedadc6a0"}}}}