Skip to main content

Web Service Method: Request All Properties of a Resource

Abstract

Web Service Method: Request All Properties of a Resource

Description

Returns all properties of the selected resource (for example a concept) .

URL: /PoolParty/api/thesaurus/{project}/getProperties

Request

Supported Methods

GET

Path Variables

Variable

Comment

{project}

The UUID or the URI supplement (textual identifier) of the project to be used.

HTTP Parameters

Parameter

Comment

Type

Required

resource

URI of the resource

String

true

Response

A resource with all its properties.

Attribute

Type

Comment

resource

String

URI of the resource

properties

List of URIs

List of property URIs

Example

Example Request

http://<server>/PoolParty/api/thesaurus/1DCE0ED2-D7E8-0001-86A1-18652DF0D7A0/getProperties?resource=http://vocabulary.semantic-web.at/cocktails/2d85fb1b-96cb-4c48-8df5-707032f34e71

Example Response

{
    "resource": {
        "uri": "http://vocabulary.semantic-web.at/cocktails/2d85fb1b-96cb-4c48-8df5-707032f34e71"
    },
    "properties": [
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/served"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/preparation"
        },
        {
            "uri": "http://purl.org/dc/terms/creator"
        },
        {
            "uri": "http://purl.org/dc/terms/modified"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/uses_2"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/iba"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/consists-of"
        },
        {
            "uri": "http://purl.org/dc/terms/contributor"
        },
        {
            "uri": "http://www.w3.org/2004/02/skos/core#altLabel"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/uses"
        },
        {
            "uri": "http://schema.semantic-web.at/ppt/inScheme"
        },
        {
            "uri": "http://www.w3.org/2004/02/skos/core#broader"
        },
        {
            "uri": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
        },
        {
            "uri": "http://purl.org/dc/terms/created"
        },
        {
            "uri": "http://vocabulary.semantic-web.at/cocktail-ontology/image"
        },
        {
            "uri": "http://www.w3.org/2004/02/skos/core#prefLabel"
        },
        {
            "uri": "http://www.w3.org/2004/02/skos/core#definition"
        },
        {
            "uri": "http://www.w3.org/2004/02/skos/core#exactMatch"
        }
    ]
}