- PoolParty Semantic Suite Documentation 8.1
- Developer Guide
- Basic & Advanced Server APIs
- Thesaurus & Ontology Manager API
- Thesaurus Services
- Concept Management Services
- Web Service Method: Request Related Concepts
Web Service Method: Request Related Concepts
Web Service Method: Request Related Concepts
Description |
---|
Returns a list of related concepts for a given concept. |
URL: /PoolParty/api/thesaurus/{project}/relateds
Supported Methods |
---|
GET |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
concept | URI of the concept | String | true |
properties | List of concept properties that should be fetched. E.g. you can choose a list like: See full list of Retrieve Properties in API Requests. | String | false |
language | Only related concepts with labels in this language will be displayed. If no language is given, the default language of the project will be used. | String | false |
transitive | If true, all transitive related concepts are returned instead of only direct related concepts. | boolean | false |
workflowStatus | Set to | boolean | false |
Array of concepts within a PoolParty Thesaurus
Attribute | Type | Comment |
---|---|---|
| String | URI of the concept |
| String | Preferred label |
| Array of Strings | Alternative labels |
| Array of Strings | Hidden labels |
| Array of Strings | Definitions |
Example Request
http://vocabulary.semantic-web.at/PoolParty/api/thesaurus/bb2df837-7654-4c89-8994-d23f5468b56b/relateds?concept=http://vocabulary.semantic-web.at/doku/Free_University_of_Berlin
Example Response
[ { prefLabel: "Berlin", uri: "http://vocabulary.semantic-web.at/doku/Berlin_4" } ]