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 =

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310295#comment-16310295 ] ASF GitHub Bot commented on JENA-1391: -- Github user ajs6f commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread ajs6f
Github user ajs6f commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159529387 --- Diff: jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java --- @@ -37,6 +40,30 @@ public A car() { return a ; } public B cdr() {

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310292#comment-16310292 ] ASF GitHub Bot commented on JENA-1391: -- Github user afs commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread afs
Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159528932 --- Diff: jena-base/src/main/java/org/apache/jena/atlas/lib/Pair.java --- @@ -37,6 +40,30 @@ public A car() { return a ; } public B cdr() {

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310291#comment-16310291 ] ASF GitHub Bot commented on JENA-1391: -- Github user ajs6f commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread ajs6f
Github user ajs6f commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159528705 --- Diff: jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java --- @@ -199,13 +193,12 @@ public long getLong(Symbol symbol, long defaultValue) {

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310286#comment-16310286 ] ASF GitHub Bot commented on JENA-1391: -- Github user ajs6f commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread ajs6f
Github user ajs6f commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159527929 --- Diff: jena-arq/src/main/java/org/apache/jena/sparql/util/ViewDatasetGraph.java --- @@ -0,0 +1,225 @@ +/* + * Licensed to the Apache Software

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310284#comment-16310284 ] ASF GitHub Bot commented on JENA-1391: -- Github user afs commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread afs
Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159527781 --- Diff: jena-arq/src/main/java/org/apache/jena/sparql/util/ViewDatasetGraph.java --- @@ -0,0 +1,225 @@ +/* + * Licensed to the Apache Software

[jira] [Commented] (JENA-1391) Add Convenience Methods to Dataset

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310282#comment-16310282 ] ASF GitHub Bot commented on JENA-1391: -- Github user afs commented on a diff in the pull request:

[GitHub] jena pull request #337: JENA-1391: Dataset dyadic views, Model and Dataset S...

2018-01-03 Thread afs
Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/337#discussion_r159527518 --- Diff: jena-arq/src/main/java/org/apache/jena/sparql/util/Context.java --- @@ -199,13 +193,12 @@ public long getLong(Symbol symbol, long defaultValue) {

[jira] [Commented] (JENA-1458) Transaction promotion

2018-01-03 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310272#comment-16310272 ] ASF GitHub Bot commented on JENA-1458: -- Github user afs commented on the issue:

[GitHub] jena issue #336: JENA-1458: Transaction promotion

2018-01-03 Thread afs
Github user afs commented on the issue: https://github.com/apache/jena/pull/336 That's it for now - the last commits have been converting and tidying up the test machinery. This in turn showed up some corner cases. There is one design issue with TDB2 where

[GitHub] jena issue #335: Jena 1453 reduce docs

2018-01-03 Thread xristy
Github user xristy commented on the issue: https://github.com/apache/jena/pull/335 I've submitted an update to the jena-text documentation to reflect the graph output argument for `text:query`. ---

CMS diff: Jena Full Text Search

2018-01-03 Thread Chris Tomlinson
Clone URL (Committers only): https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://jena.apache.org/documentation%2Fquery%2Ftext-query.mdtext Chris Tomlinson Index: trunk/content/documentation/query/text-query.mdtext

[jira] [Commented] (JENA-1459) add highlighting support to jena-text

2018-01-03 Thread Code Ferret (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310037#comment-16310037 ] Code Ferret commented on JENA-1459: --- It is currently limited to {{TextIndexLucene}}. The {{TextIndex}}

[GitHub] jena issue #335: Jena 1453 reduce docs

2018-01-03 Thread ajs6f
Github user ajs6f commented on the issue: https://github.com/apache/jena/pull/335 @xristy That's what I meant-- I didn't mean to suggest an in-place op, sorry. ---

[GitHub] jena issue #335: Jena 1453 reduce docs

2018-01-03 Thread xristy
Github user xristy commented on the issue: https://github.com/apache/jena/pull/335 @ajs6f I haven't thought about trying to do an in-place update of a text index; however, perhaps one could use jena/textindexer with an assembler file modified to create a Lucene index off-to-the-side

[jira] [Commented] (JENA-1459) add highlighting support to jena-text

2018-01-03 Thread A. Soroka (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309797#comment-16309797 ] A. Soroka commented on JENA-1459: - Would this be generic for the Lucene module and the Elasticsearch module

[GitHub] jena issue #335: Jena 1453 reduce docs

2018-01-03 Thread xristy
Github user xristy commented on the issue: https://github.com/apache/jena/pull/335 Ah! I should have written on this. Upgrading to this PR does not affect an existing text index. The changes to the Lucene documents that are indexed will affect triples that are added

[GitHub] jena issue #335: Jena 1453 reduce docs

2018-01-03 Thread afs
Github user afs commented on the issue: https://github.com/apache/jena/pull/335 Does this change the on-disk format? I do't think it does but confirmation would be good. ---

[GitHub] jena pull request #335: Jena 1453 reduce docs

2018-01-03 Thread afs
Github user afs commented on a diff in the pull request: https://github.com/apache/jena/pull/335#discussion_r159427449 --- Diff: jena-text/src/test/java/org/apache/jena/query/text/TestTextGraphIndexExtra2.java --- @@ -0,0 +1,335 @@ +/** --- End diff -- Minor -