{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-rdf/rdf/issues/242","labels_url":"https://api.github.com/repos/ruby-rdf/rdf/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/ruby-rdf/rdf/issues/242/comments","events_url":"https://api.github.com/repos/ruby-rdf/rdf/issues/242/events","html_url":"https://github.com/ruby-rdf/rdf/issues/242","id":117234323,"number":242,"title":"Repository#supports? for :literal_equality","user":{"login":"no-reply","id":1361776,"avatar_url":"https://avatars.githubusercontent.com/u/1361776?v=3","gravatar_id":"","url":"https://api.github.com/users/no-reply","html_url":"https://github.com/no-reply","followers_url":"https://api.github.com/users/no-reply/followers","following_url":"https://api.github.com/users/no-reply/following{/other_user}","gists_url":"https://api.github.com/users/no-reply/gists{/gist_id}","starred_url":"https://api.github.com/users/no-reply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-reply/subscriptions","organizations_url":"https://api.github.com/users/no-reply/orgs","repos_url":"https://api.github.com/users/no-reply/repos","events_url":"https://api.github.com/users/no-reply/events{/privacy}","received_events_url":"https://api.github.com/users/no-reply/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"no-reply","id":1361776,"avatar_url":"https://avatars.githubusercontent.com/u/1361776?v=3","gravatar_id":"","url":"https://api.github.com/users/no-reply","html_url":"https://github.com/no-reply","followers_url":"https://api.github.com/users/no-reply/followers","following_url":"https://api.github.com/users/no-reply/following{/other_user}","gists_url":"https://api.github.com/users/no-reply/gists{/gist_id}","starred_url":"https://api.github.com/users/no-reply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-reply/subscriptions","organizations_url":"https://api.github.com/users/no-reply/orgs","repos_url":"https://api.github.com/users/no-reply/repos","events_url":"https://api.github.com/users/no-reply/events{/privacy}","received_events_url":"https://api.github.com/users/no-reply/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ruby-rdf/rdf/milestones/2","html_url":"https://github.com/ruby-rdf/rdf/milestones/2.0","labels_url":"https://api.github.com/repos/ruby-rdf/rdf/milestones/2/labels","id":1108897,"number":2,"title":"2.0","description":"Features, deprecations and other changes targeted for RDF.rb 2.0","creator":{"login":"gkellogg","id":46296,"avatar_url":"https://avatars.githubusercontent.com/u/46296?v=3","gravatar_id":"","url":"https://api.github.com/users/gkellogg","html_url":"https://github.com/gkellogg","followers_url":"https://api.github.com/users/gkellogg/followers","following_url":"https://api.github.com/users/gkellogg/following{/other_user}","gists_url":"https://api.github.com/users/gkellogg/gists{/gist_id}","starred_url":"https://api.github.com/users/gkellogg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkellogg/subscriptions","organizations_url":"https://api.github.com/users/gkellogg/orgs","repos_url":"https://api.github.com/users/gkellogg/repos","events_url":"https://api.github.com/users/gkellogg/events{/privacy}","received_events_url":"https://api.github.com/users/gkellogg/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":19,"state":"open","created_at":"2015-05-13T16:31:01Z","updated_at":"2016-01-15T00:34:18Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-16T22:33:55Z","updated_at":"2016-01-17T19:47:09Z","closed_at":null,"body":"`:literal_equality` might be the wrong term.\r\n\r\nMost triplestores inline literals by their value, rather than storing a value + a string expression, and fail some literal equality specs as a result.  We should make conformance for those specs optional for `RDF::Repository` impls, and add a `#supports?` flag for it.  We could then use that flag to turn off the handful of literal equality specs that test, e.g. `'01' != '1'` for repositories that don't want or need support for that \"feature\"."},"comment":{"url":"https://api.github.com/repos/ruby-rdf/rdf/issues/comments/172371227","html_url":"https://github.com/ruby-rdf/rdf/issues/242#issuecomment-172371227","issue_url":"https://api.github.com/repos/ruby-rdf/rdf/issues/242","id":172371227,"user":{"login":"no-reply","id":1361776,"avatar_url":"https://avatars.githubusercontent.com/u/1361776?v=3","gravatar_id":"","url":"https://api.github.com/users/no-reply","html_url":"https://github.com/no-reply","followers_url":"https://api.github.com/users/no-reply/followers","following_url":"https://api.github.com/users/no-reply/following{/other_user}","gists_url":"https://api.github.com/users/no-reply/gists{/gist_id}","starred_url":"https://api.github.com/users/no-reply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/no-reply/subscriptions","organizations_url":"https://api.github.com/users/no-reply/orgs","repos_url":"https://api.github.com/users/no-reply/repos","events_url":"https://api.github.com/users/no-reply/events{/privacy}","received_events_url":"https://api.github.com/users/no-reply/received_events","type":"User","site_admin":false},"created_at":"2016-01-17T19:47:09Z","updated_at":"2016-01-17T19:47:09Z","body":"Some baseline tests for literal equality support are in a branch at https://github.com/ruby-rdf/rdf-spec/compare/feature/equality.\r\n\r\nInterestingly, `RDF::Repository::Implementation` fails several of them, due to reliance on `Array#include?`.  We should have some discussion on the level of support expected here; I'll wait on some resolution there before making the existing `01 != 1` tests conditional on `:supports?(:literal_equality)`.\r\n\r\nAlso related is the ongoing equality work connected to https://github.com/ruby-rdf/rdf/pull/260."}}