You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Laura Morales <la...@mail.com> on 2018/11/07 09:19:06 UTC
riot json-ld library version
Which version of the json-ld library is riot using? I was trying to use the "Document Base as the Default Vocabulary" as described in the json-ld specs [1], but I get an error:
$ riot --syntax jsonld --validate data.json
ERROR riot :: invalid vocab mapping: @value must be an absolute IRI
I'm using riot 3.9.0
$ riot --version
Jena: VERSION: 3.9.0
Jena: BUILD_DATE: 2018-09-28T17:15:32+0000
RIOT: VERSION: 3.9.0
RIOT: BUILD_DATE: 2018-09-28T17:15:32+0000
----
[1] https://json-ld.org/spec/latest/json-ld/#using-the-document-base-as-the-default-vocabulary
Re: riot json-ld library version
Posted by Rob Vesse <rv...@dotnetrdf.org>.
You can look up dependency versions in the top level pom.xml
Specifically for JSON-LD - https://github.com/apache/jena/blob/master/pom.xml#L59-L63 - we are currently at 0.12.1
As noted on the JSON-LD libraries repository - https://github.com/jsonld-java/jsonld-java - they implement the JSON-LD 1.0 and the spec you reference is 1.1 so if the feature you are trying to use is only present in the 1.1 spec it won't be supported.
Rob
On 07/11/2018, 09:19, "Laura Morales" <la...@mail.com> wrote:
Which version of the json-ld library is riot using? I was trying to use the "Document Base as the Default Vocabulary" as described in the json-ld specs [1], but I get an error:
$ riot --syntax jsonld --validate data.json
ERROR riot :: invalid vocab mapping: @value must be an absolute IRI
I'm using riot 3.9.0
$ riot --version
Jena: VERSION: 3.9.0
Jena: BUILD_DATE: 2018-09-28T17:15:32+0000
RIOT: VERSION: 3.9.0
RIOT: BUILD_DATE: 2018-09-28T17:15:32+0000
----
[1] https://json-ld.org/spec/latest/json-ld/#using-the-document-base-as-the-default-vocabulary