Good call, I will add a ticket to add a SparQL extension for the server, sounds like a number of users are requesting it. Thanks for bringing it up - let me know if you want to chip in, Andrew/Marko!
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Wed, Sep 28, 2011 at 10:44 PM, Marko Rodriguez <[email protected]> wrote: > Hey, > >> After adding nodes and relationships into Neo4J REST server using REST API. >> How do I read data from the database using SPARQL? Does the database support >> SPARQL? > > Neo4j is not an RDF database in its raw form. Its data model is a bit more > complicated than RDF and as such, is not amenable to SPARQL which assumes > only an edge-labeled graph. However, with that said, the pattern matching > functionality of Cypher is somewhat analogous to SPARQL so you might find > solace in that. Moreover, you can also use Gremlin for pattern matching, > though it doesn't have the same look-and-feel as SPARQL (see > https://github.com/tinkerpop/gremlin/wiki/SPARQL-vs.-Gremlin ). > > Next. If you actually have used GraphSail (via Blueprints) to model your data > as an RDF graph in Neo4j, then you can access it via Sesame SPARQL engine --- > however, as it stands, not via the Neo4j REST server without rolling your own > extension. If you are so inclined, you can either use Rexster > (http://rexster.tinkerpop.com) and its SPARQL "kibble" or steal the code in > Rexster's SPARQL kibble and make it work for Neo4j Server (shouldn't be more > than an a few hours work). > > see http://rexster-kibbles.tinkerpop.com/ > > https://github.com/tinkerpop/rexster-kibbles/tree/master/sparql-kibble > > Hope that is clear, > Marko. > > http://markorodriguez.com > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

