Skip to main content

Web Service Method: Create an Inverse Relation in a Custom Scheme

Abstract

Web Service Method: Create an Inverse Relation in a Custom Scheme

Description

Create an inverse relation in a custom scheme.

URL: /PoolParty/api/schema/createInverseRelation

Content-Type

application/json

Supported Methods

POST

JSON Request Object

CreateInversePropertiesInput

Type: CreateInversePropertiesInput

Inverse Relation

Attribute

Type

Comment

addToCustomScheme

Array of IRIs

Custom scheme URI(s)

comment

Literal

Description of the property

domain

Array of IRIs

URI(s) of domain

inverseLabel

Literal

Label of inverse relation

inverseUri

IRI

URI of inverse relation

label

Literal

Relation label. label:{ label:related, language: en }

range

Array of IRIs

URI(s) of range

schemaUri

IRI

URI of ontology

subPropertyOf

Array of IRIs

URI(s) of super-properties

uri

IRI

URI of relation

usageRestriction

UsageRestriction

Usage restriction for the attribute. Possible values are: MULTIPLE_USE(default), SINGLE_USE, SINGLE_PER_LANGUAGE(only for attributes) MULTIPLE_USE | SINGLE_USE | SINGLE_PER_LANGUAGE

Returns

Content-Type: application/json

Status: 200 - OK