Re: JSON-LD: 1.0 or 1.1

2022-04-27 Thread Andy Seaborne
Given the input so far, it seems JSON-LD 1.1 should be the default for both parsing and writing in the next release (Jena 4.5.0). Written JSON-LD would not include a @content entry "@version" - that breaks JSON-LD 1.0 processing. Andy On 11/03/2022 10:38, Andy Seaborne wrote: Jena has

Re: JSON-LD: 1.0 or 1.1

2022-04-25 Thread Dan Davis
True On Mon, Apr 25, 2022, 5:36 AM Andy Seaborne wrote: > (this isn't a JSON-LD 1.0 vs 1.1 issue) > > On 24/04/2022 18:49, Dan Davis wrote: > > The dependency exists whether it is explicit or not, because the > ecosystem > > of packages that validate JSON documents rev

Re: JSON-LD: 1.0 or 1.1

2022-04-25 Thread Andy Seaborne
(this isn't a JSON-LD 1.0 vs 1.1 issue) On 24/04/2022 18:49, Dan Davis wrote: The dependency exists whether it is explicit or not, because the ecosystem of packages that validate JSON documents revolves around JSON Schema, and is not as mature for JSON-LD, at least in my limited experience. I

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Dan Davis
ys bothered me that JSONSchema is not an official standard > in > >>> the way that XML and RDF/XML are. I know that JSON-LD 1 and 2 are more > >>> standardized under W3C, but they depend so much on JSONSchema. Last I > >>> checked, JSON Schema DRAFT 4 was the closest t

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Andy Seaborne
better now? On Sat, Apr 23, 2022 at 2:40 PM Paul Tyson wrote: On Apr 23, 2022, at 12:16, Andy Seaborne wrote: What should the default settings be JSON-LD 1.0 or 1.1? 1.1 would better meet my use cases. Thanks, —Paul

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Dan Brickley
Schema. Last I > > checked, JSON Schema DRAFT 4 was the closest to a schema. Is the story > any > > better now? > > > > On Sat, Apr 23, 2022 at 2:40 PM Paul Tyson > wrote: > > > >> > >> > >>> On Apr 23, 2022, at 12:16, Andy S

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Andy Seaborne
22 at 2:40 PM Paul Tyson wrote: On Apr 23, 2022, at 12:16, Andy Seaborne wrote: What should the default settings be JSON-LD 1.0 or 1.1? 1.1 would better meet my use cases. Thanks, —Paul

Re: JSON-LD: 1.0 or 1.1

2022-04-23 Thread Beaudet, David
FWIW, 1.1 works better for my use cases which are currently all Linked Art centric. https://linked.art Dave Beaudet On Apr 23, 2022 13:16, Andy Seaborne wrote: What should the default settings be JSON-LD 1.0 or 1.1? It is not a simple choice. There is slightly pretty writing of JSON-LD

Re: JSON-LD: 1.0 or 1.1

2022-04-23 Thread Dan Davis
now? On Sat, Apr 23, 2022 at 2:40 PM Paul Tyson wrote: > > > > On Apr 23, 2022, at 12:16, Andy Seaborne wrote: > > > > What should the default settings be JSON-LD 1.0 or 1.1? > > > 1.1 would better meet my use cases. > > Thanks, > —Paul > >

Re: JSON-LD: 1.0 or 1.1

2022-04-23 Thread Paul Tyson
> On Apr 23, 2022, at 12:16, Andy Seaborne wrote: > > What should the default settings be JSON-LD 1.0 or 1.1? > 1.1 would better meet my use cases. Thanks, —Paul

Re: JSON-LD: 1.0 or 1.1

2022-04-23 Thread Andy Seaborne
What should the default settings be JSON-LD 1.0 or 1.1? It is not a simple choice. There is slightly pretty writing of JSON-LD 1.1 now - prefixes and native types. A new issue is e.g. https://github.com/apache/jena/issues/1254 JSON-LD 1.1 is not completely backwards compatible with JSON-LD

Re: JSON-LD: 1.0 or 1.1

2022-03-15 Thread Andy Seaborne
On 15/03/2022 18:13, Martynas Jusevičius wrote: Hi, Are the output "flavors" for JSON-LD 1.0 only then? https://jena.apache.org/documentation/io/rdf-output.html#json-ld Yes. On Fri, Mar 11, 2022 at 11:39 AM Andy Seaborne wrote: Jena has both JSON 1.0, provided by jsonld-java, and

Re: JSON-LD: 1.0 or 1.1

2022-03-15 Thread Martynas Jusevičius
Hi, Are the output "flavors" for JSON-LD 1.0 only then? https://jena.apache.org/documentation/io/rdf-output.html#json-ld On Fri, Mar 11, 2022 at 11:39 AM Andy Seaborne wrote: > > Jena has both JSON 1.0, provided by jsonld-java, and JSON-LD 1.1, > provided by Titanium. > > What should the

JSON-LD: 1.0 or 1.1

2022-03-11 Thread Andy Seaborne
Jena has both JSON 1.0, provided by jsonld-java, and JSON-LD 1.1, provided by Titanium. What should the default settings be? For parsing that means what is bound to "application/ld+json" and file extension .jsonld. For writing, it means what is setup for Lang.JSONLD. This is two decisions