Looking for Assistance in Importing an Ontology

Hi,

I am interesting in importing this ontology as well as some of the domain specific ontologies.

https://github.com/emmo-repo/EMMO

I am a bit lost in how to use Neosemeantics to handle the import.

Is there some guidance available/assistance for the newbies in this area?

Andy

for import of ontology you need to use CALL n10s.onto.import.fetch("https://github.com/BIG-MAP/BattINFO/blob/master/battery.ttl","Turtle").

Prior to import,

  1. Configure neosemantic plugin setting
  2. CALL n10s.graphconfig.set for configuring parameters to handle properties.

Hi,

Here is what I tried following the Neosematics intro tutorial.

New Database.

CREATE CONSTRAINT n10s_unique_uri ON (r:Resource)

ASSERT r.uri IS UNIQUE

CALL n10s.graphconfig.init({

handleVocabUris: 'MAP'

})

CALL n10s.rdf.preview.fetch("https://github.com/emmo-repo/EMMO/blob/master/emmo.ttl","Turtle")

The last line returns an error:

Failed to invoke procedure `n10s.rdf.preview.fetch`: Caused by: n10s.RDFImportException: IRI included an unencoded space: '32' [line 8]

Not sure where to go from here. I have reason to believe the .ttl file is well crafted given the provenance of the authors.

Any Guidance.

Andy

Thank you very much.

Success!

Instead of this https://github.com/emmo-repo/EMMO/blob/master/emmo.ttl, Use raw file link "https://raw.githubusercontent.com/emmo-repo/EMMO/master/emmo.ttl" to access directly turtle

paritosh_deshmu_0-1673752377946.png