Classes

Get the classes in the DEXPI Information Model.

Each row of the query result gives information about one class.

Variables

cls
The class.
package
The package that contains the class. The package corresponds to a chapter in the DEXPI P&ID Specification 1.2.
is_abstract

A boolean that indicates if the class is abstract. An abstract class must not be instantiated directly.

Note

If a class is abstract, this does not mean that a certain XML element is forbidden in a DEXPI-compliant Proteus XML file.

For example, the DEXPI class Equipment is abstract. In Proteus XML, any instance of a concrete subclass of Equipment will be represented by an <Equipment> XML element. The subclass will be given by an appropriate RDL reference. However, as the DEXPI class is abstract, this RDL reference should be more specific than that of Equipment.

proteus_rdl
Optional. The RDL reference associated with the class in a DEXPI-compliant Proteus file.

SPARQL Query

PREFIX meta: <http://sandbox.dexpi.org/meta/>

SELECT ?cls ?package ?is_abstract ?proteus_rdl
WHERE
{
    ?class_obj a meta:ModelClass;
        meta:simpleLabel ?cls.

    ?scope a meta:Scope;
        meta:contains ?class_obj;
        meta:simpleLabel ?package.

    BIND(EXISTS {?class_obj a meta:AbstractClass} as ?is_abstract)

    OPTIONAL
    {
        ?class_obj meta:rdl ?proteus_rdl.
    }
}
ORDER BY ?cls

Partial SPARQL Results

The full query result contains 164 rows. The first rows are as follows:

cls package is_abstract proteus_rdl
ActuatingFunction Instrumentation false http://sandbox.dexpi.org/rdl/ActuatingFunction
ActuatingSystem Instrumentation false http://sandbox.dexpi.org/rdl/ActuatingSystem
Agitator Equipment false http://data.posccaesar.org/rdl/RDS16045622
AgitatorRotor Equipment false http://sandbox.dexpi.org/rdl/AgitatorRotor
AirCoolingSystem Equipment false http://data.posccaesar.org/rdl/RDS277379
... ... ... ...

Full SPARQL Results

Cached

Note

The cached results below are guaranteed to correspond to DEXPI P&ID Specification 1.2.

Cached results:

Online

Note

Online results can change! There is no guarantee that these results correspond to DEXPI P&ID Specification 1.2.

Get results online from DEXPI SPARQL server at http://endpoint.dexpi.org: