Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-21 Thread Andy Seaborne
On 21/03/14 15:02, Miguel Bento Alves wrote: Enclosed I send my GSoC proposal to JENA-650 - Define SPARQL commands in Jena rules Miguel Miguel, You must go to google-melange. That is how to submit a proposal, not by sending it to a mailing list. There is 2 hours, 45 minutes remaining. T

GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-21 Thread Miguel Bento Alves
Enclosed I send my GSoC proposal to JENA-650 - Define SPARQL commands in Jena rules Miguel

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-12 Thread Andy Seaborne
On 11/03/14 19:05, Miguel Bento Alves wrote: Hi Andy, "How do you find the string?" "The parser sees 'execSPARQL' '(' then what?” "SELECT * { ?s ?p "I am a string with an unmatched ) characters” }” Yes, i need to think more carefully on this. Perhaps, I need to do some tests with the parser

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-11 Thread Miguel Bento Alves
Hi Andy, "How do you find the string?" "The parser sees 'execSPARQL' '(' then what?” "SELECT * { ?s ?p "I am a string with an unmatched ) characters” }” Yes, i need to think more carefully on this. Perhaps, I need to do some tests with the parser before. About the problem of the mentors, I t

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-11 Thread Andy Seaborne
On 10/03/14 23:07, Miguel Bento Alves wrote: Hi Andy, Why not create a private word? Something like: (?r rdf:type ex:Square) <- execSPARQL(select ?r where { ?r ex:width ?width . ?r ex:height ?height .

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-10 Thread Miguel Bento Alves
Hi Andy, Why not create a private word? Something like: (?r rdf:type ex:Square) <- execSPARQL(select ?r where { ?r ex:width ?width . ?r ex:height ?height . FILTER(?width = ?height) . })

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-10 Thread Andy Seaborne
On 09/03/14 22:35, Miguel Bento Alves wrote: Hi Andy, "I wonder if it might be better to build a new syntax for "SPARQL Rules" which is SPARQL inspired using BGPs" Yes, it is a good possibility. You, better than me for sure, know the issues carried by the syntax. And, what about something like

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-09 Thread Miguel Bento Alves
Hi Andy, "I wonder if it might be better to build a new syntax for "SPARQL Rules" which is SPARQL inspired using BGPs" Yes, it is a good possibility. You, better than me for sure, know the issues carried by the syntax. And, what about something like: (?r rdf:type ex:Square) <- {select ?r

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-09 Thread Andy Seaborne
On 05/03/14 10:09, Miguel Bento Alves wrote: Hi Andy, Below, a first draft how a SPARQL command can be defined in a Jena rule. In example 1) is defined that a given student is diligent in a given class if he doesn't fail more than 1 lesson of that class. As this command has an aggregate clause,

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-05 Thread Miguel Bento Alves
Hi Andy, Below, a first draft how a SPARQL command can be defined in a Jena rule. In example 1) is defined that a given student is diligent in a given class if he doesn't fail more than 1 lesson of that class. As this command has an aggregate clause, in the best of my knowledge I can’t express the

Re: GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-05 Thread Andy Seaborne
Hi Miguel, So that we know we're talking about the same thing, do you have some concrete examples of what the SPARQL commands would look like? This isn't to fix the design in anyway, just to have an illustration of the ideas for the moment. Andy On 04/03/14 18:18, Miguel Bento Alve

GSoC 2014 - Define SPARQL commands in Jena rules

2014-03-04 Thread Miguel Bento Alves
Dear all, I¹m Miguel Bento Alves, I¹m a Phd student in New University of Lisbon. I want to develop the project described below, that was proposed by myself, in Google Summer code 2014. I need a mentor with knowledge about how Jena is implemented to give me the guidelines to implement the project a