# Overriding graph model elements

**URL:** <https://community.neo4j.com/t/overriding-graph-model-elements/20775>\
**Category:** Linked Data, RDF, Ontology\
**Created:** [June 29, 2020, 6:35pm UTC](https://community.neo4j.com/t/overriding-graph-model-elements/20775 "2020-06-29T18:35:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![da-zar](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/da-zar/32/12385_2.png) [@da-zar](https://community.neo4j.com/u/da-zar)\
**Post date:** [June 29, 2020, 6:35pm UTC](https://community.neo4j.com/t/overriding-graph-model-elements/20775/1 "2020-06-29T18:35:43Z")

</div>

Hi,

I am trying to import an ontology using custom label names for classes like in this example form the documentation:

```auto
CALL n10s.onto.import.fetch("https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/vw.owl","Turtle", {
  classLabel : 'Category',
  objectPropertyLabel: 'Rel',
  dataTypePropertyLabel: 'Prop'
});

```

Unfortunately the passed parameters are not taken into account and the labels of the imported data are still the default ones. When I change the classLabel in the n10s.graphconfig.init procedure then it works. But I would like to import several ontologies with different classLabels. Any idea what might be the cause of this problem? I would be very thankful for any feedback 🙂  
I am using the latest neo4j docker image from dockerhub.

---

<div class="post-metadata">

**Author:** ![jesus\_barrasa](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/jesus_barrasa/32/27513_2.png) [@jesus\_barrasa](https://community.neo4j.com/u/jesus_barrasa)\
**Post date:** [August 13, 2020, 10:55am UTC](https://community.neo4j.com/t/overriding-graph-model-elements/20775/2 "2020-08-13T10:55:34Z")

</div>

Hi, sorry for the delay in responding to your question.  
On 4.0 the configuration was moved to the Graph Config so you will need to set them up as follows

```auto
CALL n10s.graphconfig.init( { classLabel : 'Category', 
                             objectPropertyLabel: 'Rel', 
                             dataTypePropertyLabel: 'Prop' })

CALL n10s.onto.import.fetch("https://github.com/neo4j-labs/neosemantics/raw/3.5/docs/rdf/vw.owl","Turtle")

```

Thanks for bringing this to our attention. The examples in chapter 6 of the manual have not been updated ☹ Working to fix that asap.

Here's the [link to the reference](https://neo4j.com/docs/labs/nsmntx/current/reference/#_ontology_import_specific_params) in the manual.

Cheers,

JB
