PLMOntology Methods

The PLMOntology methods retrieve ontologies or ontology elements.

This page discusses:

GetResource()

Retrieves one or multiple resources within an ontology.

Signature

GetResource(String uri, List selectables): OntologyElement

Arguments

Name Input or Output Required Type Comment
uri Input String The identifier of the resource.
selectables Input List A list of identifiers of resources.

When specified, returns the triples whose predicate is a URI from the selected list.

ReturnType

OntologyElement

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 identifier 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 identifier 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 identifier of a property within an ontology.

ReturnType

OntologyElement

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 identifier of a property within an ontology.

ReturnType

List