# “Load data to named graph” actually loads into default

**URL:** <https://community.stardog.com/t/load-data-to-named-graph-actually-loads-into-default/3074>\
**Category:** Stardog Studio\
**Created:** [June 4, 2021, 3:44am UTC](https://community.stardog.com/t/load-data-to-named-graph-actually-loads-into-default/3074 "2021-06-04T03:44:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wscrosswy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/wscrosswy/32/998_2.png) [@wscrosswy](https://community.stardog.com/u/wscrosswy)\
**Post date:** [June 4, 2021, 3:44am UTC](https://community.stardog.com/t/load-data-to-named-graph-actually-loads-into-default/3074/1 "2021-06-04T03:44:34Z")

</div>

I'm trying to load a TTL file into a named graph in Stardog Studio, but it's loading into the default graph instead.

To recreate:

1. create new database
2. select "Load RDF" and specify the file ([https://www.hl7.org/fhir/fhir.ttl](https://www.hl7.org/fhir/fhir.ttl)) and named graph "[Index - FHIR v4.3.0](https://www.hl7.org/fhir)"
3. click "Load"
4. observe the import is successful by viewing the imported construct in "Models", but observe that only the default graph exists, and all model constructs are in the default graph

It's my understanding that the import should have crated the named graph "[Index - FHIR v4.3.0](https://www.hl7.org/fhir)" and inserted the triples in the TTL file as if they were in that named graph.

Thanks in advance for anybody's help on this!

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [June 7, 2021, 12:43pm UTC](https://community.stardog.com/t/load-data-to-named-graph-actually-loads-into-default/3074/2 "2021-06-07T12:43:57Z")

</div>

Hi Spencer,

What the "Models" tab of Studio is referencing is actually the [reasoning schema](https://docs.stardog.com/inference-engine/#reasoning-with-multiple-schemas), so it makes sense that you would only see default since you haven't set any up yet. You can easily create one that points to your named graph, which the data import _did_ put in the proper graph, which you can verify with a simple SPARQL query from studio:

```plaintext
SELECT ?g (count(*) as ?count) WHERE {
  GRAPH ?g {?s ?p ?o}
}
GROUP BY ?g

```
