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: [4.3.2] Cannot invoke "org.apache.jena.rdf.model.Property.asNode()" because "org.apache.jena.vocabulary.RDF.type" is null

2022-03-15 Thread Martynas Jusevičius
Hi, On Wed, Mar 9, 2022 at 12:34 PM Andy Seaborne wrote: > > > > On 09/03/2022 11:16, Martynas Jusevičius wrote: > > Hi, > > > > This appeared after Java upgrade from 11 to 17: > > > > WARN LocationMapper:188 - Error in configuration file: Cannot invoke > >

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

Re: SPARQL optional limiting results

2022-03-15 Thread Mikael Pesonen
Hi, sorry I cleaned up the example a bit too much. So OPTIONAL is collecting additional data like this:  OPTIONAL { ?concept skos:broader* [ skos:topConceptOf ?graph; skos:prefLabel ?topConceptLabel ] } But even with original example, OPTIONAL shouldn't return fewer rows? On 15/03/2022

Re: SPARQL optional limiting results

2022-03-15 Thread Lorenz Buehmann
Hi, I'm probably misunderstanding the query, but what is the purpose of the OPTIONAL here? ?graph is bound because of VALUES clause, ?concept is bound because of the graph pattern before the OPTIONAL as well. So ?graph and ?concept are bound on the left hand side of the left-join aka