# Basic Knowledge Asset operations

## **Creating and retrieving your first Knowledge Asset**

This simple exercise demonstrates the basic end-to-end flow of the DKG - from AI-assisted publishing to knowledge retrieval (something like "Hello world"). I

### Create your first Knowledge Assets

In the **DKG Node UI**, send the agent this prompt with JSON-LD you want to publish:

```
Create this Knowledge Asset on the DKG for me:

{
  "@context": "https://schema.org/",
  "@type": "CreativeWork",
  "@id": "urn:first-dkg-ka:info:hello-dkg",
  "name": "Hello DKG",
  "description": "My first Knowledge Asset on the Decentralized Knowledge Graph!"
}
```

<figure><img src="https://3874238401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-McnEkhdd7JlySeckfHM%2Fuploads%2FbYWwD64GwDtjSHskWy8B%2Fimage.png?alt=media&#x26;token=b3322882-0bd8-4236-b636-e6de26326d8d" alt=""><figcaption></figcaption></figure>

When asked, **allow** the agent to use the **“DKG Knowledge Asset create”** tool.

* The agent will publish your KA and return its **UAL**.
* Depending on the blockchain used and network load, publishing may take **\~10-30s**.

*(Insert screenshot of successful KA publish here)*

### Retrieve your Knowledge Asset data

Use the basic retrieval tool by asking the agent to retrieve the knowledge asset you just published by its UAL:

```
Get this Knowledge Asset from the DKG and summarize it for me:
<PASTE-YOUR-KA-UAL-HERE>
```

You should see the retrieved JSON-LD and a friendly summary.

*(Insert screenshot of successful retrieval/summary here)*
