Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Parsing breaks on JSON-LD 1.1 `@version` keyword. #263
Comments
|
Is the error that comes up with this issue the |
|
As a workaround, it is possible to substitute a document via |
The
graphToRdffunction inRDFDataset.javachecks whether any of the keys in the JSON document are reserved JSON-LD keywords. AsJsonLdUtils.isKeyword()doesn't know of@version(introduced in 1.1), it then tries to interpret its value, which fails.Solution: add
|| "@version".equals(key)to theisKeywordfunction inJsonLdUtils.java: