> For the complete documentation index, see [llms.txt](https://docs.inrupt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inrupt.com/sdk/java-sdk/crud-data/appendix-webid-profile-and-pod-urls.md).

# WebID Profile and Pod URLs

A [WebID](/reference/glossary.md#webid) is a unique URL that identifies an agent in the Solid ecosystem. Dereferencing the WebID yields a **publicly** readable [WebID Profile](/reference/glossary.md#webid-profile) document. A WebID Profile is an [RDF Resource](/reference/glossary.md#rdf-resource) that contains data about the user, such as the user’s Pod URLs.

To facilitate reading WebID Profile, Inrupt’s Java Client Libraries provide the [WebIdProfile](https://api.docs.inrupt.com/docs/developer-tools/api/java/inrupt-client/latest/com/inrupt/client/webid/WebIdProfile.html) class. For example, the following code reads the Pod URLs associated with the WebID.

```java
import com.inrupt.client.webid.WebIdProfile;

// ...

public Set<URI> getPods(String webID) {
    try (final var profile = client.read(URI.create(webID), WebIdProfile.class)) {
         return profile.getStorages();
    }
}
```

{% hint style="info" %}
**Note**

Although an RDF Resource, the WebID Profile is not necessarily hosted on a Solid Pod and may not necessarily be a Solid Resource per the [Solid Protocol](https://solidproject.org/TR/protocol). That is, the WebID Profile may be mapped to the [RDFSource](https://api.docs.inrupt.com/docs/developer-tools/api/java/inrupt-client/latest/com/inrupt/client/RDFSource.html) class (which is extended by [WebIdProfile](https://api.docs.inrupt.com/docs/developer-tools/api/java/inrupt-client/latest/com/inrupt/client/webid/WebIdProfile.html)) but not necessarily to the [SolidRDFSource](https://api.docs.inrupt.com/docs/developer-tools/api/java/inrupt-client/latest/com/inrupt/client/solid/SolidRDFSource.html).

As such, Solid applications cannot rely on the Solid Protocol to read and write the WebID profile. See also <https://solid.github.io/webid-profile/#introduction>.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.inrupt.com/sdk/java-sdk/crud-data/appendix-webid-profile-and-pod-urls.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
