Web Service Method: Request Property Values of a Resource
Abstract
Web Service Method: Request Property Values of a Resource
Description |
---|
Returns values of a specific property of a selected resource (e.g. a concept). |
URL: /PoolParty/api/thesaurus/{project}/getPropertyValues
Supported Methods |
---|
GET |
Variable | Comment |
---|---|
| The UUID or the URI supplement (textual identifier) of the project to be used. |
Parameter | Comment | Type | Required |
---|---|---|---|
resource | URI of the resource | String | true |
property | URI of the property | String | true |
Values of the selected property
Attribute | Type | Comment |
---|---|---|
| String | URI of the resource |
| String | URI of the property |
| List of values | Values the resource has |
Example Request
http://<server>/PoolParty/api/thesaurus/1DCE0ED2-D7E8-0001-86A1-18652DF0D7A0/getPropertyValues?resource=http://vocabulary.semantic-web.at/cocktails/2d85fb1b-96cb-4c48-8df5-707032f34e71&property=http://vocabulary.semantic-web.at/cocktail-ontology/image
Example Response
{ "resource": { "uri": "http://vocabulary.semantic-web.at/cocktails/2d85fb1b-96cb-4c48-8df5-707032f34e71" }, "property": { "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/image" }, "values": [ { "uri": "http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/MargaritaReal.jpg/440px-MargaritaReal.jpg" } ] }