Re: GSoC - Sparql in rules

2014-08-19 Thread Andy Seaborne
On 19/08/14 15:53, Miguel Bento Alves wrote: Andy, "What's the error?” when I add jena-arq to the dependencies of jena-core, the tests described below fails. I already reported this issue before and since then I’m skipping the tests (I commented the tests that fails). Yes, ignore them - som

Re: GSoC - Sparql in rules

2014-08-19 Thread Miguel Bento Alves
Andy, "What's the error?” when I add jena-arq to the dependencies of jena-core, the tests described below fails. I already reported this issue before and since then I’m skipping the tests (I commented the tests that fails). Miguel addTest(ts, "N3", com.hp.hpl.jena.n3.N3TestSuite.suite()); a

Re: GSoC - Sparql in rules

2014-08-18 Thread Andy Seaborne
On 15/08/14 12:01, Miguel Bento Alves wrote: Hi Andy, I updated all my code to the new version of Jena. My repo is https://github.com/mbentoalves/jena. I have a problem in building that I couldn’t fix, give an error when I add the jena-arq to the dependencies of jena-core in test com.hp.hpl.j

GSoC - Sparql in rules

2014-08-15 Thread Miguel Bento Alves
Hi Andy, I updated all my code to the new version of Jena. My repo is https://github.com/mbentoalves/jena. I have a problem in building that I couldn’t fix, give an error when I add the jena-arq to the dependencies of jena-core in test com.hp.hpl.jena.test.TestPackage. If I remove this test,

Re: GSoC : SPARQL in Rules : mid-term checkpoint

2014-06-26 Thread Miguel Bento Alves
Hi All, Below I list my report to mid-term evaluation. Miguel SPARQL commands in Jena rules - Mid-term evaluation 1. Introduction Define SPARQL commands in Jena rules is a project proposed in Apache’s JIRA, in project Apache Jena, and it goal is to allow the definition of SPARQL commands in Jen

Re: GSoC : SPARQL in Rules : mid-term checkpoint

2014-06-24 Thread Andy Seaborne
Claude, That takes the case for not writing complex tests and also for having simple tests then build on them, ideally, one feature at a time. Nicer when JUnit ran test in a predictable order. In this case there is a single call to the parser. It simply avoids needing to have a separate

Re: GSoC : SPARQL in Rules : mid-term checkpoint

2014-06-23 Thread Claude Warren
Just a quick difference of opinion. I think that @Test(expected=Rule.SparqlRuleParserException.class) public void sparqlInRule_NN() { parseRuleString("...") ; } is a bad pattern, and that tests where an exception is expected are better served with try catch blocks catching the expected exceptio

GSoC : SPARQL in Rules : mid-term checkpoint

2014-06-23 Thread Andy Seaborne
Hi Miguel, We're approaching the mid-term of the Google Summer of Code project. It's a good time to assess the state against the plan and to replan the remainder of the time. Could you please briefly write-up how you see the project going and see if you think any replanning is needed. Also,