language en

Modelica Language Ontology

Release 2023-07-25

Latest version:
https://w3id.org/moont/
Previous version:
https://eliseck.github.io/MO-x-IFC/TBox/MoOnt/_v092/index.html
Revision:
v1.0.0
Issued on:
2021-06-09
Authors:
Elisabeth Eckstädt
https://orcid.org/0000-0003-4396-5307
https://www.linkedin.com/in/elisabeth-eckst%C3%A4dt-18689115a/
Download serialization:
JSON-LD RDF/XML N-Triples TTL
License:
https://creativecommons.org/licenses/by-sa/4.0/
Cite as:
Elisabeth Eckstädt. Modelica Language Ontology (MoOnt). Revision: v1.0.0.
Compatible with:
0.9.2

Ontology Specification Draft

Abstract

This ontology defines the terms and relations in the Modelica Language.

Introduction back to ToC

This ontology defines the terms and relations in the Modelica Language.
It was created in 2021 based on "Wolfram System Modeler" (wsm) and is developed in this github repo: https://github.com/ElisEck/MO-x-IFC/
This ontology is intended to provide information contained in Modelica simulation models for other interested stakeholders besides the simulation engineer. A usecase comprising bidirectional translation between IFC and Modelica is described in this paper: doi.org/10.24406/publica-fhg-412499

Namespace declarations

Table 1: Namespaces used in the document
[Ontology NS Prefix]<https://w3id.org/moont/>
owl<http://www.w3.org/2002/07/owl>
rdf<http://www.w3.org/1999/02/22-rdf-syntax-ns>
xml<http://www.w3.org/XML/1998/namespace>
xsd<http://www.w3.org/2001/XMLSchema>
dcterms<http://purl.org/dc/terms>
rdfs<http://www.w3.org/2000/01/rdf-schema>

Modelica Language Ontology: Overview back to ToC

This ontology has the following classes and properties.

Classes

Object Properties

Data Properties

Named Individuals

Modelica Language Ontology: Description back to ToC

The most important parts that have remained unchanged between the predecessor wsm and the MoOnt are shown in the simplified UML diagram below.
There is an abstract superclass representing all Modelica classes, where “model” and “package” are the most frequently used ones. Another important entity is the so called component, with its special cases “ConnectorComponent” and “ParameterComponent”. This special cases have been added as they were not present in wsm. As the affiliation to a certain package or model is also very meaningful for a Modelica classes content, a containedIn-Relation has been added to the ontology with MAbstractClass as domain and range.
MoOnt class diagram

Cross-reference for Modelica Language Ontology classes, object properties and data properties back to ToC

This section provides details for each class and property defined by Modelica Language Ontology.

Classes

m connector componentc back to ToC or Class ToC

IRI: https://w3id.org/moont/MConnectorComponent

has super-classes
MComponent c
is in domain of
connected to op
is in range of
connected to op, fromPort op, toPort op

m parameter componentc back to ToC or Class ToC

IRI: https://w3id.org/moont/MParameterComponent

has super-classes
MComponent c

MAbstractClassc back to ToC or Class ToC

IRI: https://w3id.org/moont/MAbstractClass

has super-classes
modelica class c
has sub-classes
MBlock c, MClass c, MConnector c, MFunction c, MModel c, MPackage c, MRecord c, MType c
is in domain of
algorithm op, contained in op, derives op, equation op, extends op, hasPart op, initialAlgorithm op, isEncapsulated dp, isPartial dp
is in range of
base class op, contained in op, type op

MAlgorithmc back to ToC or Class ToC

IRI: https://w3id.org/moont/MAlgorithm

has super-classes
modelica class c
is in domain of
statement op
is in range of
algorithm op, initialAlgorithm op, statement op

MBlockc back to ToC or Class ToC

IRI: https://w3id.org/moont/MBlock

has super-classes
MAbstractClass c

MBooleanTypec back to ToC or Class ToC

IRI: https://w3id.org/moont/MBooleanType

has super-classes
MType c
has members
boolean type ni

MClassc back to ToC or Class ToC

IRI: https://w3id.org/moont/MClass

has super-classes
MAbstractClass c

MComponentc back to ToC or Class ToC

IRI: https://w3id.org/moont/MComponent

has super-classes
modelica class c
has sub-classes
MTypeComponent c, m connector component c, m parameter component c
is in domain of
component modification op, condition dp, dynamicReference dp, isFinal dp, isProtected dp, placement origin dp, type op, variability dp
is in range of
hasPart op

MConnectionc back to ToC or Class ToC

IRI: https://w3id.org/moont/MConnection

has super-classes
modelica class c
is in domain of
fromPort op, fromPortArraySubscripts dp, toPort op, toPortArraySubscripts dp
is in range of
connection op

MConnectorc back to ToC or Class ToC

IRI: https://w3id.org/moont/MConnector

has super-classes
MAbstractClass c
is in domain of
isExpandable dp

MDerivesc back to ToC or Class ToC

IRI: https://w3id.org/moont/MDerives

has super-classes
modelica class c
is in range of
derives op

MEquationc back to ToC or Class ToC

IRI: https://w3id.org/moont/MEquation

has super-classes
modelica class c
is in domain of
initial dp

MExtendsc back to ToC or Class ToC

IRI: https://w3id.org/moont/MExtends

has super-classes
modelica class c
is in range of
extends op

MExternalc back to ToC or Class ToC

IRI: https://w3id.org/moont/MExternal

has super-classes
modelica class c
is in domain of
functionCall dp, language dp
is in range of
external op

MFunctionc back to ToC or Class ToC

IRI: https://w3id.org/moont/MFunction

has super-classes
MAbstractClass c
is in domain of
external op

MIntegerTypec back to ToC or Class ToC

IRI: https://w3id.org/moont/MIntegerType

has super-classes
MType c
has members
integer type ni

MModelc back to ToC or Class ToC

IRI: https://w3id.org/moont/MModel

has super-classes
MAbstractClass c

MPackagec back to ToC or Class ToC

IRI: https://w3id.org/moont/MPackage

has super-classes
MAbstractClass c

MRealTypec back to ToC or Class ToC

IRI: https://w3id.org/moont/MRealType

has super-classes
MType c
has members
real type ni

MRecordc back to ToC or Class ToC

IRI: https://w3id.org/moont/MRecord

has super-classes
MAbstractClass c

MStringTypec back to ToC or Class ToC

IRI: https://w3id.org/moont/MStringType

has super-classes
MType c

MTypec back to ToC or Class ToC

IRI: https://w3id.org/moont/MType

has super-classes
MAbstractClass c
has sub-classes
MBooleanType c, MEnumerationBaseType c, MEnumerationType c, MIntegerType c, MRealType c, MStringType c

MTypeComponentc back to ToC or Class ToC

IRI: https://w3id.org/moont/MTypeComponent

has super-classes
MComponent c
is in domain of
isFlow dp

Object Properties

algorithmop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/algorithm

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MAlgorithm c

base classop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/baseClass

has super-properties
modelica object property op
has domain
MDerives c or MExtends c
has range
MAbstractClass c

component modificationop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/componentModification

has super-properties
modelica object property op
has sub-properties
component redeclaration op, component value change op
has domain
MComponent c

component redeclarationop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/componentRedeclaration

has super-properties
component modification op

component value changeop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/componentValueChange

has super-properties
component modification op

connected toop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/connectedTo

has super-properties
modelica object property op
has domain
m connector component c
has range
m connector component c

connectionop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/connection

has super-properties
modelica object property op
has domain
MBlock c or MClass c or MModel c
has range
MConnection c

contained inop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/containedIn

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MAbstractClass c

derivesop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/derives

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MDerives c

equationop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/equation

has super-properties
modelica object property op
has domain
MAbstractClass c

extendsop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/extends

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MExtends c

externalop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/external

has super-properties
modelica object property op
has domain
MFunction c
has range
MExternal c

fromPortop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/fromPort

has super-properties
modelica object property op
has domain
MConnection c
has range
m connector component c

hasPartop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/hasPart

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MComponent c

initialAlgorithmop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/initialAlgorithm

has super-properties
modelica object property op
has domain
MAbstractClass c
has range
MAlgorithm c

itemsop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/items

has super-properties
modelica object property op
has domain
MEnumerationType c
has range
MEnumerationLiteral c

statementop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/statement

has super-properties
modelica object property op
has domain
MAlgorithm c
has range
MAlgorithm c

toPortop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/toPort

has super-properties
modelica object property op
has domain
MConnection c
has range
m connector component c

typeop back to ToC or Object Property ToC

IRI: https://w3id.org/moont/type

has super-properties
modelica object property op
has domain
MComponent c
has range
MAbstractClass c

Data Properties

arraySubscriptsdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/arraySubscripts

has super-properties
modelica data property dp
has domain
MComponent c or MDerives c
has range
string

causalitydp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/causality

has super-properties
modelica data property dp
has domain
MComponent c or MDerives c

commentdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/comment

has super-properties
modelica data property dp
has domain
MAbstractClass c or MComponent c
has range
string

conditiondp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/condition

has super-properties
modelica data property dp
has domain
MComponent c
has range
string

descriptiondp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/description

has super-properties
modelica data property dp
has domain
MComponent c or MConnection c or MEnumerationLiteral c or MEquation c
has range
string

dynamicReferencedp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/dynamicReference

has super-properties
modelica data property dp
has domain
MComponent c

fromPortArraySubscriptsdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/fromPortArraySubscripts

has super-properties
modelica data property dp
has domain
MConnection c
has range
string

functionCalldp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/functionCall

has super-properties
modelica data property dp
has domain
MExternal c
has range
string

identifierdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/identifier

has super-properties
modelica data property dp
has domain
MComponent c or MEnumerationLiteral c or MExternal c
has range
string

initialdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/initial

has super-properties
modelica data property dp
has domain
MEquation c
has range
boolean

isEncapsulateddp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isEncapsulated

has super-properties
modelica data property dp
has domain
MAbstractClass c
has range
boolean

isExpandabledp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isExpandable

has super-properties
modelica data property dp
has domain
MConnector c
has range
boolean

isFinaldp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isFinal

has super-properties
modelica data property dp
has domain
MComponent c
has range
boolean

isFlowdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isFlow

has super-properties
modelica data property dp
has domain
MTypeComponent c
has range
boolean

isPartialdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isPartial

has super-properties
modelica data property dp
has domain
MAbstractClass c
has range
boolean

isProtecteddp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/isProtected

has super-properties
modelica data property dp
has domain
MComponent c
has range
boolean

languagedp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/language

has super-properties
modelica data property dp
has domain
MExternal c
has range
string

modificationdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/modification

has super-properties
modelica data property dp
has domain
MComponent c or MDerives c or MExtends c
has range
string

placement origindp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/placement_origin

has super-properties
modelica data property dp
has domain
MComponent c
has range
string

string commentdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/stringComment

has super-properties
modelica data property dp
has domain
MAbstractClass c or MComponent c
has range
string

toPortArraySubscriptsdp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/toPortArraySubscripts

has super-properties
modelica data property dp
has domain
MConnection c
has range
string

variabilitydp back to ToC or Data Property ToC

IRI: https://w3id.org/moont/variability

has super-properties
modelica data property dp
has domain
MComponent c

Named Individuals

boolean typeni back to ToC or Named Individual ToC

IRI: https://w3id.org/moont/BooleanType

belongs to
MBooleanType c

integer typeni back to ToC or Named Individual ToC

IRI: https://w3id.org/moont/IntegerType

belongs to
MIntegerType c

real typeni back to ToC or Named Individual ToC

IRI: https://w3id.org/moont/RealType

belongs to
MRealType c

Legend back to ToC

c: Classes
op: Object Properties
dp: Data Properties
ni: Named Individuals

References back to ToC

Add your references here. It is recommended to have them as a list.

Changes from last version

Data Properties

Added data properties
  • https://w3id.org/moont/comment
    • Added: Range http://www.w3.org/2001/XMLSchema#string
    • Added: SubProperty of https://w3id.org/moont/ModelicaDataProperty
    • Added: Domain Union of (https://w3id.org/moont/MAbstractClass, https://w3id.org/moont/MComponent)
  • https://w3id.org/moont/placement_origin
    • Added: Range http://www.w3.org/2001/XMLSchema#string
    • Added: Domain https://w3id.org/moont/MComponent
    • Added: SubProperty of https://w3id.org/moont/ModelicaDataProperty
Deleted data properties

Acknowledgments back to ToC

The authors would like to thank Silvio Peroni for developing LODE, a Live OWL Documentation Environment, which is used for representing the Cross Referencing Section of this document and Daniel Garijo for developing Widoco, the program used to create the template used in this documentation.