This guidance explains how to use Ontology Manager to create a sensor object type and link it to a root object type. Once you complete the steps below, you will be able to interact with a sensor object type in the platform. In this example, you will create a Flight Sensor
object type and link it to a Flight
root object type.
[Example] Sensors
dataset that you created with the sensor data pipeline.unique_sensor_flight_id
property to use as the primary key. You can also select Sync all columns from datasource or Map all columns if either of those options is available.Title
column as the title property, which allows the Flight Sensor
object types to appear across the application with human-readable names.Depending on your version of the platform you may see options to configure permissions and actions for the Flight Sensor
object type. Our example does not require additional permissions or action configuration.
Once you have progressed through all the steps in the dialog, select Create.
From the Properties tab of the new [Example] Sensors
object type, the properties should appear as in the screenshot below:
[Example] Flight Sensor
object type in Ontology Manager and select the Capabilities tab from the left side panel.Flight Sensor Series Id
property as the time series property, then select Set as default time series property so that it automatically appears in Quiver.[Example] Time Series Sync | Sensor Readings
.Add a link between the [Example] Flight Sensor
and [Example] Flight
object types using the steps below.
[Example] Flight Sensor
view in Ontology Manager, select the New dropdown menu and choose Link type[Example] Flight Sensor
object type. On the right, choose the [Example] Flight
object type.Flight Sensor
object type as Many, and the right Flight
object type as One, meaning the Flight
object type has a one to many relationship to the Flight Sensor
object type.flight_id
column as a foreign key to the Flight Sensor
object type, which will set flight_id
as the primary key for the Flight
object type.Learn more about link types.
In the time series section, ensure that the sensor object type toggle is on. Set up the Sensor link
to use the recently created Flight
to Flight Sensor
link.
Set the link name as the Series Name
column. Applications will surface the sensor object data under this series name.
Configure units by selecting the Units dropdown menu in the sensor object type setup.
Is categorical and Internal interpolation can be inferred from properties on the sensor object type, but they are not required for this use case. Is categorical is only needed when it is important to delineate categorical time series values from numeric time series values.
Internal interpolation is used to enable applications like Quiver to infer series values between adjacent data points. Review our Quiver documentation on interpolation for more information.
Now, you are ready to use the Flight Sensor
and Flight
object types in an operational context. Proceed in the documentation to learn how to use sensor object type time series data in Workshop and Quiver.
Configuration for Is enum? is not required for our example use case. Is deprecated
and Sparkline preview
properties should be ignored.