JsonLD @vocab

2018-01-03 Thread Adam Jacobs
The @vocab prefix is dropped by Jena when parsing JsonLD. An empty prefix is correctly translated into @vocab during serialization, but is lost during deserialization. Below code demonstrates the point. public static void main(String... args) { String base = "http://www.ns.com/base/";

Re: JsonLD @vocab

2018-01-04 Thread Andy Seaborne
Adam, In the first instance, this seems like something to raise with the jsonld-java team to find out if that is intentional. Could you open a discussion issue there? IIRC empty prefix and the base are mixed up in JSON-LD. Andy On 04/01/18 03:34, Adam Jacobs wrote: The @vocab prefix is

Re: JsonLD @vocab

2018-01-07 Thread Adam Jacobs
Do you know where jsonld discussions are at? I'm having trouble finding a mailing list. From: Andy Seaborne Sent: Thursday, January 4, 2018 2:34 PM To: dev@jena.apache.org Subject: Re: JsonLD @vocab Adam, In the first instance, this seems

Re: JsonLD @vocab

2018-01-08 Thread Andy Seaborne
Andy Seaborne Sent: Thursday, January 4, 2018 2:34 PM To: dev@jena.apache.org Subject: Re: JsonLD @vocab Adam, In the first instance, this seems like something to raise with the jsonld-java team to find out if that is intentional. Could you open a discussion issue there? IIRC empty prefix and the

[GitHub] jena issue #235: jsonld: @vocab in @context for "" ns prefix

2017-04-09 Thread afs
Github user afs commented on the issue: https://github.com/apache/jena/pull/235 I've pulled this into the work general cleaning up RIOT (PR#234). It'll get included when that is merged. Does this complete JENA-1292? --- If your project is set up for it, you can reply to thi

[GitHub] jena issue #235: jsonld: @vocab in @context for "" ns prefix

2017-04-09 Thread fpservant
Github user fpservant commented on the issue: https://github.com/apache/jena/pull/235 > Does this complete JENA-1292? yes. In JENA-1292's discussion I had suggested a way to automatically remove from the @context the properties that belong to the @vocab, but it is not

[GitHub] jena pull request #235: jsonld: @vocab in @context for "" ns prefix

2017-04-09 Thread fpservant
GitHub user fpservant opened a pull request: https://github.com/apache/jena/pull/235 jsonld: @vocab in @context for "" ns prefix "" prefix are not allowed in jsonld's @context. "" ns prefix defined in a model were therefore ignored. This pull req

[GitHub] jena pull request #235: jsonld: @vocab in @context for "" ns prefix

2017-04-11 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/jena/pull/235 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enable