RDFLib / rdflib-jsonld

JSON-LD parser and serializer plugins for RDFLib
Other
280 stars 71 forks source link

Work around for non-standard prefixes #92

Closed hsolbrig closed 4 years ago

hsolbrig commented 4 years ago

We need to do more work in the long term, recognizing the "@prefix": True elements in context. This fix allows code that uses non-standard prefixes to continue to work in the mean time. This change is fully backwards compatible -- unless you know about the prefix option, nothing will change.

hsolbrig commented 4 years ago

Unfortunately, this turns out to be too coarse a hammer. This fix results in bizarre output like: @prefix type: <@id> . -- not what we want.