An ontology for capabilities and skills of heterogeneous autonomous robots
CaSkBot describes autonomous robots in the air, on the ground and on water together with what they can do and how that is invoked: their structure, position and environment, the capabilities they provide, and the skill interfaces through which those capabilities are executed.
It does so by aligning existing standards instead of defining a model of its own. CaSkBot is the robotics layer of the three-level CaSkade ontology architecture and the counterpart to CaSkMan, which covers manufacturing.
| Ontology IRI | http://www.w3id.org/hsu-aut/caskbot# |
| Current version | http://www.w3id.org/hsu-aut/caskbot/2.1.0 |
| Preferred prefix | caskbot |
| File | caskbot.ttl (Turtle) |
| License | MIT |
- Introduction
- Ontology architecture
- The patterns behind CaSkBot
- What CaSkBot does
- Usage
- Versioning
- Citing
When several robots of different kinds are to carry out a mission together, someone has to decide which robot does what. That decision needs a description of what each robot can do, and it should not have to be rewritten for every robot, manufacturer or mission. Capabilities and skills are the terms used for such a description.
A capability is an implementation-independent specification of a function to achieve an effect in the physical or virtual world. Think of it as a machine-interpretable description of what a robot can do, such as moving to a position or picking up an object. Such a description typically has properties, for example a payload or a maximum speed, and constraints on them.
A skill is an executable implementation of a function specified by a capability. A capability may be implemented by one or more skills. Every skill has a skill interface with a well-defined way of invoking it, for example a web service or a message published to a broker, and a state machine that describes its behavior.
Keeping the two apart is the point of the model. Capabilities are compared and matched against the requirements of a task without knowing how they are implemented. Skills are what is actually called once a robot has been chosen.
These terms come from the CSS reference model of Plattform Industrie 4.0, defined in a whitepaper and a scientific publication. The reference model was written for industrial production. CaSkBot applies its terms to autonomous robots.
CaSkBot is part of a three-level ontology architecture. Each level imports the one above it.
flowchart TB
CSS["<b>CSS</b><br/>capability, skill and service reference model"]
CaSk["<b>CaSk</b><br/>VDI 3682 · VDI 2206 · DIN EN 61360 · PackML · OpenMath · QUDT units"]
CaSkMan["<b>CaSkMan</b><br/>manufacturing"]
CaSkBot["<b>CaSkBot</b><br/>robotics"]
CSS --> CaSk
CaSk --> CaSkMan
CaSk --> CaSkBot
IEEE1872["IEEE 1872<br/>CORA · CORAX · RPARTS · POS"] --> CaSkBot
AuR["IEEE 1872.2<br/>AuR"] --> CaSkBot
RobotCap["RobotCapabilities"] --> CaSkBot
WADL["WADL"] --> CaSkBot
MQTT["MQTT 5.0"] --> CaSkBot
Geo["GeoSPARQL 1.1"] --> CaSkBot
style CaSkBot fill:#1f6feb,stroke:#1f6feb,color:#ffffff
- The CSS ontology implements the reference model. It covers all its terms and relations, but they are too generic to describe a specific capability or a skill interface in a specific technology.
- CaSk is the intermediate level. It extends CSS by industry standards that are independent of an application domain, such as processes, system structure and properties.
- On the third level, domain-specific ontologies add what their domain needs. CaSkMan does so for manufacturing, CaSkBot for robotics.
CaSkBot does not define a robot model of its own. It imports ontology design patterns (ODPs): self-contained ontologies that each cover exactly one standard and know nothing about the others. Every pattern is maintained in a repository of its own, where it is documented in detail, and can be reused without CaSkBot.
Brought in through CaSk
| Pattern | What it brings |
|---|---|
| VDI 3682 | Formalised process description: processes, process operators, technical resources, and products, energy and information as inputs and outputs. |
| VDI 2206 | Structure of a mechatronic system: systems consist of modules, modules of components such as sensors, actuators and information processing. |
| DIN EN 61360 | Properties: a data element with a type description that is defined once and instance descriptions that carry values. |
| PackML | The state machine of a skill with its states, transitions and commands. |
| OpenMath | Mathematical expressions, used to state constraints on properties. |
| QUDT | Units of measure with conversion factors and dimension vectors. |
OpenMath and QUDT are not imported as ontologies. CaSk declares the terms it uses and ships them in its own file.
Imported by CaSkBot
| Pattern | What it brings | Imported version |
|---|---|---|
| IEEE 1872 | The core vocabulary of robotics in four parts. CORA: robots, robot groups and robotic systems. CORAX: environment and interaction. RPARTS: sensing, actuating, processing and communicating parts. POS: position, orientation and pose in coordinate systems. | http://purl.org/ieee1872-owl/cora, http://purl.org/ieee1872-owl/pos |
| IEEE 1872.2 | The vocabulary of autonomous robotics (AuR): functions and their execution, kinds of behavior, interaction, and the environment as seen from one object. | http://w3id.org/hsu-aut/IEEE1872-2/3.0.0 |
| RobotCapabilities | A shallow taxonomy of the basic kinds of capability of an autonomous robot: perception, locomotion, manipulation, reasoning and communication. Not based on a standard, because none exists for this. | http://www.w3id.org/hsu-aut/RobotCapabilities/2.0.2 |
| WADL | Description of a RESTful web service: resources with a base URI, paths and HTTP methods. | http://www.w3id.org/hsu-aut/WADL/2.0.0 |
| MQTT | Publish/subscribe messaging according to MQTT Version 5.0: clients, servers, topics, subscriptions and control packets. | http://www.w3id.org/hsu-aut/MQTT/6.0.1 |
| GeoSPARQL 1.1 | Spatial features and their geometries, with geometries written as WKT literals. | geosparql11/geo.ttl at commit 0198218 |
CaSk itself is imported as http://www.w3id.org/hsu-aut/cask/5.3.0. The
IEEE 1872 files are published without a version IRI. GeoSPARQL is imported
from a fixed commit of the OGC repository.
Each pattern describes one matter and stops at the border of its standard. IEEE 1872 knows what a robot is, but not what it can do. CSS and CaSk know what a capability is, but not what a robot is. MQTT knows topics, but not skills. CaSkBot is the alignment ontology that connects them. It contains only the axioms that relate terms of two patterns, and the few terms that none of the standards offers.
In sum, this gives one coherent model in which the following can be stated about a group of heterogeneous robots:
- Structure. A robot of IEEE 1872 is a mechatronic system of VDI 2206 and thereby a resource that provides capabilities. Its parts can be described with either standard, and both part hierarchies are joined. An autonomous robot consists of at least one platform, which is aerial, ground or surface and determines the modality of the robot. Robot groups and robotic systems are resources too, so that a group can provide a capability as a whole.
- Position. The position, orientation and pose of IEEE 1872 apply to robots as they are.
- Environment and zones. A robot operates in an environment. The environment has zones in which robots must not or may operate. A zone holds for a kind of platform or for an individual robot, and its extent is a GeoSPARQL geometry.
- Capabilities. The capability types of RobotCapabilities are capabilities in the sense of CSS, so that a robot provides, for example, a locomotion capability with properties, inputs and outputs. A capability can be related to the function and the behavior of IEEE 1872.2.
- Skills. A skill is reached through a REST or an MQTT interface. The model carries the complete call address: base URI, path and HTTP method in the one case, server and topic in the other.
The class diagram shows the most important classes and relations of CaSkBot together with those of CSS and CaSk. The colour of a class marks the level it comes from. Relations and axioms drawn in red are those that CaSkBot adds.
Terms defined by CaSkBot
Classes
| Term | Meaning |
|---|---|
caskbot:AutonomousRobot |
A robot that performs its tasks without continuous external control. Consists of at least one platform. |
caskbot:Platform |
The module that provides locomotion and determines the modality of a robot. |
caskbot:AerialPlatform, caskbot:GroundPlatform, caskbot:SurfacePlatform |
Platform of a UAV, UGV or USV. Pairwise disjoint. |
caskbot:Zone |
A spatial phenomenon within an environment that restricts or permits the operation of robots. |
caskbot:RestrictedZone |
A zone a robot must not enter, such as a no-fly zone. |
caskbot:OperatingZone |
A zone in which a robot may operate. |
caskbot:RestSkillInterface |
A skill interface accessed as a RESTful web service. |
caskbot:MqttSkillInterface |
A skill interface accessed by publishing MQTT messages. |
Object properties
| Term | Meaning |
|---|---|
caskbot:memberOfGroup |
Relates a robot to a robot group it belongs to. |
caskbot:operatesIn |
Relates a robot to the environment it operates in. |
caskbot:hasObjectCenteredEnvironment |
Relates a robot to its own model of the environment (IEEE 1872.2, 4.4.2). |
caskbot:describesEnvironment |
Relates an environment description to the environment it describes (IEEE 1872.2, 4.4.3). |
caskbot:hasRestrictedZone, caskbot:hasOperatingZone |
Relate an environment to its zones. |
caskbot:zoneAppliesTo |
Relates a zone to the kind of platform or the individual robot it holds for. |
caskbot:correspondsToFunction |
Relates a capability to the function that the behavior realising it plays (IEEE 1872.2, 4.4.9). |
caskbot:exhibitsBehavior |
Relates a robot to a manifested behavior it shows (IEEE 1872.2, 4.4.4). |
caskbot:qualityOfInteraction |
Relates an interaction of IEEE 1872.2 to the interaction of IEEE 1872 it qualifies. |
caskbot:accessibleThroughRestInterface, caskbot:accessibleThroughMqttInterface |
Relate a skill to its interface. |
caskbot:describesRestSkillInterface |
Relates a WADL resources element, which carries the base URI, to the interface it describes. |
caskbot:invokedByHttpMethod |
Relates a skill method to the HTTP method that invokes it. |
caskbot:reachableViaMqttServer |
Relates an MQTT skill interface to the server it is reached at. |
caskbot:invokedByTopic |
Relates a skill method to the topic a message is published to in order to invoke it. |
Alignment axioms between terms of two patterns
| Axiom | Connects |
|---|---|
CORA:Robot ⊑ VDI2206:System |
IEEE 1872 → VDI 2206 |
CORA:RoboticSystem ⊑ VDI3682:TechnicalResource |
IEEE 1872 → VDI 3682 |
CORA:RobotGroup ⊑ VDI3682:TechnicalResource |
IEEE 1872 → VDI 3682 |
CORAX:ProcessingDevice ⊑ VDI2206:InformationProcessing |
IEEE 1872 → VDI 2206 |
VDI2206:Component ⊑ SUMO:Device |
VDI 2206 → IEEE 1872 |
VDI2206:isPartOf ⊑ SUMO:part |
VDI 2206 → IEEE 1872 |
AuR:ObjectCenteredEnvironment ⊑ CORAX:PhysicalEnvironment |
IEEE 1872.2 → IEEE 1872 |
RobotCap:RobotCapability ⊑ CSS:Capability |
RobotCapabilities → CSS |
POS:PositionRegion ⊑ geo:Geometry |
IEEE 1872 → GeoSPARQL |
Import CaSkBot through owl:imports and reference a fixed version, so that
your model does not change when a new version is published:
<http://example.org/my-ontology#> a owl:Ontology ;
owl:imports <http://www.w3id.org/hsu-aut/caskbot/2.1.0> .The w3id redirect serves the ontology file if the request carries an RDF
Accept header such as text/turtle. Tools like Protégé send one. A plain
browser request is redirected to this repository.
curl -L -H "Accept: text/turtle" http://www.w3id.org/hsu-aut/caskbot/2.1.0Alternatively, download caskbot_v2.1.0.ttl from the
release page
or clone this repository and import the local file.
Versions follow semantic versioning, applied to the ontology:
| Step | Meaning |
|---|---|
| major | An axiom is removed or tightened. Existing data may no longer conform. |
| minor | New classes, properties or imports. Backwards compatible. |
| patch | Labels, comments and corrections without semantic effect. |
Every version is tagged and published as a release with the ontology file attached.
The model was first published as:
L. M. Vieira da Silva, A. Köcher, A. Fay: A capability and skill model for heterogeneous autonomous robots. at – Automatisierungstechnik 71(2), 2023, pp. 140–150. DOI 10.1515/auto-2022-0122
@article{VieiraDaSilva2023,
author = {Vieira da Silva, Luis Miguel and K{\"o}cher, Aljosha and Fay, Alexander},
title = {A capability and skill model for heterogeneous autonomous robots},
journal = {at - Automatisierungstechnik},
volume = {71},
number = {2},
pages = {140--150},
year = {2023},
doi = {10.1515/auto-2022-0122}
}The publication refers to this ontology as RoboCaSk and to the repository
Miguel2617/robocap. Both were renamed, and this repository is the
continuation. The ontology has been developed further since then. Where it
differs from the publication, the ontology is the current state.
CaSkBot is published under the MIT License.
Developed at the Institute of Automation Technology, Helmut-Schmidt-University Hamburg. Questions and suggestions are welcome as issues.
