Re: RDFConnection

2015-08-05 Thread aj...@virginia.edu
Just a thought on ergonomics: it might be nice to separate clear and delete, so instead of RDFConnection::delete either clearing or deleting a graph depending on whether it is the default graph, you have finer control and can clear a non-default graph. --- A. Soroka The University of Virginia

Re: Journaling DatasetGraph

2015-08-05 Thread aj...@virginia.edu
Thanks for the feedback Andy. 2/ Datasets that provide support for MW cases and don't provide transactions seem rather unlikely so may be document what kind of DatasetGraph is being supported by DatasetGraphWithRecord then just use the underlying lock.. Okay, that's certainly simpler! And

Re: RDFConnection

2015-08-05 Thread Rob Vesse
The main complicating factor is that clear and delete are only separate operations if the storage layer stores graph names separately from graph data which the SPARQL specification specifically do not require For storage systems like TDB where only quads are stored the existence of a named graph

Re: RDFConnection

2015-08-05 Thread aj...@virginia.edu
Ah, that makes my distinction pretty meaningless! This abstraction seems meant to rub out just such differences. This does remind me of another potential nice small feature: a StreamTriple construct(Query query) method, maybe at first via QueryExecution::execConstructTriples. The

Re: RDFConnection

2015-08-05 Thread Andy Seaborne
On 04/08/15 22:26, Stephen Allen wrote: To my knowledge, the only argument for using GSP instead of just query+update would be performance/scalability. Although, when I have encountered those issues, I've attempted to fix the problem in query+update instead (i.e. adding streaming support for

[jira] [Created] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
Eugene Tenkaev created JENA-1006: Summary: How read and add triples to `Graph` at the same time? Key: JENA-1006 URL: https://issues.apache.org/jira/browse/JENA-1006 Project: Apache Jena

[jira] [Updated] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Tenkaev updated JENA-1006: - Description: Here is my code: {code:java} public class App { public static void main(String[]

[jira] [Commented] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658801#comment-14658801 ] Andy Seaborne commented on JENA-1006: - Iterators read from the database when

[jira] [Updated] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne updated JENA-1006: Priority: Minor (was: Major) How read and add triples to `Graph` at the same time?

[jira] [Commented] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658805#comment-14658805 ] Andy Seaborne commented on JENA-1006: - Questions usually go to us...@jena.apahe.org.

[jira] [Commented] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658864#comment-14658864 ] Andy Seaborne commented on JENA-1006: -

[jira] [Closed] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne closed JENA-1006. --- How read and add triples to `Graph` at the same time?

[jira] [Resolved] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-1006. - Resolution: Done Fix Version/s: Jena 3.0.1 How read and add triples to `Graph` at the same

[jira] [Commented] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658912#comment-14658912 ] Eugene Tenkaev commented on JENA-1006: -- Yes I read that, but how I can get from

[jira] [Comment Edited] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658912#comment-14658912 ] Eugene Tenkaev edited comment on JENA-1006 at 8/5/15 9:04 PM: --

[jira] [Reopened] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Tenkaev reopened JENA-1006: -- How read and add triples to `Graph` at the same time?

[jira] [Comment Edited] (JENA-1006) How read and add triples to `Graph` at the same time?

2015-08-05 Thread Eugene Tenkaev (JIRA)
[ https://issues.apache.org/jira/browse/JENA-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14658912#comment-14658912 ] Eugene Tenkaev edited comment on JENA-1006 at 8/5/15 9:15 PM: --

Re: Fwd: Final Deliveries of GSoC Project (JENA-491)

2015-08-05 Thread Qihong Lin
Hi, I've fixed the bugs related to syntax checks. Please see my latest commits. Here're the output of the syntax files through qparse (you can also run ExampleConstructQuads.java to get the results). Are these with the expected behaviors, especially for syntax-quad-construct-07.arq?

Re: RDFConnection

2015-08-05 Thread Stephen Allen
On Wed, Aug 5, 2015 at 1:14 PM, Andy Seaborne a...@apache.org wrote: On 04/08/15 22:26, Stephen Allen wrote: To my knowledge, the only argument for using GSP instead of just query+update would be performance/scalability. Although, when I have encountered those issues, I've attempted to fix

[jira] [Commented] (JENA-999) Poor jena-text query performance when a bound subject is used

2015-08-05 Thread Stephen Allen (JIRA)
[ https://issues.apache.org/jira/browse/JENA-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14659197#comment-14659197 ] Stephen Allen commented on JENA-999: I'm having some difficulties, and maybe it is my

[jira] [Updated] (JENA-999) Poor jena-text query performance when a bound subject is used

2015-08-05 Thread Stephen Allen (JIRA)
[ https://issues.apache.org/jira/browse/JENA-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephen Allen updated JENA-999: --- Attachment: PerformanceTester.java Poor jena-text query performance when a bound subject is used