Developer Guide › Related Entities
- Introduction
- Authentication
- Request Limits
-
Methods:
- Extract
- Collections
- Pages
- Related Pages
- Entities
- Related Entities
The 'Find related entities' API provides a query function across all of a collection's indexed content. It returns all the DBpedia resources that occur with the specified dbpedia resource, in order of most frequent occurance (i.e. which entities commonly occur together in the collection).
To query a collection's content, send a GET request to the following URL:
http://muddy.it/collections/COLLECTION_TOKEN/entities/ENTITY_MD5/related
- COLLECTION_TOKEN = The token for your collection.
- ENTITY_MD5 = md5sum of a URL-escaped DBpedia URI
The available response formats are XML and JSON.
In addition, the following parameters can be set using a query string:
| Parameter | Permitted Values | Mandatory (y/n) | Default value | |
|---|---|---|---|---|
| limit | the maximum number of results to return | a positive integer | n | - |
| minimum_confidence | the minimum confidence of entities to include | 0.0-1.0 | n | - |
Sample Response
<response status="OK">
<entities>
<entity>
<confidence>0.246593414814785</confidence>
<uri>http://dbpedia.org/resource/Scotland</uri>
</entity>
</entities>
</response>