{"issue":{"created_at":"2010-06-28T08:44:52Z","state":"open","updated_at":"2011-12-01T01:19:10Z","comments":8,"user":{"gravatar_id":"b787785d08597c63186c123075d446be","id":207193,"url":"https://api.github.com/users/fumi","avatar_url":"https://secure.gravatar.com/avatar/b787785d08597c63186c123075d446be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"fumi"},"body":"Hi,\n\nI would like to distinguish language tags for RDF::Literal on spira. My sample code and\nspec are in my github [1]. The changes are only at Spira::Types::String class.\n\n[1] http://github.com/fumi/spira\n\nAnd this is a script that needs to specify language tags. \n\n    require 'spira'\n    require 'linkeddata'\n\n    class Person\n      include Spira::Resource\n      has_many :name, :predicate => FOAF.name, :type => String\n      has_many :nick, :predicate => FOAF.nick, :type => String\n    end\n\n    repo = \"http://fumi.me/foaf.rdf\"\n    Spira.add_repository!(:default, RDF::Repository.load(repo))\n\n    fumi = Person.for(RDF::URI(\"http://fumi.me/foaf.rdf#me\"))\n    puts fumi.name\n    puts fumi.nick\n","assignee":null,"id":232734,"number":15,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"0.0.4","color":"ededed","url":"https://api.github.com/repos/datagraph/spira/labels/0.0.4"},{"name":"feature","color":"82ffae","url":"https://api.github.com/repos/datagraph/spira/labels/feature"}],"title":"Support language tags for literals","html_url":"https://github.com/datagraph/spira/issues/15","closed_at":null,"url":"https://api.github.com/repos/datagraph/spira/issues/15","milestone":null},"action":"created","comment":{"created_at":"2011-12-01T01:19:10Z","updated_at":"2011-12-01T01:19:10Z","user":{"gravatar_id":"c560ac5d47b238d595ebb92d22dff1d0","id":464628,"url":"https://api.github.com/users/dillonm-digisynd","avatar_url":"https://secure.gravatar.com/avatar/c560ac5d47b238d595ebb92d22dff1d0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"dillonm-digisynd"},"body":"This appears to be supported using `:type => Spira::Types::Native`, at least for reading and using `RDF::Literal.new(\"My Name\", :language => 'en')` for writing. ","id":2969455,"url":"https://api.github.com/repos/datagraph/spira/issues/comments/2969455"}}