Graph SPI Contract

2014-08-08 Thread Claude Warren
This is a message stack for Graph SPI Contract testing. It covers only the Jena 2 Graph Contract. This an attempt to document the current Graph contract. Any correction should specify the bullet point number. 1. add() -- technically from GraphAdd 1. when a triple is added to a graph al

[jira] [Commented] (JENA-762) Provide a registry for result set readers and writers.

2014-08-08 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JENA-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091239#comment-14091239 ] ASF subversion and git services commented on JENA-762: -- Commit 1616868

Re: extract query patterns

2014-08-08 Thread Andy Seaborne
On 08/08/14 10:15, Miguel Bento Alves wrote: Hi all, In a Sparql query, we can extract the query pattern ( q.getQueryPattern() ). For instance, in the sparql command: Select ?x ?p ?z where {?x ?p ?y . ?x ?z.} we can extract: { ?x ?p ?y . ?x ?z } Is there any

[jira] [Created] (JENA-762) Provide a registry for result set readers and writers.

2014-08-08 Thread Andy Seaborne (JIRA)
Andy Seaborne created JENA-762: -- Summary: Provide a registry for result set readers and writers. Key: JENA-762 URL: https://issues.apache.org/jira/browse/JENA-762 Project: Apache Jena Issue Type

[jira] [Commented] (JENA-648) Make TDB datasets harder to corrupt

2014-08-08 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091192#comment-14091192 ] Andy Seaborne commented on JENA-648: Jena 2.12.0 is out - should we close this as "done"

Re: Sparql in rules

2014-08-08 Thread Dave Reynolds
On 08/08/14 15:27, Miguel Bento Alves wrote: Hi Dave, “...I would recommend doing so as a built-in…”. I did that and worked for some examples. However, I couldn’t generalise the processing. In RETEforward the rules are triggered in response of triples fired. When we have a rule with one one sp

Re: Sparql in rules

2014-08-08 Thread Miguel Bento Alves
Hi Dave, “...I would recommend doing so as a built-in…”. I did that and worked for some examples. However, I couldn’t generalise the processing. In RETEforward the rules are triggered in response of triples fired. When we have a rule with one one sparql command nothing trigger the rule. Furthe

Re: Sparql in rules

2014-08-08 Thread Dave Reynolds
Hi Miguel, I found this hard to follow. There shouldn't be any problem embedding SPARQL queries into forward rules so that they can see the deduced data. The hard issue is that the forward engine has no support for primitives that return streams of bindings. To embed a SPARQL query in forwa

Sparql in rules

2014-08-08 Thread Miguel Bento Alves
Hi All, I couldn't implement the hook between a Sparql command and rules terms. In my opinion, only make sense hook a Sparql command and rules terms if in the sparql command we can invoke variables from rules terms. Something like: (?x ?y), (\\\sparql Select ?z where {&y ?z .}

extract query patterns

2014-08-08 Thread Miguel Bento Alves
Hi all, In a Sparql query, we can extract the query pattern ( q.getQueryPattern() ). For instance, in the sparql command: Select ?x ?p ?z where {?x ?p ?y . ?x ?z.} we can extract: { ?x ?p ?y . ?x ?z } Is there anyway to extract as TriplePattern? Also, we ca

[jira] [Resolved] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-759. Resolution: Not a Problem Assignee: Andy Seaborne > New Version of HTTP client throw HTTP400 er

[jira] [Commented] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread ArthurVaisse-Lesteven (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090483#comment-14090483 ] ArthurVaisse-Lesteven commented on JENA-759: I'll contact strabon developpers, i

[jira] [Comment Edited] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090470#comment-14090470 ] Andy Seaborne edited comment on JENA-759 at 8/8/14 8:39 AM: Does

[jira] [Comment Edited] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090470#comment-14090470 ] Andy Seaborne edited comment on JENA-759 at 8/8/14 8:30 AM: Does

[jira] [Commented] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread Andy Seaborne (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090470#comment-14090470 ] Andy Seaborne commented on JENA-759: Does the strabon endpoint deal with content negotia

[jira] [Commented] (JENA-759) New Version of HTTP client throw HTTP400 error when using "sparqlService"

2014-08-08 Thread ArthurVaisse-Lesteven (JIRA)
[ https://issues.apache.org/jira/browse/JENA-759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090427#comment-14090427 ] ArthurVaisse-Lesteven commented on JENA-759: The setting of HttpQuery.urlLimit t