{"action":"created","issue":{"url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/127","repository_url":"https://api.github.com/repos/rdfjs/representation-task-force","labels_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/127/comments","events_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/127/events","html_url":"https://github.com/rdfjs/representation-task-force/issues/127","id":318053913,"number":127,"title":"Simple literals are masked","user":{"login":"wschella","id":9478856,"avatar_url":"https://avatars0.githubusercontent.com/u/9478856?v=4","gravatar_id":"","url":"https://api.github.com/users/wschella","html_url":"https://github.com/wschella","followers_url":"https://api.github.com/users/wschella/followers","following_url":"https://api.github.com/users/wschella/following{/other_user}","gists_url":"https://api.github.com/users/wschella/gists{/gist_id}","starred_url":"https://api.github.com/users/wschella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wschella/subscriptions","organizations_url":"https://api.github.com/users/wschella/orgs","repos_url":"https://api.github.com/users/wschella/repos","events_url":"https://api.github.com/users/wschella/events{/privacy}","received_events_url":"https://api.github.com/users/wschella/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-04-26T14:25:47Z","updated_at":"2018-04-26T20:41:58Z","closed_at":"2018-04-26T14:55:59Z","author_association":"NONE","body":"Due to https://github.com/rdfjs/representation-task-force/blob/master/interface-spec.html#L231-L233\r\nyou can't create simple literals, as they would automatically become typed literals with a xsd:string datatype.\r\n\r\nI can see why this makes sense from a usability perspective (or some spec stuff I don't know about), but wouldn't it also make sense to not do this? As the RDFJS data model arguably is an interop and representation format, information that is lost like this is might not be recoverable (eg. if you don't control the parsing of the query/expression/triples/...). \r\n\r\nRelevant problem: some functions in the SPARQL spec, specifically  those [on strings](https://www.w3.org/TR/sparql11-query/#func-strings) explicitly only take simple literals (eg: [regex](https://www.w3.org/TR/sparql11-query/#func-regex), [langMatches](https://www.w3.org/TR/sparql11-query/#func-langMatches)) as arguments.\r\n\r\nWhat is the argumentation behind this choice?\r\n"},"comment":{"url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/comments/384782305","html_url":"https://github.com/rdfjs/representation-task-force/issues/127#issuecomment-384782305","issue_url":"https://api.github.com/repos/rdfjs/representation-task-force/issues/127","id":384782305,"user":{"login":"RubenVerborgh","id":675313,"avatar_url":"https://avatars1.githubusercontent.com/u/675313?v=4","gravatar_id":"","url":"https://api.github.com/users/RubenVerborgh","html_url":"https://github.com/RubenVerborgh","followers_url":"https://api.github.com/users/RubenVerborgh/followers","following_url":"https://api.github.com/users/RubenVerborgh/following{/other_user}","gists_url":"https://api.github.com/users/RubenVerborgh/gists{/gist_id}","starred_url":"https://api.github.com/users/RubenVerborgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RubenVerborgh/subscriptions","organizations_url":"https://api.github.com/users/RubenVerborgh/orgs","repos_url":"https://api.github.com/users/RubenVerborgh/repos","events_url":"https://api.github.com/users/RubenVerborgh/events{/privacy}","received_events_url":"https://api.github.com/users/RubenVerborgh/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T20:41:58Z","updated_at":"2018-04-26T20:41:58Z","author_association":"OWNER","body":"It's a syntactical difference; this should not end up in the model. For all purposes, `\"a\" === \"a\"^^xsd:string`."}}
{"actor":{"display_login":"RubenVerborgh"}}