gkellogg / rdf-distiller

Translate any RDF format to any other using Ruby RDF gems
http://rdf.greggkellogg.net/
The Unlicense
20 stars 6 forks source link

Add support for IRIs in JSON-LD @context #22

Open jakubklimek opened 4 years ago

jakubklimek commented 4 years ago

Following up on the recent CSVW issue https://github.com/w3c/csvw/issues/872 - I ran into a similar issue with your RDF distiller, where, e.g.

{
    "@context": "https://pod-test.mvcr.gov.cz/otevřené-formální-normy/témata-dizertačních-prací/draft/kontexty/téma-dizertační-práce.jsonld",
    "typ": "Téma dizertační práce",
    "název": {
        "cs": "2D nanomateriály pro detekci polutantů v životním prostředí"
    },
    "popis": {
        "cs": "Práce se soustředí na přípravu 2D materiálů, které budou sloužit k odstraňování škodlivin ze životního prostředí. Cílem je vyvinout účinný materiál/katalyzátor k odstranění nitroaromatických a pesticidních látek v podzemních vodách pomocí elektrochemických a fotoelektrochemických metod. Více na www.nanorobots.cz"
    }
}

yields

Failed to parse input document: loading remote context failed: https://pod-test.mvcr.gov.cz/otevřené-formální-normy/témata-dizertačních-prací/draft/kontexty/téma-dizertační-práce.jsonld: URI must be ascii only "https://pod-test.mvcr.gov.cz/otev\u0159en\u00E9-form\u00E1ln\u00ED-normy/t\u00E9mata-dizerta\u010Dn\u00EDch-prac\u00ED/draft/kontexty/t\u00E9ma-dizerta\u010Dn\u00ED-pr\u00E1ce.jsonld"

Any chance of update here?

gkellogg commented 4 years ago

Just pushed up a new version of the distiller (3.1.6), which should be up shortly, after CI is complete.

jakubklimek commented 4 years ago

Thanks. I see 3.1.6, but the error is the same.