Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coercion is not optimal for later terms found in Turtle (Jena RIOT) #152

Open
VladimirAlexiev opened this issue Oct 29, 2015 · 1 comment
Labels

Comments

@VladimirAlexiev
Copy link

Look at this output from a Turtle file using "riot --formatted=jsonld". I'll attach the files in a gist.

    // GOOD
    "license" : "http://opendatacommons.org/licenses/by/1.0/",
    // BAD: type @id is not coerced
    "dct:license" : {
      "@id" : "http://opendatacommons.org/licenses/by/1.0/"
    },
    // GOOD: @language varies widely so can't be coerced
    "altLabel" : [ {
      "@language" : "es",
      "@value" : "Anasazi"
    },
    // BAD: type @id is not coerced
    "skosxl:altLabel" : [ {
      "@id" : "aat:term/1000267610-en"
    }

I think that the earlier terms "license" and "altLabel" disable some coercion optimizations for the later terms "dct:license" and "skosxl:altLabel". But just because the later terms need to use a prefix, doesn't mean coercion cannot be used for them!

@VladimirAlexiev
Copy link
Author

Gist with sample files:
riot --formatted=jsonld aat_300016954.ttl > aat_300016954.jsonld

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants