You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Rob Vesse <rv...@dotnetrdf.org> on 2018/07/02 09:44:54 UTC
[ANN] Apache Jena 3.8.0
The Apache Jena development community is pleased to announce the release
of Apache Jena 3.8.0!
== Key features of the release
JIRA completed this release:
https://s.apache.org/jena-3.8.0-jira
JENA-341/JENA-1537
Xerces dependency removed. Jena no longer depends on Xerces which should
avoid classpath compatibility issues with environments that provide Xerces. This
also resolves a known security vulnerability with Xerces.
JENA-1488, JENA-1556
Text Search and Indexing enhancements for better multilingual support. See the
updated documentation for details:
http://jena.apache.org/documentation/query/text-query.html#linguistic-support-with-lucene-index
http://jena.apache.org/documentation/query/text-query.html#defined-analyzers
JENA-1524/JENA-1525
Some package renaming and Automatic-Module-Name's for JPMS compatibility
This may require changes to advanced users who make changes to the Jena system initialization,
see the following for details:
https://lists.apache.org/thread.html/c099345477ffd1f7f4e23514a9551273efe3cd8e3276b9a945344e15@%3Cdev.jena.apache.org%3E
JENA-1552
Improved bulk loader for TDB2, alternative bulk loading schemes that are more friendly
for environments with non-dedicated workloads i.e. more efficient bulk loading without
dominating machine resources.
JENA-1554
Support for bz2 compressed inputs and outputs
JENA-1561
TBD2 now available via Fuseki command line and UI
= Upgrades to libraries (runtime dependencies):
Added:
- Apache Commons Compress 1.17 (JENA-1554)
Updated:
- json-ld java 0.12.0
- Jackson 2.9.5
- Apache HTTP Client 4.5.5
- Apache HTTP Core 4.4.9
- Awaitility 3.1.0
- Guava 24.1-jre (NB - Guava is shaded)
Removed
- Xerces (see JENA-1537)
== Obtaining Apache Jena 3.8.0
* Via central.maven.org
The main jars and their dependencies can used with:
<dependency>
<groupId>org.apache.jena</groupId>
<artifactId>apache-jena-libs</artifactId>
<type>pom</type>
<version>3.8.0</version>
</dependency>
Full details of all maven artifacts are described at:
http://jena.apache.org/download/maven.html
* As binary downloads
Apache Jena libraries are available as a binary distribution of
libraries. For details of a global mirror copy of Jena binaries please see:
http://jena.apache.org/download/
* Source code for the release
The signed source code of this release is available at:
http://www.apache.org/dist/jena/source/
and the signed master source for all Apache Jena releases is available
at: http://archive.apache.org/dist/jena/
== Contributing
If you would like to help out, a good place to look is the list of
unresolved JIRA at:
http://s.apache.org/jena-jira-current
or review pull requests at
https://github.com/apache/jena/pulls
or drop into the dev@ list.
We use github pull requests and other ways for accepting code:
https://github.com/apache/jena/blob/master/CONTRIBUTING.md
The Apache Jena development community
Re: [ANN] Apache Jena 3.8.0
Posted by Andy Seaborne <an...@apache.org>.
On 02/07/18 10:44, Rob Vesse wrote:
> The Apache Jena development community is pleased to announce the release
> of Apache Jena 3.8.0!
>
> == Key features of the release
Jena 3.8.0 introduces a new SPARQL extension to easily produce JSON
output for further JSON-centric handling.
Example:
PREFIX purl: <http://purl.org/dc/elements/1.1/>
JSON {
"author": ?author,
"title": ?title
}
WHERE
{
?book purl:creator ?author .
?book purl:title ?title .
FILTER regex(?author,'Rowling','i')
}
to produce:
[
{
"book": "http://example.org/book/book6",
"title": "Harry Potter and the Half-Blood Prince"
},
{
"book": "http://example.org/book/book7",
"title": "Harry Potter and the Deathly Hallows"
},
]
For more information:
https://jena.apache.org/documentation/query/generate-json-from-sparql.html
Andy
Re: [ANN] Apache Jena 3.8.0
Posted by Andy Seaborne <an...@apache.org>.
The details on are on the ticket.
"Support bz2 compression for parsing and loading."
Andy
On 02/07/18 12:42, Jean-Marc Vanel wrote:
> It is most probably as specified by HTTP protocol :
> https://en.wikipedia.org/wiki/HTTP_compression#Compression_scheme_negotiation
>
> so, something that you can request for every query.
>
> 2018-07-02 13:07 GMT+02:00 Laura Morales <la...@mail.com>:
>
>>> JENA-1554
>>>
>>> Support for bz2 compressed inputs and outputs
>>
>> Is this transparent to the user, or is something that I can request for
>> every query?
>>
>
>
>
Re: [ANN] Apache Jena 3.8.0
Posted by Jean-Marc Vanel <je...@gmail.com>.
It is most probably as specified by HTTP protocol :
https://en.wikipedia.org/wiki/HTTP_compression#Compression_scheme_negotiation
so, something that you can request for every query.
2018-07-02 13:07 GMT+02:00 Laura Morales <la...@mail.com>:
> > JENA-1554
> >
> > Support for bz2 compressed inputs and outputs
>
> Is this transparent to the user, or is something that I can request for
> every query?
>
--
Jean-Marc Vanel
http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me#subject
<http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
Rule-based programming, Semantic Web
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
Re: [ANN] Apache Jena 3.8.0
Posted by Laura Morales <la...@mail.com>.
> JENA-1554
>
> Support for bz2 compressed inputs and outputs
Is this transparent to the user, or is something that I can request for every query?
Re: [ANN] Apache Jena 3.8.0
Posted by Andy Seaborne <an...@apache.org>.
Yes - no database format changes.
The TDB2 feature in this release is the faster bulk loader.
Andy
On 03/07/18 09:43, Jean-Marc Vanel wrote:
> Thanks for the release !
> I tried it with semantic_forms : all tests pass !
> Note, this implies that TDB file format did not change.
>
> I'l test TDB2 again and let you know.
>
Re: [ANN] Apache Jena 3.8.0
Posted by Jean-Marc Vanel <je...@gmail.com>.
Thanks for the release !
I tried it with semantic_forms : all tests pass !
Note, this implies that TDB file format did not change.
I'l test TDB2 again and let you know.
--
Jean-Marc Vanel
http://www.semantic-forms.cc:9111/display?displayuri=http://
jmvanel.free.fr/jmv.rdf%23me#subject
<http://www.semantic-forms.cc:9111/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me>
Rule-based programming, Semantic Web
+33 (0)6 89 16 29 52
Twitter: @jmvanel , @jmvanel_fr ; chat: irc://irc.freenode.net#eulergui
Re: [ANN] Apache Jena 3.8.0
Posted by Andy Seaborne <an...@apache.org>.
Hi Laura,
The documentation has the grammar for extension. It is a single, flat,
JSON object per result row.
What you ask for is a form of aggregation and is more in the domain of
GraphQL to directly structure the results. This extension (which we
consider "experimental" and will evolve) is focused on table-like JSON
output with the target of being consumed by tools, like BI tools, that
are table centric, or consumed by code that will further process it and
transform it to other JSON.
Andy
On 02/07/18 15:00, Laura Morales wrote:
> Does this work for nested objects as well? For example to select a list of books by authors:
>
>
> JSON [
> {
> "author": ?author
> "books" [ "title": ?title ]
> }
> ]
> WHERE
> {
> ...
> }
>
>
> to produce
>
>
> [
> {
> "author": "author 1",
> "books": [ "book1", "book2", ... ]
> },
> {
> "author": "author 2",
> "books": [ "book1", "book2", ... ]
> },
> {
> "author": "author 3",
> "books": [ "book1", "book2", ... ]
> },
> ....
> ]
>
>
>
>
>
>
>
>
> Sent: Monday, July 02, 2018 at 2:21 PM
> From: "Andy Seaborne" <an...@apache.org>
> To: users@jena.apache.org
> Subject: Re: [ANN] Apache Jena 3.8.0
> Jena 3.8.0 introduces a new SPARQL extension to easily produce JSON
> output for further JSON-centric handling.
>
> Example:
>
> PREFIX purl: <http://purl.org/dc/elements/1.1/>
>
> JSON {
> "author": ?author,
> "title": ?title
> }
> WHERE
> {
> ?book purl:creator ?author .
> ?book purl:title ?title .
> FILTER regex(?author,'Rowling','i')
> }
>
> to produce:
>
> [
> {
> "book": "http://example.org/book/book6[http://example.org/book/book6]",
> "title": "Harry Potter and the Half-Blood Prince"
> },
> {
> "book": "http://example.org/book/book7[http://example.org/book/book7]",
> "title": "Harry Potter and the Deathly Hallows"
> },
> ]
>
>
>
> For more information:
>
> https://jena.apache.org/documentation/query/generate-json-from-sparql.html[https://jena.apache.org/documentation/query/generate-json-from-sparql.html]
>
> Andy
>
Re: [ANN] Apache Jena 3.8.0
Posted by Laura Morales <la...@mail.com>.
Does this work for nested objects as well? For example to select a list of books by authors:
JSON [
{
"author": ?author
"books" [ "title": ?title ]
}
]
WHERE
{
...
}
to produce
[
{
"author": "author 1",
"books": [ "book1", "book2", ... ]
},
{
"author": "author 2",
"books": [ "book1", "book2", ... ]
},
{
"author": "author 3",
"books": [ "book1", "book2", ... ]
},
....
]
Sent: Monday, July 02, 2018 at 2:21 PM
From: "Andy Seaborne" <an...@apache.org>
To: users@jena.apache.org
Subject: Re: [ANN] Apache Jena 3.8.0
Jena 3.8.0 introduces a new SPARQL extension to easily produce JSON
output for further JSON-centric handling.
Example:
PREFIX purl: <http://purl.org/dc/elements/1.1/>
JSON {
"author": ?author,
"title": ?title
}
WHERE
{
?book purl:creator ?author .
?book purl:title ?title .
FILTER regex(?author,'Rowling','i')
}
to produce:
[
{
"book": "http://example.org/book/book6[http://example.org/book/book6]",
"title": "Harry Potter and the Half-Blood Prince"
},
{
"book": "http://example.org/book/book7[http://example.org/book/book7]",
"title": "Harry Potter and the Deathly Hallows"
},
]
For more information:
https://jena.apache.org/documentation/query/generate-json-from-sparql.html[https://jena.apache.org/documentation/query/generate-json-from-sparql.html]
Andy
Re: [ANN] Apache Jena 3.8.0
Posted by Andy Seaborne <an...@apache.org>.
Jena 3.8.0 introduces a new SPARQL extension to easily produce JSON
output for further JSON-centric handling.
Example:
PREFIX purl: <http://purl.org/dc/elements/1.1/>
JSON {
"author": ?author,
"title": ?title
}
WHERE
{
?book purl:creator ?author .
?book purl:title ?title .
FILTER regex(?author,'Rowling','i')
}
to produce:
[
{
"book": "http://example.org/book/book6",
"title": "Harry Potter and the Half-Blood Prince"
},
{
"book": "http://example.org/book/book7",
"title": "Harry Potter and the Deathly Hallows"
},
]
For more information:
https://jena.apache.org/documentation/query/generate-json-from-sparql.html
Andy