Web Service Method: Request Child Concepts of Concept Schemes or Concepts
Web Service Method: Request Child Concepts of Concept Schemes or Concepts
Description |
---|
Returns a list of narrower concepts of a given concept or concept scheme. |
URL: /PoolParty/api/thesaurus/{project}/childconcepts
Note
This request is similar to Web Service Method: Request Narrower Concepts but not restricted to Concepts as input parameter.
Supported Methods |
---|
GET |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
parent | URI of the Concept or ConceptScheme | 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 narrower 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 narrower concepts are returned instead of only direct narrower concepts. | Boolean | false |
workflowStatus | Set to | boolean | false |
Array of concepts of the selected PoolParty project.
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 |
| Array of Strings | Broader Concepts |
| Array of Strings | Narrower Concepts |
| Array of Strings | Related Concepts |
| Array of Strings | Concepts Schemes |
Example Request
http://<server-url>/PoolParty/api/thesaurus/<project>/childconcepts?parent=http://vocabulary.semantic-web.at/doku/Oceania
Example Request
[ { uri: "http://vocabulary.semantic-web.at/doku/Micronesia", prefLabel: "Micronesia" }, { uri: "http://vocabulary.semantic-web.at/doku/Polynesia", prefLabel: "Polynesia" }, { uri: "http://vocabulary.semantic-web.at/doku/Melanesia", prefLabel: "Melanesia" }, { uri: "http://vocabulary.semantic-web.at/doku/Australia_and_New_Zealand", prefLabel: "Australia and New Zealand" } ]