[jira] [Resolved] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne resolved JENA-1439.
-
Resolution: Fixed

> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Fix For: Jena 3.6.0
>
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne updated JENA-1439:

Fix Version/s: Jena 3.6.0

> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Fix For: Jena 3.6.0
>
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285305#comment-16285305
 ] 

ASF subversion and git services commented on JENA-1439:
---

Commit d0d732fb4e271119b5f6e1fdc0becee4f712f719 in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=d0d732f ]

JENA-1439: Merge commit 'refs/pull/325/head' of github.com:apache/jena

This closes #325.


> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285306#comment-16285306
 ] 

ASF GitHub Bot commented on JENA-1439:
--

Github user asfgit closed the pull request at:

https://github.com/apache/jena/pull/325


> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285304#comment-16285304
 ] 

ASF subversion and git services commented on JENA-1439:
---

Commit 3d63b3d2d62a30690b7359703fc39aa05001be31 in jena's branch 
refs/heads/master from [~c...@moonvine.org]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=3d63b3d ]

fix JENA-1439  graph queries fail 'lang:xx'

Fixes JENA-1439 graph queries fail to preserve text:query 'lang:xx' arg. 
TextQueryPF.extractArg(...) removed the arg unnecessarily from the input list, 
side-effecting the list which was saved in an OpPropFunc for repeated use on 
graph iterations and thus the argument was only present on the first graph in 
the iteration

> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (JENA-1439) graph queries fail to preserve text:query 'lang:xx' arg

2017-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285302#comment-16285302
 ] 

ASF subversion and git services commented on JENA-1439:
---

Commit 1817721 from [~andy.seaborne] in branch 'site/trunk'
[ https://svn.apache.org/r1817721 ]

JENA-1439 fix update.

> graph queries fail to preserve text:query 'lang:xx' arg
> ---
>
> Key: JENA-1439
> URL: https://issues.apache.org/jira/browse/JENA-1439
> Project: Apache Jena
>  Issue Type: Bug
>  Components: Jena
>Affects Versions: Jena 3.5.0
> Environment: Jena 3.6.0-SNAPSHOT
>Reporter: Code Ferret
>Assignee: Code Ferret
> Attachments: TEST_TEXT_001.trig, TEST_TEXT_002.trig, 
> TRACING-jena-text-W-cache-W-graph-lang-FUSEKI-3.6.0-SNAPSHOT.txt
>
>
> Jena-text queries that iterate over graphs, such as:
> {code}
> select ?g ?s ?lit
> where {
>graph ?g { (?s ?sc ?lit) text:query (skos:prefLabel "one" "lang:xx") } 
> .
> }
> {code}
> fail to pass the {{lang:xx}} after the first graph leading to erroneous 
> results.
> A file with configuration, query, trace logging and results is attached along 
> with example trig files,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: CMS diff: Jena Full Text Search

2017-12-10 Thread Andy Seaborne

Done - thanks

Andy

On 09/12/17 17:48, Chris Tomlinson wrote:

Hello,

This commit, against the staging version of jena-text doc, corrects the documentation 
to reflect fix JENA-1439 graph queries fail 'lang:xx’ 
.

Thank you,
Chris



On Dec 9, 2017, at 5:45 PM, Chris Tomlinson  wrote:

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
===
--- trunk/content/documentation/query/text-query.mdtext (revision 1817587)
+++ trunk/content/documentation/query/text-query.mdtext (working copy)
@@ -391,11 +391,6 @@
will iterate over the graphs in the dataset, searching each in turn for
matches.

-Note that there is a known issue when a `lang:xx` argument is included in
-the above pattern, so that the restriction to given language is not obeyed.
-This will be corrected in a future release. However, use of a language tag
-on the `query string` is not subject to this issue.
-
If there is suitable structure to the graphs, e.g., a known `rdf:type` and
depending on the selectivity of the text query and number of graphs,
it may be more performant to express the query as follows:
@@ -406,9 +401,6 @@
   graph ?g { ?s a ex:Item } .
 }

-Note that this form does not have any issue with `lang:xx` as described
-above, since the graph is extracted after the text search.
-
 Queries across multiple `Field`s

As mentioned earlier, the text index uses the






[jira] [Commented] (JENA-1340) Regression: Problem with using riot on csv->rdf with Jena 3.3.0 (tested that works on 3.1.1)

2017-12-10 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285282#comment-16285282
 ] 

ASF subversion and git services commented on JENA-1340:
---

Commit 35139ebe533e38c9d007830061efcef7cd889d2a in jena's branch 
refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=35139eb ]

Revert "JENA-1340: Merge commit 'refs/pull/314/head' of github.com:apache/jena"

This reverts commit 74cbc638655a4661e13ad7a06ccd619e328c7ee7, reversing
changes made to e512f51b10c479fa8fb24573d7b9112cde8e0fda.


> Regression: Problem with using riot on csv->rdf with Jena 3.3.0 (tested that 
> works on 3.1.1)
> 
>
> Key: JENA-1340
> URL: https://issues.apache.org/jira/browse/JENA-1340
> Project: Apache Jena
>  Issue Type: Bug
>Affects Versions: Jena 3.3.0
> Environment: Linux
>Reporter: Grzegorz Wierzowiecki
>Assignee: Andy Seaborne
> Fix For: Jena 3.4.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> ./apache-jena-3.3.0/bin/riot --base='http://example.com/csvtest/' 
> --syntax=csv --output=ttl csv_dbs_examples/csv_inputs/CDs.csv 
> java.lang.NullPointerException
> at 
> org.apache.jena.ext.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770)
> at 
> org.apache.jena.ext.com.google.common.cache.LocalCache.get(LocalCache.java:4153)
> at 
> org.apache.jena.ext.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:5060)
> at 
> org.apache.jena.atlas.lib.cache.CacheGuava.getOrFill(CacheGuava.java:58)
> at 
> org.apache.jena.riot.system.IRIResolver$IRIResolverNormal.resolveSilentCache(IRIResolver.java:470)
> at 
> org.apache.jena.riot.system.IRIResolver$IRIResolverNormal.resolveSilent(IRIResolver.java:454)
> at 
> org.apache.jena.riot.system.IRIResolver.resolve(IRIResolver.java:328)
> at 
> org.apache.jena.riot.system.IRIResolver$IRIResolverSync.resolve(IRIResolver.java:489)
> at 
> org.apache.jena.riot.system.IRIResolver.resolveIRI(IRIResolver.java:254)
> at 
> org.apache.jena.riot.system.IRIResolver.resolveString(IRIResolver.java:233)
> at 
> org.apache.jena.riot.lang.ReaderRIOTCSV.parse(ReaderRIOTCSV.java:89)
> at org.apache.jena.riot.lang.ReaderRIOTCSV.read(ReaderRIOTCSV.java:67)
> at org.apache.jena.riot.RDFParser.read(RDFParser.java:293)
> at org.apache.jena.riot.RDFParser.parseNotUri(RDFParser.java:283)
> at org.apache.jena.riot.RDFParser.parse(RDFParser.java:233)
> at riotcmd.CmdLangParse.parseRIOT(CmdLangParse.java:286)
> at riotcmd.CmdLangParse.parseFile(CmdLangParse.java:216)
> at riotcmd.CmdLangParse.exec$(CmdLangParse.java:161)
> at riotcmd.CmdLangParse.exec(CmdLangParse.java:127)
> at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
> at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
> at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
> at riotcmd.riot.main(riot.java:34)
> originally posted on : http://stackoverflow.com/q/43968425/544721
> I am new to this Jira bug tracker, please excuse if I failed to find 
> duplicate, and please kindly de-duplicate if it was already reported.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (JENA-1447) Special case DatasetGraphs

2017-12-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285266#comment-16285266
 ] 

ASF GitHub Bot commented on JENA-1447:
--

GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/328

JENA-1447: Special case datasets

A collection of datasets and associated graphs and machinery, for one-graph 
view datasets, empty and sink datasets.

More details on 
[JENA-1447](https://issues.apache.org/jira/browse/JENA-1447).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena more-datasets

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/328.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #328


commit 3046d0911252dc3f73bc41ef32df9ec3a9aa8232
Author: Andy Seaborne 
Date:   2017-12-10T14:21:07Z

JENA-1447: Special case datasets




> Special case DatasetGraphs
> --
>
> Key: JENA-1447
> URL: https://issues.apache.org/jira/browse/JENA-1447
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 3.5.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>
> Some specialized datasets:
> {{DatasetGraphOne}} - a dataset around a single which becomes the default 
> graph.  This is the converter from graphs to datasets.  A special case is 
> where the graph is GraphView from another dataset. The existing 
> {{DatasetGraphOne}} needs upgrading to map dataset transactions back to the 
> original dataset.
> {{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
> default graph. Convenient to have in place of null pointers.
> {{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
> is always empty.
> {{TransactionalNull}} - a transactional to reflect the properties of empty 
> datasets.
> In support of these: 
> {{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} 
> and {{TransactionHandlerNull}}.
> The graphs do not fully comply with the full {{Graph}} contract:
> * {{GraphZero}} throws {{UnsupportedOperationException}}, not 
> {{AddDeniedException}}/{{DeleteDeniedException}} becaue (1) it is in keeping 
> with {{DatasetGraphZero}} and (2) {{AddDeniedException}} is dynamic - it make 
> be thrown in some situations and not others e.g. permissions.
> * {{GraphSink}} does not contain triples added.
> On naming:
> "DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a 
> sink.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] jena pull request #328: JENA-1447: Special case datasets

2017-12-10 Thread afs
GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/328

JENA-1447: Special case datasets

A collection of datasets and associated graphs and machinery, for one-graph 
view datasets, empty and sink datasets.

More details on 
[JENA-1447](https://issues.apache.org/jira/browse/JENA-1447).

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena more-datasets

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/328.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #328


commit 3046d0911252dc3f73bc41ef32df9ec3a9aa8232
Author: Andy Seaborne 
Date:   2017-12-10T14:21:07Z

JENA-1447: Special case datasets




---


[jira] [Updated] (JENA-1447) Special case DatasetGraphs

2017-12-10 Thread Andy Seaborne (JIRA)

 [ 
https://issues.apache.org/jira/browse/JENA-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Seaborne updated JENA-1447:

Description: 
Some specialized datasets:

{{DatasetGraphOne}} - a dataset around a single which becomes the default 
graph.  This is the converter from graphs to datasets.  A special case is where 
the graph is GraphView from another dataset. The existing {{DatasetGraphOne}} 
needs upgrading to map dataset transactions back to the original dataset.

{{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
default graph. Convenient to have in place of null pointers.

{{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
is always empty.

{{TransactionalNull}} - a transactional to reflect the properties of empty 
datasets.

In support of these: 

{{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} and 
{{TransactionHandlerNull}}.

The graphs do not fully comply with the full {{Graph}} contract:

* {{GraphZero}} throws {{UnsupportedOperationException}}, not 
{{AddDeniedException}}/{{DeleteDeniedException}} becaue (1) it is in keeping 
with {{DatasetGraphZero}} and (2) {{AddDeniedException}} is dynamic - it make 
be thrown in some situations and not others e.g. permissions.

* {{GraphSink}} does not contain triples added.

On naming:

"DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a sink.

  was:
Some specialized datasets:

{{DatasetGraphOne}} - a dataset around a single which becomes the default 
graph.  This is the converter from graphs to datasets.  A special case is where 
the graph is GraphView from another dataset. The existing {{DatasetGraphOne}} 
needs upgrading to map dataset transactions back to the original dataset.

{{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
default graph. Convenient to have in place of null pointers.

{{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
is always empty.

{{TransactionalNull}} - a transactional to reflect the properties of empty 
datasets.

In support of these: 

{{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} and 
{{TransactionHandlerNull}}.

On naming:

"DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a sink.


> Special case DatasetGraphs
> --
>
> Key: JENA-1447
> URL: https://issues.apache.org/jira/browse/JENA-1447
> Project: Apache Jena
>  Issue Type: Bug
>  Components: ARQ
>Affects Versions: Jena 3.5.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
>
> Some specialized datasets:
> {{DatasetGraphOne}} - a dataset around a single which becomes the default 
> graph.  This is the converter from graphs to datasets.  A special case is 
> where the graph is GraphView from another dataset. The existing 
> {{DatasetGraphOne}} needs upgrading to map dataset transactions back to the 
> original dataset.
> {{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
> default graph. Convenient to have in place of null pointers.
> {{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
> is always empty.
> {{TransactionalNull}} - a transactional to reflect the properties of empty 
> datasets.
> In support of these: 
> {{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} 
> and {{TransactionHandlerNull}}.
> The graphs do not fully comply with the full {{Graph}} contract:
> * {{GraphZero}} throws {{UnsupportedOperationException}}, not 
> {{AddDeniedException}}/{{DeleteDeniedException}} becaue (1) it is in keeping 
> with {{DatasetGraphZero}} and (2) {{AddDeniedException}} is dynamic - it make 
> be thrown in some situations and not others e.g. permissions.
> * {{GraphSink}} does not contain triples added.
> On naming:
> "DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a 
> sink.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (JENA-1447) Special case DatasetGraphs

2017-12-10 Thread Andy Seaborne (JIRA)
Andy Seaborne created JENA-1447:
---

 Summary: Special case DatasetGraphs
 Key: JENA-1447
 URL: https://issues.apache.org/jira/browse/JENA-1447
 Project: Apache Jena
  Issue Type: Bug
  Components: ARQ
Affects Versions: Jena 3.5.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne


Some specialized datasets:

{{DatasetGraphOne}} - a dataset around a single which becomes the default 
graph.  This is the converter from graphs to datasets.  A special case is where 
the graph is GraphView from another dataset. The existing {{DatasetGraphOne}} 
needs upgrading to map dataset transactions back to the original dataset.

{{DatasetGraphZero}} - a dataset with no named graph and an always-empty 
default graph. Convenient to have in place of null pointers.

{{DatasetGraphSink}} - a dataset that accepts updated but ignores them and so 
is always empty.

{{TransactionalNull}} - a transactional to reflect the properties of empty 
datasets.

In support of these: 

{{GraphSink}}, {{GraphZero}}, {{PrefixMappingSink}}, {{PrefixMappingZero}} and 
{{TransactionHandlerNull}}.

On naming:

"DatasetGraphZero" might also be "DatasetGraphNull" but {{/dev/null}} is a sink.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] jena issue #299: Turtle Star

2017-12-10 Thread afs
Github user afs commented on the issue:

https://github.com/apache/jena/pull/299
  
PR #327 adds an RDFTerm for a triple.


---


[GitHub] jena pull request #327: Add Node_Triple

2017-12-10 Thread afs
GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/327

Add Node_Triple

In support of PR #299 (RDF*).

Add `Node_Triple` - and RDF triple created as an RDF Term.

Also add `Node_Graph` for completeness.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena term-extend

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/327.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #327


commit 41d2f7328544679e709b96e8746107ec05a873e5
Author: Andy Seaborne 
Date:   2017-11-28T18:42:30Z

Add extension point for RDF Terms. Add Node_Triple and Node_Graph.

Applicaton beware!

commit de30c0433063919a3588c387186c5ae98dc90a45
Author: Andy Seaborne 
Date:   2017-12-10T13:34:03Z

Some tests for Node_Ext




---


[jira] [Commented] (JENA-1446) OpTriple not handled by OpVarsPattern

2017-12-10 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/JENA-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16285178#comment-16285178
 ] 

ASF GitHub Bot commented on JENA-1446:
--

GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/326

JENA-1446: Fix for OpTriple and OpQuad when Var collecting.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena fix-vars-optriple

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #326


commit 525e72813d0d1a72feed4b2cf16f2bf53e4229d1
Author: Andy Seaborne 
Date:   2017-12-09T22:58:33Z

Handle OpTriple and OpQuad when Var collecting.




> OpTriple not handled by OpVarsPattern
> -
>
> Key: JENA-1446
> URL: https://issues.apache.org/jira/browse/JENA-1446
> Project: Apache Jena
>  Issue Type: Bug
>Affects Versions: Jena 3.5.0
>Reporter: Andy Seaborne
>Assignee: Andy Seaborne
> Fix For: Jena 3.6.0
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[GitHub] jena pull request #326: JENA-1446: Fix for OpTriple and OpQuad when Var coll...

2017-12-10 Thread afs
GitHub user afs opened a pull request:

https://github.com/apache/jena/pull/326

JENA-1446: Fix for OpTriple and OpQuad when Var collecting.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/afs/jena fix-vars-optriple

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/jena/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #326


commit 525e72813d0d1a72feed4b2cf16f2bf53e4229d1
Author: Andy Seaborne 
Date:   2017-12-09T22:58:33Z

Handle OpTriple and OpQuad when Var collecting.




---


[jira] [Created] (JENA-1446) OpTriple not handled by OpVarsPattern

2017-12-10 Thread Andy Seaborne (JIRA)
Andy Seaborne created JENA-1446:
---

 Summary: OpTriple not handled by OpVarsPattern
 Key: JENA-1446
 URL: https://issues.apache.org/jira/browse/JENA-1446
 Project: Apache Jena
  Issue Type: Bug
Affects Versions: Jena 3.5.0
Reporter: Andy Seaborne
Assignee: Andy Seaborne
 Fix For: Jena 3.6.0






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)