cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Cannot import a .owl file from Protege in Cypher

Hi everyone, 

I have a .owl file that I want to import in Neo4j, I followed the steps to init the Neosemantics plugin it worked, but once I call "n10s.onto.import.fetch" it gives me this error message : 

"

Failed to invoke procedure `n10s.onto.import.fetch`: Caused by: java.lang.ClassCastException: class org.eclipse.rdf4j.model.impl.SimpleIRI cannot be cast to class org.eclipse.rdf4j.model.Literal (org.eclipse.rdf4j.model.impl.SimpleIRI and org.eclipse.rdf4j.model.Literal are in unnamed module of loader 'app')

"

😞 

Thank you in advance 

KL

1 REPLY 1

I found the solution: 

in Protege, you’ll have to save the file as RDF/XML