In Neo4j web admin, you may use the integrated Gremlin to find the node id:
gremlin> g.idx(T.v)[[uri:"http://..."]]
HTH,
Pierre
Le jeudi 21 juillet 2011, Alexandre Blanquart
<alex.bl...@gmail.com> a écrit :
Yep. Human memory is fuzzy.
No idea if equivalent syntax in data browser of Neo4j web admin.
Peter?
Pierre
Le jeudi 21 juillet 2011, Alexandre Blanquart
<alex.bl...@gmail.com> a écrit :
Hi there,
Can't test right now. Will check it with Jake asap.
/peter
Sent from my phone.
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.
Maybe you have a small example script?
/peter
Sent from my phone.
[~/code/dbpedia4neo] $mvn exec:java
-Dexec.mainClass=org.acaro.dbpedia4neo.inserter.DBpediaLoader
-Dexec.args="instance_types_de.nt"
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'exec'.
[INFO] ------------------------------------------------------------------------
[INFO] Building dbpedia4neo
[INFO] task-segment: [exec:java]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing exec:java
[INFO] No goals needed for project - skipping
[INFO] [exec:java {execution: default-cli}]
Loading instance_types_de.nt:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An exception occured while executing the Java class. null
Unexpected end of file
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Jul 22 22:16:15 CEST 2011
[INFO] Final Memory: 28M/81M
[INFO] ------------------------------------------------------------------------
Which one did you try with?
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.
Now, after doing
mvn exec:java -Dexec.mainClass=org.acaro.dbpedia4neo.inserter.DBpediaLoader
-Dexec.args="instance_types_de.nt"
with a statement of
<http://dbpedia.org/resource/Java>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://dbpedia.org/ontology/Island> .
in the file
and accessing the db via
\,,,/
(o o)
-----oOOo-(_)-oOOo-----
gremlin> g = new Neo4jGraph('/Users/peterneubauer/code/dbpedia4neo/dbpedia4neo')
==>neo4jgraph[EmbeddedGraphDatabase
[/Users/peterneubauer/code/dbpedia4neo/dbpedia4neo]]
gremlin> g.V.count()
==>698
gremlin> g.idx(T.v)
==>AUTOMATIC[vertices:class
com.tinkerpop.blueprints.pgm.impls.neo4j.Neo4jVertex][autoIndexKeys:null]
gremlin> g.idx(T.v)[[uri:"http://dbpedia.org/resource/Java"]]
gremlin>
Gives me no index hits. This is without anything else. Can you access
and see the indexes in a plain Gremlin shell?
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.