gremlin> g = new Neo4jGraph("/tmp/neo");
==>neo4jgraph[EmbeddedGraphDatabase [\tmp\neo]]
gremlin> s = new GraphSail(g);
==>graphsail[neo4jgraph]
gremlin> s.initialize();
==>null
gremlin> r = new SailRepository(s);
==>graphsail[neo4jgraph]
gremlin> rc = r.getConnection();
==>org.openrdf.repository.sail.SailRepositoryConnection@871fa83
gremlin> rc.add(new File("/tmp/neo.rdf"),"",RDFFormat.RDFXML);
20:03:50.823 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.n3.N3ParserFactory
20:03:50.827 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.ntriples.NTriplesParserFactory
20:03:50.831 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.rdfxml.RDFXMLParserFactory
20:03:50.840 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.trig.TriGParserFactory
20:03:50.843 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.trix.TriXParserFactory
20:03:50.847 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.turtle.TurtleParserFactory
20:03:50.852 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class net.fortytwo.sesametools.nquads.NQuadsParserFactory
20:03:50.859 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.semarglproject.sesame.rdf.rdfa.SesameRDFaParserFactory
20:03:50.864 [main] DEBUG org.openrdf.rio.RDFParserRegistry - Registered service
class org.openrdf.rio.binary.BinaryRDFParserFactory
20:03:50.889 [main] DEBUG org.xml.sax.XMLReader - XMLReader initialized using JA
XP: com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser@3c4f39cd
20:03:55.384 [main] WARN o.o.rio.helpers.ParseErrorLogger - 'http://dbpedia.org
/datatype/second' is not recognized as a supported xsd datatype. (1092, 106)
==>null
gremlin> import org.openrdf.sail.memory.MemoryStore;gremlin> g = new SailGraph(new MemoryStore())gremlin> g.loadRDF('/Users/marko/Desktop/neo.rdf', 'rdf-xml'))gremlin> g.E[0..5]gremlin>
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
gremlin> g = new SailGraph(new GraphSail(new Neo4jGraph('/tmp/rdf-ex')))==>sailgraph[graphsail]
gremlin> g.loadRDF('/Users/marko/Desktop/neo.rdf', 'rdf-xml')
==>nullgremlin> g.commit()==>null
gremlin> g.E[0..5]gremlin>
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/YHPU7TK-1E8/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to gremlin-user...@googlegroups.com.