# JSON-LD files not importing

**URL:** <https://community.stardog.com/t/json-ld-files-not-importing/3427>\
**Category:** Support\
**Created:** [December 22, 2021, 5:18am UTC](https://community.stardog.com/t/json-ld-files-not-importing/3427 "2021-12-22T05:18:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![loz](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@loz](https://community.stardog.com/u/loz)\
**Post date:** [December 22, 2021, 5:18am UTC](https://community.stardog.com/t/json-ld-files-not-importing/3427/1 "2021-12-22T05:18:51Z")

</div>

Hi, when I try importing a json-ld file the same thing happens as described in this post here:

> [@Stardog data import from Json](https://community.stardog.com/t/stardog-data-import-from-json/954):
>
> Hi Team, Can I add data from a json file directly into a stardog db. I followed following steps: Create a db. stardog data add company C:\startdog\data\outputjson.json It got the response: Adding data from file: C:\startdog\data\outputjson.json 0 triples updated in 00:00:00.059 But no data got uploaded from the json. Am i missing something? Thanks! Best Regards, Smrati

However my file is json-ld not json, which includes the @context object, so I'm not sure why this isn't working. For instance I tried importing a file containing the data as in the example on this page [https://json-ld.org/](https://json-ld.org/) which doesn't work. I don't get any error message, the data just doesn't get added. I am importing using the CLI command - 'stardog data add db\_name filename'

Any help would be appreciated thank you!

---

<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 5, 2022, 5:19am UTC](https://community.stardog.com/t/json-ld-files-not-importing/3427/2 "2022-01-05T05:19:04Z")

</div>

Closed on January 5, 2022, 5:19am UTC

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