Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-23 Thread Marko Rodriguez
Hi Alfredas, One thing I forgot to mention. You can express pattern match queries in Gremlin: https://github.com/tinkerpop/gremlin/wiki/SPARQL-vs.-Gremlin While not having the same syntax, you can still do pattern matching as a traversal. But yes, I ultimately want to get an extension

[Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Дмитрий Медведев
Hi all! Recently I started exploring things about graph databases in conjunction with knowledge management and have run across the Neo4j. It now seems to me that Neo4j can somehow be used with the semantic-mediawiki to store RDF and quiery Neo4j with SPARQL. Did anyone have any experience with

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Alfredas Chmieliauskas
There is a rdf-sparql component to Neo4j that could in theory be configured to be used as a backend for semantic mediawiki. But you still have better chances to configure smw to use a triplestore http://en.wikipedia.org/wiki/Triplestore For more info see:

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Alfredas Chmieliauskas
This looks great. I've encountered a problem when following the example. Here I'm trying to create a sail out of Neo4jGraph. java.lang.RuntimeException: No such index exists: edges at com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jGraph.getIndex(Neo4jGraph.java:113) at

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Marko Rodriguez
Hi, I apologize. When I said 1-to-1, I spoke with exaggeration. You will need to create a GraphSail from a blank Neo4jGraph initially. Sail sail = new GraphSail(new Neo4jGraph(/tmp/neo4jgraphsail)) At that point, you can move back and forth. The reason being, GraphSail requires

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Alfredas Chmieliauskas
Got it. It would be great to be able to use Sparql on neo4j or any other Blueprint db. Do you think it would be possible to map/translate sparql query to gremlin/pipes? Alfredas On Tue, Feb 22, 2011 at 5:09 PM, Marko Rodriguez okramma...@gmail.com wrote: Hi, I apologize. When I said

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Marko Rodriguez
Hi, Got it. It would be great to be able to use Sparql on neo4j or any other Blueprint db. Yea it would. Do you think it would be possible to map/translate sparql query to gremlin/pipes? I plan to create a new DSL over Gremlin/Pipes that has a syntax flavor like this. E.g. x = []; y =

Re: [Neo4j] Question: Neo4j and semantic-mediawiki

2011-02-22 Thread Alfredas Chmieliauskas
Well I'm in general interested in having all these different mechanisms (native (traverse), pipes, gremlin, sparql) to query the same graph. That would give so much more flexibility when writing domain methods. Ideally you would not want to write domain methods at all, but annotate interfaces with