Ontology Methods

The OntologyServerCustoMapping methods retrieve ontologies or ontology elements.

This page discusses:

uri()

Returns the uri to an ontology.

Signature

uri(): String

ReturnType

String

Name()

Retrieves the name of an ontology.

Signature

Name() : String

ReturnType

String

Example

GetResource()

Retrieves one or multiple resources within an ontology.

Signature

GetResource(String uri, List selectables): BLSOntologyElement

Arguments

Name Input or Output Required Type Comment
uri Input String The URI to a resource within an ontology.
selectables Input List A list of URIs to resources within an ontology.

ReturnType

BLSOntologyElement

GetSelectableAsString()

You must define the predicateUri argument used by this method in the list of selectables for either the Search() or GetResource() method, and the selected method must return a result.

Signature

GetSelectableAsString (String predicateUri): String

Arguments

Name Input or Output Required Type Comment
predicateUri Input String The long URI of a property within an ontology.

ReturnType

String

GetSelectableAsListOfString()

You must define the predicateUri argument used by this method in the list of selectables for either the Search() or GetResource() method, and the selected method must return a result.

Signature

GetSelectableAsListOfString (String predicateUri): List

Arguments

Name Input or Output Required Type Comment
predicateUri Input String The long URI of a property within an ontology.

ReturnType

List

GetSelectableAsElement()

You must define the predicateUri argument used by this method in the list of selectables for either the Search() or GetResource() method, and the selected method must return a result.

Signature

GetSelectableAsListOfString (String predicateUri): BLSOntologyElement

Arguments

Name Input or Output Required Type Comment
predicateUri Input String The long URI of a property within an ontology.

ReturnType

BLSOntologyElement

GetSelectableAsListOfElement()

You must define the predicateUri argument used by this method in the list of selectables for either the Search() or GetResource() method, and the selected method must return a result.

Signature

GetSelectableAsListOfString (String predicateUri): List

Arguments

Name Input or Output Required Type Comment
predicateUri Input String The long URI of a property within an ontology.

ReturnType

List