From: Christian W. <cw...@cw...> - 2007-03-23 11:45:36
Attachments:
signature.asc
|
Hello all, I'm proud I can announce that my SparqlEngineDb implementation went a big step forward and has ORDER BY and LIMIT/OFFSET support now. ORDER BY support was really tricky, since data have to be sorted not the way the database sorts the blob values, but by their resource type (blank, literal, resource) and then according to the sorting rules that their XSD schema type specifies (which was a problem since the integers are stored as blobs/strings, and the DBMS does not know that they are meant to be integers). I got that working yesterday, and today I finished LIMIT/OFFSET support (I had to do that myself since the queries to the database could unfortunately not be pressed in a single query, imploded with UNION - the sort order would vanish there). This means that currently the basics are working, and the three first big unit test groups (dawg, sort and limit-offset) are passed now. It also has support for all query types (ASK, COUNT, SELECT, DESCRIBE, CONSTRUCT) now. Since OntoWiki is switching to use Sparql internally to query the databases, my next step is to implement prepared statement support - parsing the sparql queries and creating sql statements takes some time, and it would speed things up greatly if this would need to be done only once when doing 500 queries in a row. When I have finished prepared statements, I will begin adding support for FILTERs. This will be another challenging task, since there is currently no Filter parser for sparql queries - this needs to be done before I can actually implement the filters in the db engine. --=20 Regards/Mit freundlichen Gr=C3=BC=C3=9Fen Christian Weiske |
From: Chris B. <ch...@bi...> - 2007-03-23 13:51:25
|
Hi Christian, sounds great :-) How is the status with the filters. Does your code currently use Tobias old filtering approach or doesn't it do any filtering at all? If the code supports filters, it would be cool if you would submit a pre-release version of your engine to the RAP CVS, so that other peole can play with the code. Keep up the great work! Chris -- Dr. Chris Bizer Freie Universität Berlin Phone: +49 30 838 54057 Mail: ch...@bi... Web: www.bizer.de ----- Original Message ----- From: "Christian Weiske" <cw...@cw...> To: <rdf...@li...> Cc: <ak...@in...> Sent: Friday, March 23, 2007 12:45 PM Subject: [Rdfapi-php-interest] SparqlEngineDb status > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------------------------------------------------------------------------- > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |
From: Christian W. <cw...@cw...> - 2007-03-23 14:09:11
Attachments:
signature.asc
|
Chris, > How is the status with the filters. Does your code currently use Tobias= > old filtering approach or doesn't it do any filtering at all? I am currently not filtering at all. Further, I don't want to use Tobias code since it is hackish and maybe used to execute any code as we saw a month ago. > If the code supports filters, it would be cool if you would submit a > pre-release version of your engine to the RAP CVS, so that other peole > can play with the code. Erm, I am regularly submitting my code to CVS and you can actually play with it right now - there is even an example script in test/, --=20 Regards/Mit freundlichen Gr=C3=BC=C3=9Fen Christian Weiske |
From: Bart P. <bar...@el...> - 2007-03-23 15:43:23
|
Hi, are there any plans to implement json results for sparql queries? http://www.w3.org/TR/rdf-sparql-json-res/ It would be nice to use dojo.data to query a RAP DB http://dojotoolkit.org/node/98 Greetings Bart Christian Weiske schrieb: > Hello all, > > > I'm proud I can announce that my SparqlEngineDb implementation went a > big step forward and has ORDER BY and LIMIT/OFFSET support now. ORDER BY > support was really tricky, since data have to be sorted not the way the > database sorts the blob values, but by their resource type (blank, > literal, resource) and then according to the sorting rules that their > XSD schema type specifies (which was a problem since the integers are > stored as blobs/strings, and the DBMS does not know that they are meant > to be integers). > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest |
From: Christian W. <cw...@cw...> - 2007-03-24 10:02:05
Attachments:
signature.asc
|
Bart, > are there any plans to implement json results for sparql queries? > http://www.w3.org/TR/rdf-sparql-json-res/ I do not have planned this, but your query reminds me that both sparql engines should get a proper plugin-based output rendering. With that, it should be easy to add a json renderer. --=20 Regards/Mit freundlichen Gr=FC=DFen Christian Weiske |