Skip to main content

Web Service Method: Request Ontology Information

Abstract

Web Service Method: Request Ontology Information

Description

Get Ontology information in json format.

URL: /PoolParty/api/schema/ontology

Content-Type

application/x-www-form-urlencoded

Supported Methods

GET

HTTP Parameters

Parameter

Description

Type

Required

uri

URI of the requested ontology.

String

true

Response

Content-Type

application/json

JsonOntologyCollection

Attribute

Type

Comment

attributes

Array of JsonAttributeProperty

Ontology attributes

availableLanguages

Array of String

Ontology available languages

classes

Array of JsonCustomClass

Ontology classes

contributor

String

Ontology contributors

created

String

Ontology creation date

creator

String

Ontology creator

description

Array of Literal

Ontology description

directedRelations

Array of JsonDirectedProperty

Ontology directed relations

inverseRelations

Array of JsonInverseProperty

Ontology inverse relations

label

String

Ontology name

modified

String

Ontology last modified

symmetricRelations

Array of JsonSymmertricProperty

Ontology symmetric relations

type

String

Resource type

uri

String

Linked Data URI of the Ontology

visibility

String

Ontology visibility

JsonAttributeProperty

Attribute Property

Attribute

Type

Comment

domain

Array of Strings

List of property domain

isSingleUse

boolean

Single use of property. True or false

subPropertyOf

Array of Strings

List of sub properties

type

String

Datatype of attribute property. Literal, String, Float ...

uri

String

URI of property

JsonCustomClass

Custom Class

Attribute

Type

Comment

subClassOf

Array of Strings

List of sub classes

uri

String

URI of class

JsonDirectedProperty

Directed Properties

Attribute

Type

Comment

domain

Array of Strings

List of property domain

isSingleUse

boolean

Single use of property. True or false

range

Array of Strings

List of property range

subPropertyOf

Array of Strings

List of sub properties

uri

String

URI of the property

JsonInverseProperty

Properties with Inverse

Attribute

Type

Comment

domain

Array of Strings

List of property domain

isSingleUse

boolean

Single use of property. True or false

range

Array of Strings

List of property range

subPropertyOf

Array of Strings

List of sub properties

uri

String

URI of property

JsonSymmertricProperty

Symmetric Properties

Attribute

Type

Comment

domain

Array of Strings

List of property domain

isSingleUse

boolean

Single use of property. True or false

range

Array of Strings

List of property range

subPropertyOf

Array of Strings

List of sub properties

uri

String

URI of property