Skip to main content

Web Service Method: Create a Symmetric Relation in a Custom Scheme

Abstract

Web Service Method: Create a Symmetric Relation in a Custom Scheme

Description

Create a symmetric relation.

URL: /PoolParty/api/schema/createSymmetricRelation

Content-Type

application/json

Supported Methods

POST

JSON Request Object

CreateSymmetricPropertyInput

Type: CreateSymmetricPropertyInput

Symmetric 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

label

Literal

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

range

Array of IRIs

URI(s) of range

schemaUri

IRI

URI of ontology

single

Boolean

true or false

subPropertyOf

Array of IRIs

URI(s) of super-properties

uri

IRI

URI of relation

Returns

Content-Type: application/json

Status: 200 - OK