I'm having some problems with the Batch Importer (BI) for Neo4j 2.0.0:

  https://github.com/jexp/batch-import/tree/20

I'd like to use Turtle-format names (eg, owl:disjointWith) as property 
names.
I understand that a colon isn't a valid part of a Neo4j identifier unless 
it is
escaped with backquotes (eg, `owl:disjointWith`).  However, I don't see
anything in the BI web page that seems relevant to this.

I've tried creating nodes.csv header lines in two ways:

  name  owl:disjointWith  owl:equivalentClass  ...
  name  `owl:disjointWith`  `owl:equivalentClass`  ...

Neither version works.  They give, respectively, the nastygrams:

  java.lang.IllegalArgumentException: Unknown Type disjointWith
  java.lang.IllegalArgumentException: Unknown Type disjointWith`

Suggestions?


I also need to tell the BI that my data has Unicode in it.  The web page 
says
that I need to add "-Dfile.encoding=UTF-8" to the command line arguments,
but when I tried that, I got a nastygram:

  import.sh -Dfile.encoding=UTF-8 test.db ../tmp/nodes.csv ../tmp/rels.csv
  ...
  Exception in thread "main" java.lang.IllegalArgumentException:
  ElementType has to be node_index or relationship_index, but is 
../tmp/rels.csv

I assume I'm adding the flag incorrectly; what is the right syntax?

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to