Retrieve an entity by id

Returns the details for a given entity in the KG (optional as defined in a DS)

Log in to see full request history

This endpoint retrieves an entity using its unique ID (optional as defined in a DS). Entities are identified by a unique and global URI identifer. The URI is composed of two parts, the namespace and the ID. The ID is part of the path, and the namespace is included as a query parameter.

Example

If you have a URI like http://example.com/ns1/ns2/item123:

  • The namespace (ns) is everything before the last slash ("/") or hash ("#"): http://example.com/ns1/ns2
  • The ID (id) is the part after the last slash: item123

You would call the endpoint like this:

  • Path: .../things/item123
  • Query parameter: ?ns=http://example.com/ns1/ns2

So the full URL for the API call would be:

https://proxy.opendatagermany.io/api/ts/v1/kg/things/item123?ns=http://example.com/ns1/ns2
Path Params
string
required

The local name of a thing id

Query Params
uri

The domain specification that defines which attributes should be returned

lang
array of strings

Specify the return language (2 letter code) for property with langague tagged literals

lang
uri

specify a namespace for the given Id if not in the system namespace

Headers
integer

return all property-object pairs of N hops for each queried node- Hop=0 returns only rdf:type and ds:compliesWith

string
required

the api key for authentication and authorization

string

the publisher of the graph

string

the datasource of the graph

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/ld+json
application/json