My name is Jordi Valls, and I'm really new in neo4j and I have some questions about to import ontologies using the mondo.owl file...
I download this file from this web page: http://obofoundry.org/ontology/mondo.html
So I dont understand why I cannot import correctly mondo.owl, I need to modify some parameter?? I suspect that the format of mondo.owl is not compatible with format of neo4j, if it is confirmed, How can I adapt mondo.owl to neo4j format?
Mondo is a semi-automatically constructed ontology that merges in multiple disease resources to yield a coherent merged ontology
Hola @jvallsma7 , looks like the mondo.owl file uses RDF/XML serialization format, not Turtle.
Give it another try but setting "RDF/XML" as the second param instead of "Turtle".
That should hopefully do the job.
You may need to also adjust the path to your file.
I'm on a mac and here's what my import statement (I downloaded the mondo.owl to my Downloads folder) looks like:
Really thanks Jesus, now it works! But my question now is how I can know if I've to put Turtle or RDF/XML? Besides, I've import the mondo.owl and other named doid.owl in same neo4j browser window, but they do not make different node colors, one for each dataset, how can I do it?
Besides, I want to differentiate the hierarchy in different nodes, but I dont know if I've to modify these owl files....
Hi again Jordi, well I'm afraid the only way to tell what format is your file in you have to be familiar with the different RDF serialization formats and their syntaxes: Turtle, RDF/XML, N-Triples, JSON-LD... there are specs from the W3C for all of them.
You can change the style of the nodes and rels in the neo4j browser following the instructions here.
Hope that helps, sorry for the delayed response sometimes we cannot be as reactive as we would like to.