# Import doesn't add any triples

**URL:** <https://community.stardog.com/t/import-doesnt-add-any-triples/3406>\
**Category:** Bug\
**Created:** [December 8, 2021, 10:01am UTC](https://community.stardog.com/t/import-doesnt-add-any-triples/3406 "2021-12-08T10:01:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johan.tenghamn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@johan.tenghamn](https://community.stardog.com/u/johan.tenghamn)\
**Post date:** [December 8, 2021, 10:01am UTC](https://community.stardog.com/t/import-doesnt-add-any-triples/3406/1 "2021-12-08T10:01:29Z")

</div>

I'm trying to import a .ttl file using the web ui. The web ui says that the data is loaded but I can't find any triples in the database and the triple count says 0 triples. Nothing is added to the log file during this operation. What could be the issue?

Other .ttl files can be loaded but this specific one I can't import. It can however be loaded into other triplestores.

---

<div class="post-metadata">

**Author:** ![pavel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/pavel/32/18_2.png) [@pavel](https://community.stardog.com/u/pavel)\
**Post date:** [December 8, 2021, 10:14am UTC](https://community.stardog.com/t/import-doesnt-add-any-triples/3406/2 "2021-12-08T10:14:29Z")

</div>

Can you reproduce the issue using the `stardog data add ... ` command? If so, it'd be useful if you could share the data and the query that you use to check the result.

Thanks,  
Pavel

---

<div class="post-metadata">

**Author:** ![johan.tenghamn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@johan.tenghamn](https://community.stardog.com/u/johan.tenghamn)\
**Post date:** [December 8, 2021, 12:49pm UTC](https://community.stardog.com/t/import-doesnt-add-any-triples/3406/3 "2021-12-08T12:49:05Z")

</div>

When using the CLI it works perfectly and 12 M triples are added. Not sure if I can share the data here. Could show the problem over teams however if that would be useful?  
Every query returns nothing when I upload using the web ui. For example  
SELECT ?s ?p ?o  
WHERE { ?s ?p ?o}

---

<div class="post-metadata">

**Author:** ![pavel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/pavel/32/18_2.png) [@pavel](https://community.stardog.com/u/pavel)\
**Post date:** [December 8, 2021, 1:28pm UTC](https://community.stardog.com/t/import-doesnt-add-any-triples/3406/4 "2021-12-08T13:28:24Z")

</div>

Can you check that there's no named graph selection in the drop-down list in Studio, i.e. the data indeed goes in the default graph?

Studio and CLI use the same HTTP API to send data to server so there must be some easy explanation to this.
