# Model creation issues

**URL:** <https://community.stardog.com/t/model-creation-issues/3443>\
**Category:** Support\
**Created:** [January 7, 2022, 12:03pm UTC](https://community.stardog.com/t/model-creation-issues/3443 "2022-01-07T12:03:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zorgoz](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zorgoz/32/1166_2.png) [@zorgoz](https://community.stardog.com/u/zorgoz)\
**Post date:** [January 7, 2022, 12:03pm UTC](https://community.stardog.com/t/model-creation-issues/3443/1 "2022-01-07T12:03:03Z")

</div>

The class created in a model is mysteriously disappearing from that model and appearing in the default model.

This topic is also addressed by somebody else here but was closed without a single comment: [Stardog Studio issue- new model loaded into default model](https://community.stardog.com/t/stardog-studio-issue-new-model-loaded-into-default-model/3421)

The issue is the same. Although as far as I see, I am following the instructions from here: [Stardog Academy Fundamentals: Modeling - YouTube](https://www.youtube.com/watch?v=EphC-uMh0zs)

I have made a recording to demonstrate: [https://photos.app.goo.gl/ocY1ghQqsvkyjsNd8](https://photos.app.goo.gl/ocY1ghQqsvkyjsNd8)

Is there any workaround? Is there a way to create _named model_ without using the editor? It looks that the model is not part of any graph, as if it would exist outside the database, not being an object contained in it. The graph I have specified is created but looks to have nothing to do with the model per se.

---

<div class="post-metadata">

**Author:** ![zorgoz](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zorgoz/32/1166_2.png) [@zorgoz](https://community.stardog.com/u/zorgoz)\
**Post date:** [January 10, 2022, 2:13pm UTC](https://community.stardog.com/t/model-creation-issues/3443/2 "2022-01-10T14:13:06Z")

</div>

I think I have a workaround:

1. Add the prefix and the URL in the database tab.
2. When specifying the named graph for the model, use the fully qualified name of the graph (don't use the prefixed one)
3. The fully qualified IRI will still be replaced with the prefixed format on the UI, but that's not a problem.
4. Select the prefix from the list
5. Create the model

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [January 24, 2022, 2:13pm UTC](https://community.stardog.com/t/model-creation-issues/3443/3 "2022-01-24T14:13:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
