Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
01-27-2021 02:29 AM
Hi everyone,
I am currently working with OWL ontologies created on Protege. I've been trying to import them on Neo4J using the following query :
<call n10s.rdf.import.fetch("file:///fileAdress/fileName","Turtle", {typesToLabels: false})>
My ontology has Individuals for each class, but when I import it, it generates two different graphs in the same Neo4J Browser view : one with the classes and a separate one with the instances. I would like the instances to be physically linked to the nodes/classes they belong to. Would you know how to do that?
The {typesToLabels: false} parameter doesn't seem to work.
Thanks so much for your help
Solved! Go to Solution.
01-27-2021 02:49 AM
Hi, have you tried the handleRDFTypes
param at init time?
CALL n10s.graphconfig.init({handleRDFTypes: "LABELS_AND_NODES"})
01-27-2021 02:49 AM
Hi, have you tried the handleRDFTypes
param at init time?
CALL n10s.graphconfig.init({handleRDFTypes: "LABELS_AND_NODES"})
01-27-2021 02:51 AM
Hi lupo_michele,
Thanks for your reply, I'll try it right away. Should I keep the {typetolabels] parameter to 'False' when importing the ontology?
01-27-2021 03:00 AM
Hello again lupo_michele
Just tried it with the {typetolabels} parameter set to 'False', it works perfectly, thanks again so much!
All the sessions of the conference are now available online