Next Article in Journal
Experimental Study on Motion Characterisation of CALM Buoy Hose System under Water Waves
Next Article in Special Issue
Ship Traffic Flow Prediction in Wind Farms Water Area Based on Spatiotemporal Dependence
Previous Article in Journal
Observation of Near-Inertial Waves Induced by Typhoon Mitag (2019) on the Southwestern East China Sea Continental Slope
Previous Article in Special Issue
Review of Ship Behavior Characteristics in Mixed Waterborne Traffic
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ontological Ship Behavior Modeling Based on COLREGs for Knowledge Reasoning

1
School of Navigation, Wuhan University of Technology, Wuhan 430063, China
2
Intelligent Transportation Systems Research Center, Wuhan University of Technology, Wuhan 430063, China
3
National Engineering Research Center for Water Transport Safety, Wuhan University of Technology, Wuhan 430063, China
*
Author to whom correspondence should be addressed.
J. Mar. Sci. Eng. 2022, 10(2), 203; https://doi.org/10.3390/jmse10020203
Submission received: 11 January 2022 / Revised: 29 January 2022 / Accepted: 30 January 2022 / Published: 2 February 2022

Abstract

:
Formal expression of ship behavior is the basis for developing autonomous navigation systems, which supports the scene recognition, the intention inference, and the rule-compliant actions of the systems. The Convention on the International Regulations for Preventing Collisions at Sea (COLREGs) offers experience-based expressions of ship behavior for human beings, helping the humans recognize the scene, infer the intention, and choose rule-compliant actions. However, it is still a challenge to teach a machine to interpret the COLREGs. This paper proposed an ontological ship behavior model based on the COLREGs using knowledge graph techniques, which aims at helping the machine interpret the COLREGs rules. In this paper, the ship is seen as a temporal-spatial object and its behavior is described as the change of object elements in time spatial scales by using Resource Description Framework (RDF), function mapping, and set expression methods. To demonstrate the proposed method, the Narrow Channel article (Rule 9) from COLREGs is introduced, and the ship objects and the ship behavior expression based on Rule 9 are shown. In brief, this paper lays a theoretical foundation for further constructing the ship behavior knowledge graph from COLREGs, which is helpful for the complete machine reasoning of ship behavior knowledge in the future.

1. Introduction

Ship behavior refers to the movement of the ship in response to the traffic situation, which usually reflects the intention of the officer on watch (OOW) at present and influences the trajectory of the ship in the future. Hence, the recognition of ship behavior is the key to judging the intention of the OOW and predicting the movement of ships in dangerous encounters, which benefits the safety and efficiency of autonomous navigation and traffic management [1]. From the perspective of traffic management, the vessel traffic service operators (VTSO) need to judge the development of the situation based on the analysis of the ship behavior and identify the near-miss as early as possible; from the perspective of ship navigation, the OOW or intelligent systems need to infer the intention of other ships and predict their trajectories based on the observed ship behavior before taking evasive actions [2]. In brief, to improve the intelligence level of VTS and ships, the study of ship behavior has become an essential topic.
In order to help the machine understands the behavior of the ship based on COLREGs, the techniques from the knowledge graph are introduced and the methodology of ontological ship behavior modeling is developed by using Resource Description Framework (RDF), function mapping, and set expression methods. The concept of ship object and ship behavior described in COLREGs rules are incorporated in the proposed method. The ship is seen as a temporal-spatial object containing attribute elements and relational elements; the behavior, then, is described as the changes of the elements in time-spatial scales. Based on these techniques, the proposed method can be used to identify the intentions of the ships and their violation behavior, which has the potential of improving the autonomy level of the ships and decision support system in VTS.
In summary, the main contribution of this paper is developing a knowledge model of ship behavior according to the rules from COLREGs, which could be used to realize ship behavior knowledge expression in the machine. The rest of this paper is organized as follows: the studies on ship behavior modeling are overviewed in Section 2; Section 3 introduces the definitions of ship objects, attribute elements, and relational elements, followed by a conceptual model of ship behavior and the formal expression of ship behaviors according to the COLREGs in Section 4; case studies, discussion, and conclusions are addressed in Section 5, Section 6 and Section 7, respectively.

2. Literature Review

Studies on ship behavior modeling fall into the following two categories: data-driven behavior modeling and knowledge-driven behavior modeling. In addition, due to the recent focus on rule-compliant collision avoidance, many researchers studied ship behavior in encounters, which are also overviewed.

2.1. Data-Driven Behavior Modelling

Data-driven behavior modeling usually utilizes ship trajectory data to learn the ship’s behavior. A group of researchers proposed to learn the characteristics of ship behavior from traffic data from a certain region and use the characteristics to predict the trajectory of the ship in the future [3]. Specifically, researchers obtained ship motion trajectories from AIS data [4], analyzed characteristics of trajectory [5], and concluded the distribution of ship state in history that reflects the characteristics of ship behavior [6]. The characteristics of ship behavior, then, are used to predict the trajectories of the ships. Some typical methods to predict the trajectory are Kalman filter [7], Long Short-Term Memory Neural Network (LSTM) [8], Bayesian networks [9], backpropagation neural network (BP) [10], etc.
Some researchers focus on the identification of abnormal behavior of ships by learning historical trajectory data. Patroumpas et al. [11] designed a method to identify the flow of ship events through AIS data, and on this basis, performed cognitive inferences on abnormal behavior of ships. Zouaoui et al. [12] introduced the Hidden Markov model and formal language for analyzing the ship movement data in the harbor to get the normal ship behavior and abnormal ship behavior. Lei et al. [13] proposed the MT-MAD framework, which can automatically detect abnormal behavior based on the evaluation of the ship’s historical sub-trajectory data, and defines the ship’s activity space, behavior sequence, and behavior characteristics.
Another group of researchers concentrates on ship behavior prediction. Zissis et al. [14] used machine learning, especially artificial neural networks, as a tool to increase the predictive ability of ship behavior. The developed systems can learn and accurately predict in real-time the future behavior of any ship, in a relatively low computing time, which can be used as the basis of prediction for various intelligent systems, e.g., ship collision prevention, ship route planning, ship operation, etc. Perera et al. [15] proposed a ship behavior recognition module in autonomous ships using historical ship trajectory data, which is also used to predict ship trajectory in the future.
In short, the data-driven ship behavior model is usually based on the observed traffic data, e.g., AIS data, etc., which are used to predict the trajectories of ships based on the characteristics of the majority and identify “abnormal behaviors” that are different from the majority. However, it is not easy for these models to infer the behavior of the ship that is rule-compliant or not (i.e., reasoning the knowledge of ship behavior). In particular, the machine lacks knowledge about rule-compliant behavior.

2.2. Knowledge-Driven Behavior Modeling

Knowledge-driven behavior modeling accepts that the ship cannot move freely but follows certain regulations/rules (i.e., prior knowledge). Thus, researchers intend to gain knowledge of ship behavior from semantic knowledge. Expert systems [16], expression logic [17], semantic network [18], the Resource Description Framework (RDF) [19], ontology [20], etc. are popular methods to construct knowledge and realize knowledge reasoning.
The semantic network is a popular tool to describe ship behavior in recent years. The information loss is inevitable when the researchers use trajectory data only for recognizing ship behavior [21]; thus, some researchers tried to enrich the semantic information of the trajectory. Parent et al. [22] proposed the semantic modeling method and defined the semantic model of the ship trajectory.
In addition, the ontology model of ship behavior becomes popular, which can realize knowledge expression for machines. Nogueira et al. [23] used ontology tools to combine the ship’s trajectory motion characteristics, such as velocity and acceleration, to express the ship’s trajectory. Lamprecht et al. [24] used the ontology’s knowledge organization ability and reasoning function to realize the cognition of the conceptual modeling of ship behavior. Wen et al. [25] introduced a dynamic Bayesian network, combined with a semantic network to carry out dynamic uncertainty reasoning and knowledge expression of ship behavior in port waters. Huang et al. [26] combined machine learning and semantic behavior for pattern recognition. Adibi et al. [27] predicted ship behavior, analyzed and discovered ship behavior at the semantic level, and improved maritime supervisors’ understanding of water traffic. However, these semantic models lack consideration of the influence of environmental disturbance and do not fully consider the constraints of COLREGs on ship behavior.
The knowledge-driven approach presents tools to model behaviors for behavior inference. The reasoning process uses techniques such as rule-based systems, case-based reasoning, and ontological reasoning to produce activity models. Knowledge-driven approaches can represent the context of the environments at multiple levels of abstraction to create generalized and personalized behavior modeling. In particular, ontologies have been widely used to represent semantic concepts and their relationships in a structural manner. Advantages of ontologies include the ability to express knowledge in a clearly organized and structured manner, machine-readable expression, and the expressive power to support the reasoning process.

2.3. Behavior Modeling of COLREGs

To our best knowledge, traditional methods basically considered some key rules from COLREGs and designed the rule-based expert system that helps the machine to recognize the traffic scene and apply certain reaction rules [28].
Some researchers use a question-and-answer method to construct an expert system of ship collision avoidance and give an avoidance plan in the form of question and answer. Others focus on quantifying the COLREGs rules. Many descriptions from COLREGs are ambiguous, vague, and unquantified, which made them difficult for the machine to use in practice. Thus, many researchers proposed quantification methods that quantified the conditions for each encounter [29] (e.g., heading, crossing, and overtaking) and addressed the link between encounters conditions and reaction rules with the help of captains and fuzzy theory [30]. Xu et al. [31] clarified the concepts of “head-on ship”, “give-way ship”, “overtaking”, “crossing” and “heading” according to COLREGs, set up a corresponding reward function for each concept and designed the reward function. In the deep learning algorithm, the optimal collision-avoidance strategy is finally obtained. He et al. [32] put forward the COLREGs quantitative model by combining the ship domain model and the ship heading control system based on the four-stage theory of the ship encounter process. Eriksen H et al. [33] introduced a three-layer hybrid collision-avoidance (COLAV) system for surface unmanned boats, which complies with Articles 8 and 13 to 17 of the COLREGs. The performance of the COLAV system is tested by numerical simulations of three different challenge scenarios (i.e., heading, crossing, and overtaking).
These studies can be used to develop the MASS that follows the rules inputted by developers, but it is challenging to enumerate all the possible scenarios and reaction rules. To develop a practical rule-compliant ship, the developers need to enumerate the scenes that one ship might encounter and design the reaction rules. However, it is almost impossible to address all the scenes one ship might encounter. Thus, adding additional reaction rules become necessary. For example, in a crossing encounter, one ship that is on the portside of another ship is usually seen as a “give-way” ship, whereas if the first ship is a fishing ship, the ship becomes the “stand-on” ship. To handle this exception, additional reaction rules would be needed, which address the special arrangements when the ship encounters fishing ships. However, it is hard to list the endless exceptions.
In this paper, we propose another way to handle this issue. Instead of humans adding patches for exceptions, we proposed the ontological knowledge model helping the machine to deconstruct the conditions and reactions, extract the common concepts, and define the relationships among concepts. With the help of the ontological model, the machine not only can perform the reactions based on the explicit rules but also can infer the implicit rules, i.e., interpretation of rules from COLREGs. It offers a new line of thought to develop a rule-complaint MASS.

3. Conceptual Modeling of Ship Object from COLREGs

The COLREGs, formulated by the International Maritime Organization (IMO), define different types of ships, different scenes one ship might encounter, and obligations of the ship in these scenes [34]. The ship is the core concept, and the formal expression (i.e., formulaic and structured expression) of the ship object introduced in this section is a prerequisite for the machine to understand the ship behavior described by COLREGs.

3.1. Conceptual Modeling of Ship Object

Ships usually have many spatiotemporal characteristics, e.g., velocity, course, position, etc., which implies that the ship is a spatiotemporal object. Thus, in this paper, the ship object is defined as Definition 1:
Definition 1.
Ship object is a spatiotemporal object with the characteristics in time and space scales, which can be expressed in the form of data, models, rules, logic, or knowledge by computers in cyberspace.
In general, one ship has many characteristics helping us to distinguish one ship from another ship, and these characteristics are usually named as an “attribute” of the ship. By the type and values of the attributes, one can distinguish the ship from different objects.
Among these attributes, the attributes that describe the characteristics of the ship independent from the surrounding objects, e.g., the ship name, position, velocity, types, etc., are named as “attribute elements” in this paper, whereas other attributes rely on surrounding objects to express its characteristics, e.g., the bearing of objects, relative distance between objects and the relative speed, etc., are named as “relational elements”. The formal definitions of attribute elements and relational elements are shown as Definition 2 and Definition 3:
Definition 2.
The ship’s attribute elements are the expression of the specific characteristics of the ship object that are independent of other objects., e.g., ship name, velocity, course, flag state, etc.
Definition 3.
Ship’s relational elements are to describe the association relationship between objects (e.g., ship objects and environment objects), e.g., relative velocity, relative heading, relative location between the ship and the environment or between one ship and another ship, etc.
In order to facilitate the understanding of the definitions in the paper, we have made Figure 1 to show that the entities (e.g., ships, channels, etc.) in the physical space are extracted and modeled in cyberspace, named as objects. Each object has attribute elements and relational elements that help us distinguish one from another. These elements might vary as time moves on, such as the course, the velocity of ship A, the relative distance, and relative bearing from ti1 to ti+1.
According to Definitions 1–3, the ship object has attribute elements and relational elements that might vary as time moves on or with the changes of positions. For instance, in an encounter scenario, relational elements (e.g., relative distance) of the ship would change as time moves on; in a curved channel, attribute elements (e.g., course) of the ship will be diverse according to the curvature of the channel. In brief, the values of attribute elements and relational elements have a time or spatial “stamp”. Thus, each ship object can be expressed in the form of a triple-element model:
s h i p O b j e c t = { A t t r i b u t e   e l e m e n t s , R e l a t i o n a l   e l e m e n t s , T i m e _ S p a c e }
where shipObject represents the ship object, Attribute elements represents the attribute elements of objects, Relational elements represent the relational elements of objects, and Time_Space represents the time and space scales.
Each element of the ship object can be formally expressed by a cell containing “Type”, “Value”, and “t”, named as “Object.parameter” and defined as:
O b j e c t . p a r a m e t e r = ( T y p e t i , V a l u e t i , t i ) , ( i N + )
where Object.parameter represents the smallest unit describing the elements of the specific ship object (say “Object”), “Type” represents the type of attribute elements or relational elements of the specific ship object; “Value” represents the value of the “Type”, and t represents the moment when the “Type” has the “Value”.
Based on these definitions, all characteristics of one object (with attribute elements and relational elements) can be collected in a set of the Object.Parameter, i.e.,
O b j e c t . P a r a m e t e r = { O b j e c t . p a r a m e t e r 1 T y p e , , O b j e c t . p a r a m e t e r n T y p e }
where Type represents the type of Object.parameters, such as velocity, course, relative distance, relative bearing, etc. Additionally, the parameters relating to the attribute elements are collected in Object.Parameterattribute, and the parameters relating to the relational elements between Object and Object2 are collected in [Object1, Object2]. Parameterrelation. Thus, Equation (3) can be expressed as:
O b j e c t . P a r a m e t e r = { O b j e c t . P a r a m e t e r A t t r i b u t e , , [ O b j e c t 1 , O b j e c t 2 ] . P a r a m e t e r R e l a t i o n }
The Parameter of object can be expressed as Example 1:
Example 1.
Take the scene in Figure 1. as an example. The Parameter of ship A can be expressed as formula as:
s h i p A . P a r a m e t e r = { s h i p A . p a r a m e t e t e r 3 v e l o c i t y , [ s h i p A , s h i p B ] . s p a r a m e t e r 3 d i s t a n c e } = ( v e l o c i t y , 10 , t i 1 ) , ( v e l o c i t y , 15 , t i ) , ( v e l o c i t y , 20 , t i + 1 ) , ( d i s t a n c e , 5 , t i 1 ) , ( d i s t a n c e , 1 , t i ) , ( d i s t a n c e , 4 , t i + 1 )

3.2. Expression of Elements of Ship Object

3.2.1. Attribute Elements

According to COLREGs, the ship object has various attribute elements, and these attribute elements might influence the role of the ship and its obligations in a certain traffic scene. According to the feature of these elements, attribute elements can be categorized into two types, namely static attribute elements and dynamic attribute elements, see Figure 2.
The static attribute elements describe the attributes that are usually relatively invariant, such as ship name, ship type, ship size, etc., while the dynamic attribute elements are the attributes that might change over time, such as the ship’s position, heading, velocity, ship’s draft, etc.

3.2.2. Relational Elements

According to COLREGs and Definition 2, the ship also has many relational elements; some relational elements, such as the position and relative distance between two ships, can be used to determine the encounter scene of the two ships (overtaking, crossing, and heading scenes). Additionally, the obligation of one ship might change as the relational element changes. For example, when two ships are in a crossing scene, one of the ships has the obligation to give way to the other ship. When the two ships pass by, this obligation is relieved.
The relational elements between objects are categorized into three types, namely, spatial relations, temporal relations, and semantic relations.
(1)
Spatial relational elements
The spatial relations among the objects in COLREGs include topological, bearing, and distance relations. The regional link calculus model [35] has been introduced to describe the topological relation between objects, e.g., ship object–ship object, ship object– area object, and area object–area object. The topological relation includes separation, inclusion, intersection, coincidence, inscribed, and circumscribed, which are shown in Figure 3a–f.
According to the statement from the COLREGs, the topological relation between two ship objects includes separation and circumscribe. The topological relation between one ship object and one area object includes the following four types: separation, inclusion, inscribed, circumscribe, and intersection. The topological relation between two area objects includes the following six types: separation, inclusion, inscribed, circumscribed, intersection and coincidence.
The bearing relation mainly describes the relative bearing between two ships. This paper constructs the ship coordinate system, which forms four directional regions by the intersection of the ship’s headline and the ship’s transverse line. For example, the coordinate system of ship A and ship B is shown in Figure 4. Ship B is in front of the starboard transverse 45° of ship A, while ship A is in front of the port side transverse 30° of ship B.
The distance relation describes the distance between two ship objects, including quantitative expression and qualitative expression.
The quantitative expression refers to the Euclidean distance between two ship objects, as shown in Equation (6).
D = ( ( x A x B ) 2 + ( y A y B ) 2 )
where D represents the distance between ship A and ship B, (xA,yA), (xB,yB) represents the position coordinates of ship A and ship B.
According to COLREGs (Rule 7, Rule 8, Rule 13, Rule 15), the relative distance is divided into the following four stages: safety distance, urgent situation, risk of collision, and collision. The criteria for dividing these stages are depending on the encounter scenes. For the readers interested in the studies on the quantitative analysis of these criteria, the readers are encouraged to see the paper [36]. Although the quantitative analysis of the scenes is not the focus, the qualitative result, i.e., the stage of the encounter, is crucial for the subsequent deduction. Thus, a qualitative expression of the relative distance is introduced:
D t = safety   distance ,   D n D urgent   situation ,   D m D D n risk   of   collision ,   D l D D m   collision ,   D D m
where D represents the distance between ship objects, Dt is a qualitative expression of “D”, and Dn, Dn, Dl are the threshold that defines the distance between ship objects.
(2)
Time relational elements
The time relation is the expression of the ship’s behavior and events in the time scales, which usually contain two forms, namely points and periods. The time point describes a specific moment. For instance, the time point when the ship performs a left turn, the time when two ships collide, etc. The time period is a range of time. For instance, when the ship is anchored at the anchorage, the ship passes through the narrow space, the time of the ship in the waterway, etc.
In Rule 13 of COLREGs, the definition of the two ships overtaking scene is given as follows: “A vessel shall be deemed to be overtaking when coming up with another vessel from a direction more than 22.5 degrees abaft her beam, that is, in such a position with reference to the vessel she is overtaking, that at night she would be able to see only the stern light of that vessel but neither of her sidelights.” In this rule, there is actually a time relationship. For instance, the overtaking “begins at” the moment of catching up with the previous ship and “ends at” the time when the two ships pass by. In COLREGs, we can conclude the time-related concepts into five types, namely “earlier than”, “later than”, “between”, “beginning at”, and “ending at”, which can be described by time points or time periods. The details see Table 1.
(3)
Semantic relational elements
Semantic relational elements are used to describe the semantic relational elements between ship objects. For example, for the message that the name ship A is “007”, there is a relationship (“hasName”) between ship A and “007”. We call “hasName” is a semantic relational element, ship A is the domain of the semantic relational element, and “007” is the value range of semantic relational elements. The semantic relationship is described as a triple structure <domain, relation, range> using the Resource Description Framework (RDF).
The COLREGs contain many semantic relations, and some typical semantic relations from COLREGs are concluded in Table 2.

4. Conceptual Modeling of Ship Behavior and Its Expression

Ship behavior is another important concept from the COLREGs. Specifically, COLREGs address the promoted and non-promoted behavior in different traffic scenes with different ship objects. According to Section 3, the ship entity in COLREGs is expressed as a ship object, and its element composition is expressed as attribute elements and relational elements for the machine. Based on that, ship behavior can be defined as the changes of elements in time and space scales, and the formal expression of ship behavior is presented in this section.

4.1. Conceptual Modeling of Ship Behavior

In general, “behavior” refers to the activities of spatiotemporal objects caused by external influences or internal action. In order to clearly classify and model the behavior of ship objects, and further express and reason about ship behavior, the definition of the ship behavior is introduced as Definition 4:
Definition 4.
Ship behavior refers to the change of the ship object’s attribute elements and relational elements in time and space scales.
Based on Definition 4, the ship behavior can be defined as ship behavior can be divided into attribute behavior and relational behavior, the definitions are introduced as Definition 5 and Definition 6 The ship behavior is formulated as:
O b j e c t . B e h a v i o r = { B e h a v i o r A t t r i b u t e , B e h a v i o r R e l a t i o n }
Definition 5.
Ship’s attribute behavior refers to the change of ship object attribute information, e.g., ship’s position, course, velocity and light type, denoted as BehaviorAttribute.
Definition 6.
Ship’s relational behavior refers to changes in ship relational elements over time, including spatial relationships, temporal relationships, semantic relationships, also including the generation, change, and demise of relationships, denoted as BehaviorRelation.
Similarly to Equation (2), each characteristic of ship behavior (either attribute behavior or relational behavior) can be expressed by a cell, named as “Behavior.parameter”:
B e h a v i o r . p a r a m e t e r = ( d T y p e , d V a l u e , T )
where “dType” represents types of changes in specific object elements, “dValue” is the amount of change in the value of the same element at different times, the value of “dValue” can be calculated by Valueti-Valueti−1, T represents the period when the “dType” has the “dValue”, T can be represented by [ti−1, ti].
Similarly to Equation (3), ObjectBehavior.Parameter is a set of Behavior.parameters that change their values during Ts, which is formulated as:
O b j e c t B e h a v i o r . P a r a m e t e r = f ( O b j e c t . P a r a m e t e r ) = { ( d T y p e , d V a l u e , T s ) | d V a l u e ϕ }
where ObjectBehavior.Parameter represents a set of Behavior.parameters, f( · ) is the function that finds the “dType” that “dValue” is non-empty from ti−1 to ti. Then, the Object.Behavior can be expressed by the following formula:
O b j e c t . B e h a v i o r = g ( O b j e c t B e h a v i o r . P a r a m e t e r ) = ( d T y p e , B e h a v i o r S e m a n t i c , T s )
where g( · ) is the function that input the “dType” that has non-empty “dValue” and output the semantical meaning of the behavior (BehaviorSemantic), see Table 3.
The object.Parameter can be expressed as example 2:
Example 2.
Take the scene in Figure 1 as an example. The shipA.Parameter is expressed:
s h i p A . P a r a m e t e r = { ( v e l o c i t y , 10 , t i 1 ) , ( v e l o c i t y , 15 , t i ) }
according to Equation (11), the behavior of ship A can be expressed as:
s h i p A . B e h a v i o r = g ( f ( s h i p A . P a r a m e t e r ) ) = { ( d v e l o c i t y , a c c e l e r a t e , [ t i 1 , t i ] ) }
Equation (13) means that the ship A is accelerated from the time ti−1 to ti.

4.2. Formal Expression of Ship Behavior

Since the machines can only understand characterized, formulaic, and structured knowledge, it is necessary to express the knowledge of ship behavior in the way machines can “read”, and such process is named as “formal expression”. Thus, the definition of formal expression of ship behavior is shown as Definition 7.
Definition 7.
Formal expression of ship behavior is a formulaic and structured expression of ship behavior using methods, such as functions and sets.

4.2.1. Attribute Behavior

According to Definition 5, attribute behavior is the change of the attribute elements, which include the changes of ship’s position, velocity, course, and signal, etc. Some typical attribute behaviors are shown as follows:
-
The change of velocity attribute implies the acceleration or deceleration attribute behavior;
-
The change of course attribute can be divided into turning left and right steering attribute behavior;
-
The change of signal attribute behavior refers to the signal number, color, and shape that will be changed in time scales
Based on Equation (11), the attribute behavior can be formulated as:
O b j e c t . B e h a v i o r A t t r i b u t e = g ( f ( O b j e c t . P a r a m e t e r A t t r i b u t e ) )
Therefore, it is necessary to input multiple attribute element values at different times for the f( · ) function, and Object.Parameterattribute can be formally expressed as:
O b j e c t . P a r a m e t e r A t t r i b u t e = { ( d T y p e t j , d V a l u e t j , t j ) } , ( j N + )
where Object.Parameterattribute represents the smallest unit describing the attribute elements of the specific ship object, “Type” represents the type of attribute elements or relational elements of the specific ship object; “Value” represents the value of the “Type”, t represents the moment when the “Type” has the “Value”.

4.2.2. Relational Behavior

In COLREGs, the relational behavior (e.g., variable relative distance and bearing) of ship objects are mainly used to determine the criteria of certain scenes and ships obligations. Some typical relational behaviors are shown as follows:
  • The change of relative distance relation implies the “near” or “far away” relation behavior;
  • The change of relative bearing relation can be divided into the angle of bearing turning smaller and the angle of bearing turning bigger;
Based on Equation (12), the relational behavior can be formulated as:
O b j e c t . B e h a v i o r R e l a t i o n = g ( f ( [ O b j e c t 1 , O b j e c t 2 ] . P a r a m e t e r R e l a t i o n ) )
It is necessary to input multiple relation element values at different times for the f( · ) function, the Object.ParameterRelation can be formally expressed as:
[ O b j e c t 1 , O b j e c t 2 ] . P a r a m e t e r R e l a t i o n = { ( d T y p e t k , d V a l u e t k , t k ) } , ( k N + )
where [Object1, Object2] ParameterRelation represents the smallest unit describing the relational elements of the specific ship object, “Type” represents the type of relational elements of the specific ship object; “Value” represents the value of the “Type”, t represents the moment when the “Type” has the “Value”.

5. Case Analysis

In order to demonstrate the proposed models, Rule 9 (the Narrow Channel clause) from COLREGs is introduced (the content of Rule 9 is shown in the Table A1), and the ontological behavior model based on Rule 9 is used. The Narrow Channel clause (Rule 9) addresses the promoting or non-promoting behavior when the ship object (e.g., O s h i p _ i n ) enters, leaves, and navigates in a narrow channel.

5.1. Ontological Expression of Ship Object Based on Rule 9

By analyzing the text information from Rule 9, there are two types of objects, namely the ship object and the waterway object, specifically, sailboats, ships less than 20 m in length, vessels engaged in fishing, narrow channel, etc., that are shown in Table 4.
For the ship object, the attribute elements contain static attributes and dynamic attributes, which are listed in Table 5.
  • The static attributes include ship’s type, call sign, size, etc.
  • The dynamic attributes include some time-varying attributes, such as position, velocity, course, draft, sound signal, etc.
For the waterway object, the attribute elements also include static attributes and dynamic attributes, which are shown in Table 5.
  • The static attributes of narrow water channels are the name of the narrow water channel, the center position of each water depth; the width of the navigable water area; the boundary information of the narrow water channel.
  • The dynamic attributes of narrow water channels are the flow velocity, flow direction, and visibility of narrow water channels.
According to Section 3.2.2, the relational elements among these objects (ships and the waterway) can be analyzed from the following three aspects: time, space, and semantic. Table 6 lists different objects, the relationships between objects, and the semantic expressions of the relationships.
  • The time relations between the ship and the narrow water channel include the time before the ship enters the narrow water channel, after entering the narrow water channel, and when the ship moves in the narrow water channel.
  • The spatial topological relationship includes the ship outside the narrow water channel and the ship in the narrow water channel. Ships are in narrow channel elbow waters or boundary waters, etc.
  • The semantic relations include ships avoiding anchoring and crossing in narrow channels. Specific numerical values express the spatial position relationship and spatial distance relationship between ships and ships; semantic relations include the ship attempting to overtake another ship, the other ship agrees or suspects overtaking, and sailboats and ships less than 20 m in length should not interfere with ships that can only navigate safely in narrow channels. Vessels engaged in fishing shall not hinder any ships that navigate safely in narrow channels, etc.

5.2. Formal Expression of Ship Behavior Based on Rule 9

The text information of Rule 9 addresses the attribute and relational elements of objects. Table 7 lists the attribute elements of one ship at different moments in time. By comparing the attribute elements at different moments, the ship’s attribute behavior is inferred, and the attribute behavior is concluded in the last column of the table. Based on Table 7, the machine can reason about the behavior of the ship by analyzing or comparing the values of position, velocity, heading, and other ship attributes in a narrow channel at different moments. Specifically, the machine can judge whether the ship has moved, accelerated, decelerated, and turned in the period between the two moments.
Table 8 lists the relational elements of one ship w.r.t. other objects (i.e., the ship and the waterway). By comparing the relational elements at different moments, the ship’s relational behavior is inferred, and the relational behavior is expressed semantically. Based on Table 8, the machine can reason about the behavior of the ship by analyzing the topological relationship, and the spatial topological behaviors including sailing in, sailing out, and crossing can be inferred. By analyzing the spatial bearing relationship and spatial distance relationship between ships, the pursuit and crossing behavior between ships in the narrow channel can be inferred.

5.3. Reasoning Based on the Proposed Method

Based on the above formal expression of the behavior of ships in the narrow channel terms of COLREGs, a formal expression of ship behavior can be applied in conjunction with AIS data and nautical chart data.
In Figure 5, we introduce a scene where two ships encountered in a narrow channel. Ship B is navigating in the starboard channel and move towards the north; Ship A is navigating in the port channel and move towards the south.
By analyzing the changes of the attribute elements and relational elements of ship A and ship B at the moments of time t1,t2, and t3, and expressing the attribute behavior and relational behavior of the ships formally in this way, the machine can finally judge whether the ship behavior complies with the COLREGs.
According to the above research on the expression of ship objects and ship behavior, the attribute elements, relational elements of ship objects, and the ship’s attribute behavior and relational behavior can be expressed as follows:
(a)
The expression of the attribute elements of the ship A
shipA.parameter Attribute = { shipA.parameter velocity , shipA.parameter course } = ( v e l o c i t y , 10 , t 1 ) , ( v e l o c i t y , 15 , t 2 ) , ( v e l o c i t y , 20 , t 3 ) , ( c o u r s e , 220 , t 1 ) , ( c o u r s e , 220 , t 2 ) , ( c o u r s e , 150 , t 3 )
(b)
The expression of the attribute elements of the ship B
shipB.parameter Attribute = { shipB.parameter velocity , shipB.parameter course } = ( v e l o c i t y , 18 , t 1 ) , ( v e l o c i t y , 0 , t 2 ) , ( v e l o c i t y , 0 , t 3 ) , ( c o u r s e , 60 , t 1 ) , ( c o u r s e , 60 , t 2 ) , ( c o u r s e , 60 , t 3 )
(c)
The expression of the relational elements between ship A and ship B
[ s h i p A , s h i p B ] . P a r a m e t e r R e l a t i o n = [ s h i p A , s h i p B ] . P a r a m e t e r d i s t a n c e [ s h i p A , s h i p B ] . P a r a m e t e r b e a r i n g = ( d i s t a n c e , 18 , t 1 ) , ( d i s t a n c e , 10 , t 2 ) , ( d i s t a n c e , 3 , t 3 ) , ( b e a r i n g , 050 , t 1 ) , ( b e a r i n g , 030 , t 2 ) , ( b e a r i n g , 230 , t 3 )
(d)
The expression of the relational elements between ship A and Narrow channel
[ s h i p A , O N C ] . P a r a m e t e r R e l a t i o n = { [ s h i p A , O N C ] . P a r a m e t e r T o p o l o p y } = { ( T o p o l o p y , 1 , t 1 ) , ( T o p o l o p y , 1 , t 2 ) , ( T o p o l o p y , 1 , t 3 ) }
(e)
The expression of the relational elements between ship B and Narrow channel
[ s h i p B , O N C ] . P a r a m e t e r R e l a t i o n = { [ s h i p B , O N C ] . P a r a m e t e r T o p o l o p y } = { ( T o p o l o p y , 1 , t 1 ) , ( T o p o l o p y , 1 , t 2 ) , ( T o p o l o p y , 1 , t 3 ) }
(f)
The expression of the attribute behavior of ship A
s h i p A . B e h a v i o r A t t r i b u t e = g ( f ( s h i p A . P a r a m e t e r A t t r i b u t e ) ) = ( d v e l o c i t y , a c c e l e r a t e , [ t 1 , t 2 ] ) , ( d v e l o c i t y , d e c e l e r a t e , [ t 2 , t 3 ] ) , ( d c o u r s e , k e e p   c o u r s e , [ t 1 , t 2 ] ) , ( d c o u r s e , t u r n   s t a r b o a r d , [ t 2 , t 3 ] )
According to the changes of the velocity and course of ship A, the semantics of the ship behaviors are expressed as “accelerate” and “keep course” from the time t1 to t2, “decelerate” and “turn starboard” from the time t2 to t3. From time t2 to t3, the course of ship A is perpendicular to the total flow direction of the narrow channel, which means a spatial topological behavior of “crossing” between ship A and the narrow channel. Therefore, it violates the COLREGs rule that “Ships should avoid crossing narrow channel”.
(g)
The expression of the attribute behavior of ship B
s h i p B . B e h a v i o r A t t r i b u t e = g ( f ( s h i p B . P a r a m e t e r A t t r i b u t e ) ) = ( d v e l o c i t y , d e c e l e r a t e , [ t 1 , t 2 ] ) , ( d v e l o c i t y , k e e p   v e l o c i t y , [ t 2 , t 3 ] ) , ( d c o u r s e , k e e p   c o u r s e , [ t 1 , t 2 ] ) , ( d c o u r s e , k e e p   c o u r s e , [ t 2 , t 3 ] )
According to the changes of the velocity and course of ship B, the semantics of the ship behaviors are expressed as “decelerate” and “keep course” from the time t1 to t2, “keep velocity” and “keep course” from the time t2 to t3. Ship B is “anchored” in the narrow channel from the time t2 to t3. Therefore, it violated the COLREGs stipulation that “ships should avoid anchoring in the narrow channel”.
(h)
The expression of the relational behavior of ship A and ship B
[ s h i p A , s h i p B ] . B e h a v i o r R e l a t i o n = g ( f ( [ s h i p A , s h i p B ] . P a r a m e t e r R e l a t i o n ) ) = ( d d i s t a n c e , n e a r , [ t 1 , t 2 ] ) , ( d d i s t a n c e , n e a r , [ t 2 , t 3 ] ) , ( d b e a r i n g , m o v e   t o   b o w , [ t 1 , t 2 ] ) , ( d b e a r i n g , m o v e   t o   b o w , [ t 2 , t 3 ] )
According to the changes of the relative distance and relative bearing between ship A and ship B, the semantics of the ship behaviors are expressed as “near” and “move to bow” from the time t1 to t2, “far away” and “move to stern” from the time t2 to t3.
(i)
The expression of the relational behavior of ship A and Narrow channel
[ s h i p A , O N C ] . B e h a v i o r R e l a t i o n = g ( f ( [ s h i p A , O N C ] . P a r a m e t e r t o p o l o g y ) ) = ( d t o p o l o g y , s a i l i n g   i n , [ t 1 , t 2 ] ) , ( d t o p o l o g y , k e e p   t o p o l o g y , [ t 2 , t 3 ] )
According to the changes of the topology relation between ship A and the narrow channel, the semantics of the ship behaviors are expressed as “sailing in” from the time t1 to t2, “keep topology” in the narrow channel from the time t2 to t3.
(j)
The expression of the relational behavior of ship B and Narrow channel
[ s h i p B , O N C ] . B e h a v i o r R e l a t i o n = g ( f ( [ s h i p B , O N C ] . P a r a m e t e r t o p o l o g y ) ) = ( d t o p o l o g y , k e e p   t o p o l o g y , [ t 1 , t 2 ] ) , ( d t o p o l o g y , k e e p   t o p o l o g y , [ t 2 , t 3 ] )
According to the changes of the topology relation between ship B and the narrow channel, the semantics of the ship behaviors are expressed as “keep topology” in the narrow channel from the time t1 to t2, “keep topology” in the narrow channel from the time t2 to t3.
According to the above-mentioned expression of the attribute behavior of ship A and ship B, and the relational behavior between ship A and ship B, ship A and the narrow channel, and ship B and the narrow channel at the time from t1 to t3. Based on these expressions, we can clearly judge whether the ship behavior complies with COLREGs, see Table 9.

6. Discussion

With the development of knowledge engineering, knowledge expression has been widely explored and utilized in multiple knowledge-driven tasks, which significantly improves their performance. In this section, we first give a summary of this research then summarize the advantages and disadvantages of the method of this research.

6.1. Discussion on Case Study

In this paper, we provide a broad overview of currently available techniques, including RDF, function mapping, and set expression methods. The proposed method imitates human understanding ability, which makes it possible to incorporate prior knowledge to assist machine recognizing.
In Section 3, we abstractly express the ship objects in COLREGs as attribute elements and relationship elements, and in Section 4, we express the dynamic changes of the ship object’s attribute elements and relationship elements over time as ship behavior. The expression method through RDF, function and collection is similar to human thinking, which is more in line with our COLREGs ship behavior ontology knowledge modeling. Based on the ship behavior ontology method in Section 3 and Section 4, we use COLREGs (Rule 9) for example verification in Section 5, and the results show that our method can formally express the ship behavior of COLREGs.
However, this research is only the initial work for realizing ship behavior knowledge reasoning to the machine. Based on this research, in the future, the ship behavior knowledge graph, COLREGs knowledge graph, and the knowledge graph of water traffic scene can be further constructed to realize the autonomous recognition of water traffic scenes, judge water Traffic situation, reason about the violations of COLREGs by ships, and support decision making of MASS.

6.2. Advantages and Disadvantages of the Proposed Method

(1)
Advantages of this method
In this paper, the ship behavior, based on COLREGs, is modeled as the change of entity elements in time and space scales by using RDF, function mapping, and set expression methods. The advantages of this method are as follows: first, it can capture hidden semantic information in COLREGs; second, it can improve the accuracy of knowledge recognizing significantly; finally, it can simulate human recognizing ability, which makes it possible to incorporate prior knowledge to assist in recognizing.
(2)
Disadvantages of this method
On the basis of Section 3, Section 4 and Section 5, we realize the formal expression of the ship behavior ontology model in COLREGs, but the ontology model still has some deficiencies. The knowledge model of ship behavior established in this paper is still in the enlightenment stage in the maritime industry, which has not yet formed a unified industry standard. Its disadvantage is that it has not solved a series of problems such as dependence on domain experts and poor generalization ability. On the one hand, this method requires manual modeling of ship behavior knowledge, and its modeling efficiency is low. On the other hand, semantic calculation and reasoning methods are still missing.

6.3. Future Work

The formal expression of ship behavior is the basis for developing autonomous navigation systems that support the scene cognition, the intention inference, and the rule-compliant actions of the systems. This paper studies the formal expression of ship behavior based on COLREGs. However, there is still a certain distance for the machine to truly realize the autonomous recognition of the navigation scene, the autonomous reasoning of the ship’s intention, and the autonomous judgment of the ship’s behavior in compliance with the COLREGs rules. Based on the research in this paper, we give several directions for future research, as follows:
(1)
Constructing the ontology of ship behavior
Ontology plays an important role in enriching the semantic information of things and realizing knowledge sharing. Based on the formal expression of ship objects and ship behavior in this paper, the ship behavior ontology is further constructed to form a knowledge base with semantic information, and the custom SWRL rules are input into the ontology inference engine to realize the machine’s autonomous cognition of ship behavior.
(2)
Constructing the ontology of traffic scene
COLREGs are the norms of ship behavior in different traffic scenarios. According to different traffic scenarios, ships should take corresponding behaviors, the traffic scene ontology is constructed based on COLREGs. The custom SWRL rules are input into the ontology inference engine to realize the machine’s autonomous cognition of traffic scenarios.
(3)
Constructing the knowledge graph of ship behavior
Based on the formal expression of ship behavior in this article, and the ship behavior ontology and traffic scene ontology constructed in future research, the knowledge graph of ship behavior can be further constructed in the future. Then, the machine can be queried, and it can be inferred that the actions whether the acctions are COLREGs-compliant or not in different scenarios.

7. Conclusions

For developing rule-compliant maritime autonomous surface ships (MASS), understanding the Convention on the International Regulation for the preventing Collision at Sea (COLREGs) is the foundation for the machine. The existing expert systems for MASS did not teach the machine to understand the COLREGs rules but list condition-and-reaction rules for endless exceptions. To handle this issue, this paper proposed an ontological method to model the ship behavior and try to build the first step to help the machine to interpret the COLREGs in a manner of humans.
The attributes of the ship are categorized into “attribute elements” and “relational elements”, and the ship behaviors then are defined as the changes on “attribute elements” (i.e., attribute behavior) and “relational elements” (i.e., relational behavior). Based on these definitions, the attribute elements, relational elements, attribute behavior, and relational behavior are formally expressed by using the Resource Description Framework (RDF), function mapping, and set expression methods. By introducing Rule 9 from COLREGs, this paper demonstrates the performance of the proposed method, which has laid a theoretical foundation for structural modeling and semantic understanding of ship behavior.
The proposed method addressed a novel way to develop the rule-compliant machine, which is promising in the development of MASS. This paper is the first step for the rule-compliant MASS, and the proposed model is still at the conceptual and logical levels. Thus, it is necessary to construct the ship behavior ontology further, construct the knowledge model driven by the ship behavior, and use it in actual cases in the future.

Author Contributions

Conceptualization, S.Z. and Y.W.; methodology, Y.H.; software, X.C.; validation, S.Z., Y.H. and L.H.; formal analysis, S.Z.; resources, Y.H.; writing—original draft preparation, S.Z. and Y.H.; writing—review and editing, S.Z. and Y.H.; funding acquisition, Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Key R&D Program of Zhejiang Province China through Grant No. 2021C01010, the National Natural Science Foundation of China (NSFC) through Grant No. 52072287 and 52001241, and “the Fundamental Research Funds for the Central Universities (WUT: 2021IVA106)”.

Institutional Review Board Statement

No applicable.

Informed Consent Statement

No applicable.

Data Availability Statement

No applicable.

Conflicts of Interest

The authors declare no conflict of interest and the funders had no role in the design of the study, in the collection, analyses, or interpretation of data, in the writing of the manuscript, or in the decision to publish the results.

Appendix A

Table A1. Narrow Channel Provisions Text Information.
Table A1. Narrow Channel Provisions Text Information.
Rule 9
Narrow Channel
(a) A vessel proceeding along the course of a narrow channel or fairway shall keep as near to the outer limit of the channel or fairway which lies on her starboard side as is safe and practicable.
(b) A vessel of less than 20 m in length or a sailing vessel shall not impede the passage of a vessel which can safely navigate only within a narrow channel or fairway.
(c) A vessel engaged in fishing shall not impede the passage of any other vessel navigating within a narrow channel or fairway.
(d) A vessel shall not cross a narrow channel or fairway if such crossing impedes the passage of a vessel which can safely navigate only within such channel or fairway. The latter vessel may use the sound signal prescribed in Rule 34(d) if in doubt as to the intention of the crossing vessel.
(e)
(i)
In a narrow channel or fairway when overtaking can take place only if the vessel to be overtaken has to take action to permit safe passing, the vessel intending to overtake shall indicate her intention by sounding the appropriate signal prescribed in Rule 34(c)(i). The vessel to be overtaken shall, if in agreement, sound the appropriate signal prescribed in Rule 34(c)(ii) and take steps to permit safe passing. If in doubt she may sound the signals prescribed in Rule 34(d).
(ii)
This Rule does not relieve the overtaking vessel of her obligation under Rule 13.
(f) A vessel nearing a bend or an area of a narrow channel or fairway where other vessels may be obscured by an intervening obstruction shall navigate with particular alertness and caution and shall sound the appropriate signal prescribed in Rule 34(e).
(g) Any vessel shall, if the circumstances of the case admit, avoid anchoring in a narrow channel.

References

  1. Sui, Z.; Wen, Y.; Huang, Y.; Zhou, C.; Xiao, C.; Chen, H. Empirical analysis of complex network for marine traffic situation. Ocean Eng. 2020, 214, 107848. [Google Scholar] [CrossRef]
  2. Zhou, Y.; Daamen, W.; Vellinga, T.; Hoogendoorn, S.P. Impacts of wind and current on ship behavior in ports and waterways: A quantitative analysis based on AIS data. Ocean Eng. 2020, 213, 107774. [Google Scholar] [CrossRef]
  3. Zhou, Y.; Daamen, W.; Vellinga, T.; Hoogendoorn, S.P. Ship classification based on ship behavior clustering from AIS data. Ocean Eng. 2019, 175, 176–187. [Google Scholar] [CrossRef]
  4. Pallotta, G.; Vespe, M.; Bryan, K. Vessel pattern knowledge discovery from AIS data: A framework for anomaly detection and route prediction. Entropy 2013, 15, 2218–2245. [Google Scholar] [CrossRef] [Green Version]
  5. Zhu, F.; Zhang, Y. Research on Marine Traffic Data Mining System Based on AIS. Energy Procedia 2011, 13, 8254–8259. [Google Scholar]
  6. Zhu, F. Mining ship spatial trajectory patterns from AIS database for maritime surveillance. In Proceedings of the 2nd IEEE International Conference on Emergency Management and Management Sciences (ICEMMS), Beijing, China, 8–10 August 2011; pp. 772–775. [Google Scholar]
  7. Gao, M.; Shi, G.; Li, S. Online prediction of ship behavior with automatic identification system sensor data using bidirectional long short-term memory recurrent neural network. Sensors 2018, 18, 4211. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Sun, Y.; Peng, X.; Ding, Z.; Zhao, J. An approach to ship behavior prediction based on AIS and RNN optimization model. Int. J. Transp. Eng. Technol 2020, 6, 16–21. [Google Scholar]
  9. Mascaro, S.; Korb, K.B.; Nicholson, A.E. Learning abnormal vessel behaviour from ais data with bayesian networks at two time scales. Tracks A J. Artist. Writ. 2010, 4, 1–34. [Google Scholar]
  10. Xu, T.; Liu, X.; Yang, X. Ship Trajectory online prediction based on BP neural network algorithm. In Proceedings of the 2011 International Conference of Information Technology, Computer Engineering and Management Sciences, Nanjing, China, 24–25 September 2011; pp. 103–106. [Google Scholar]
  11. Patroumpas, K.; Alevizos, E.; Artikis, A.; Vodas, M.; Pelekis, N.; Theodoridis, Y. Online event recognition from moving vessel trajectories. GeoInformatica 2017, 21, 389–427. [Google Scholar] [CrossRef]
  12. Zouaoui-Elloumi, S.; Maïzi, N. Securing harbor by combining probabilistic approach with event-based approach. Appl. Ocean Res. 2014, 47, 98–109. [Google Scholar] [CrossRef] [Green Version]
  13. Lei, P.-R. A framework for anomaly detection in maritime trajectory behavior. Knowl. Inf. Syst. 2016, 47, 189–214. [Google Scholar] [CrossRef]
  14. Zissis, D.; Xidias, E.K.; Lekkas, D. Real-time vessel behavior prediction. Evol. Syst. 2016, 7, 29–40. [Google Scholar] [CrossRef]
  15. Perera, L.P.; Oliveira, P.; Soares, C.G. Maritime traffic monitoring based on vessel detection, tracking, state estimation, and trajectory prediction. IEEE Trans. Intell. Transp. Syst. 2012, 13, 1188–1200. [Google Scholar] [CrossRef]
  16. Cowan, R. Expert systems: Aspects of and limitations to the codifiability of knowledge. Res. Policy 2001, 30, 1355–1372. [Google Scholar] [CrossRef] [Green Version]
  17. Sarker, K.U.; Deraman, A.B.; Hasan, R. Descriptive Logic for Software Engineering Ontology: Aspect Software Quality Control. In Proceedings of the 2018 4th International Conference on Computer and Information Sciences (ICCOINS), Kuala Lumpur, Malaysia, 13–14 August 2018; pp. 1–5. [Google Scholar]
  18. Mullen, J.; Cockell, S.J.; Tipney, H.; Woollard, P.M.; Wipat, A. Mining integrated semantic networks for drug repositioning opportunities. PeerJ 2016, 4, e1558. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Fan, T.; Yan, L.; Ma, Z. Mapping fuzzy RDF(S) into fuzzy object-oriented databases. Int. J. Intell. Syst. 2019, 34, 751–780. [Google Scholar] [CrossRef]
  20. Smith, B. Ontology. In The Furniture of the World; Brill: Leiden, The Netherlands, 2012; pp. 47–68. [Google Scholar]
  21. Zhang, Z.; Suo, Y.; Yang, S.; Zhao, Z. Detection of Complex Abnormal Ship Behavior Based on Event Stream. In Proceedings of the 2020 Chinese Automation Congress (CAC), Shanghai, China, 6–8 November 2020; pp. 5730–5735. [Google Scholar]
  22. Yan, Z.; Chakraborty, D.; Parent, C.; Spaccapietra, S.; Aberer, K. Semantic trajectories: Mobility data computation and annotation. ACM Trans. Intell. Syst. Technol. 2013, 4, 1–38. [Google Scholar] [CrossRef]
  23. Nogueira, T.P.; Braga, R.B.; Martin, H. An ontology-based approach to represent trajectory characteristics. In Proceedings of the 2014 Fifth International Conference on Computing for Geospatial Research and Application, Washington, DC, USA, 4–6 August 2014; pp. 102–107. [Google Scholar]
  24. Lamprecht, D.; Strohmaier, M.; Helic, D.; Nyulas, C.; Tudorache, T.; Noy, N.; Musen, M.A. Using ontologies to model human navigation behavior in information networks: A study based on wikipedia. Semant. Web 2015, 6, 403–422. [Google Scholar] [CrossRef] [Green Version]
  25. Wen, Y.; Zhang, Y.; Huang, L.; Zhou, C.; Xiao, C.; Zhang, F.; Peng, X.; Zhan, W.; Sui, Z. Semantic modelling of ship behavior in harbor based on ontology and dynamic bayesian network. ISPRS Int. J. Geo-Inf. 2019, 8, 107. [Google Scholar] [CrossRef] [Green Version]
  26. Huang, L.; Wen, Y.; Guo, W.; Zhu, X.; Zhou, C.; Zhang, F.; Zhu, M. Mobility pattern analysis of ship trajectories based on semantic transformation and topic model. Ocean Eng. 2020, 201, 107092. [Google Scholar] [CrossRef]
  27. Adibi, P.; Pranovi, F.; Raffaetà, A.; Russo, E.; Silvestri, C.; Simeoni, M.; Soares, A.; Matwin, S. Predicting fishing effort and catch using semantic trajectories and machine learning. In Proceedings of the International Workshop on Multiple-Aspect Analysis of Semantic Trajectories, Würzburg, Germany, 16 September 2019; Springer: Cham, Switzerland, 2019; pp. 83–99. [Google Scholar]
  28. Kose, K.; Yang, C.; Ishioka, Y.; Kato, Y.; Nagasawa, A.; Hara, K. A collision avoidance expert system for integrated navigation system and its brush-up. J. Soc. Nav. Archit. Jpn. 1995, 1995, 399–407. [Google Scholar] [CrossRef]
  29. He, Y.; Jin, Y.; Huang, L.; Xiong, Y.; Chen, P.; Mou, J. Quantitative analysis of COLREG rules and seamanship for autonomous collision avoidance at open sea. Ocean Eng. 2017, 140, 281–291. [Google Scholar] [CrossRef]
  30. Hwang, C.N. The integrated design of fuzzy collision-avoidance and H∞-autopilots on ships. J. Navig. 2002, 55, 117–136. [Google Scholar] [CrossRef]
  31. Xu, X.; Lu, Y.; Liu, X.; Zhang, W. Intelligent collision avoidance algorithms for USVs via deep reinforcement learning under COLREGs. Ocean Eng. 2020, 217, 107704. [Google Scholar] [CrossRef]
  32. He, Y.; Huang, L.; Xiong, Y.; Hu, W. The Research of Ship ACA Actions at Different Stages on Head-On Situation Based on CRI and COLREGS. J. Coast. Res. 2015, 73, 735–740. [Google Scholar] [CrossRef]
  33. Eriksen, B.-O.H.; Bitar, G.; Breivik, M.; Lekkas, A. Hybrid Collision Avoidance for ASVs Compliant With COLREGs Rules 8 and 13–17. Front. Robot. AI 2020, 7, 11. [Google Scholar] [CrossRef]
  34. Weng, J.; Liu, M.; Zhou, Y. Watch and Collision Avoidance of Ship; Wuhan University of Technology Press: Wuhan, China, 2021. (In Chinese) [Google Scholar]
  35. Hoang, V.-N.; Nguyen-Xuan, H. Extruded-geometric-component-based 3D topology optimization. Comput. Methods Appl. Mech. Eng. 2020, 371, 113293. [Google Scholar] [CrossRef]
  36. He, Z.; Deng, M.; Cai, J.; Xie, Z.; Guan, Q.; Yang, C. Mining spatiotemporal association patterns from complex geographic phenomena. Int. J. Geogr. Inf. Sci. 2020, 34, 1162–1187. [Google Scholar] [CrossRef]
Figure 1. Abstract schematic diagram of Ship entity.
Figure 1. Abstract schematic diagram of Ship entity.
Jmse 10 00203 g001
Figure 2. Attribute elements of ship entity.
Figure 2. Attribute elements of ship entity.
Jmse 10 00203 g002
Figure 3. Topological relations of entity elements contains (af).
Figure 3. Topological relations of entity elements contains (af).
Jmse 10 00203 g003
Figure 4. Bearing relational elements of ship objects.
Figure 4. Bearing relational elements of ship objects.
Jmse 10 00203 g004
Figure 5. Application of formal expression of ship behavior in narrow channel scenarios.
Figure 5. Application of formal expression of ship behavior in narrow channel scenarios.
Jmse 10 00203 g005
Table 1. Time relational elements of ship objects in COLREGs.
Table 1. Time relational elements of ship objects in COLREGs.
Time Relation ElementsExpressionIllustration
earlier than before   t 1
before   ( t 1 ,   t 2 )
Jmse 10 00203 i001
later than after   t 2
after   ( t 1 ,   t 2 )
Jmse 10 00203 i002
between Between   ( t 1 ,   t 2 ) Jmse 10 00203 i003
beginning at Begin with   t 1 Jmse 10 00203 i004
ending at End with   t 2 Jmse 10 00203 i005
Table 2. Time relational elements of ship objects in COLREGs.
Table 2. Time relational elements of ship objects in COLREGs.
DomainRelationRangeExpression
One ship
object
hasTypeattribute elementsThe type of ship
hasNameattribute elementsThe name of a ship
hasVelocityattribute elementsThe velocity of a ship
hasCourseattribute elementsThe course of a ship
hasSizeattribute elementsThe size of a ship
Two ship
objects
hasRelative distancerelational elementsThe relative distance
hasRelative bearingrelational elementsThe relative bearing
Table 3. The semantics of behavior.
Table 3. The semantics of behavior.
Elements TypeValueti-Valueti−1Behavior Type
Attribute
elements
velocity>0accelerateAttribute
behavior
=0keep velocity
<0decelerate
course>0turn port
=0keep course
<0turn starboard
Relational elementsrelative distance>0far awayRelational
behavior
=0keep distance
<0near
relative bearing>0move to stern
=0keep bearing
<0move to bow
topology
(Rout = −1, Rin = 1)
>0sailing in
=0keep topology
<0sailing out
Table 4. Objects under the Narrow Channel clause.
Table 4. Objects under the Narrow Channel clause.
ObjectMeaningObjectMeaning
ShipA set of shipsShipinA set of ships in the narrow channel
NCNarrow channel S h i p 20   m A set of ships which length less than 20 m
ShipsailingSailboatShipfishingEngaged in fishing boats
Table 5. Attribute elements between water traffic objects in the Narrow Channel clause.
Table 5. Attribute elements between water traffic objects in the Narrow Channel clause.
ObjectAttribute Elements
(Object.parameterAttribute)
Meaning
ShipStatic
attribute
(Name_Ship,h,ti)“Ship’s name is “h” at ti
(MMSI,i,ti)“Ship call sign is “i” at ti
(Size,j,ti)“The value of ship size is “j” at ti
(Type_ship,k,ti)“The value of ship type is “k” at ti
Dynamic
attribute
(Location,a,ti)“Ship’s location is “a” at ti
(Velocity,b,ti)“Ship’s velocity is “b” at ti
(Course,c,ti)“Ship’s course is “c” at ti
(Draft,d,ti)“Ship’s draft is “d” at ti
(Sound,e,ti)“Ship’s sound is “e” at ti
Narrow
Channel
(NC)
Static
attribute
(Name_NC,l,ti)“The value of Narrow channel name is “l” at ti
(Boundry_NC,m,ti)“The value of boundary position of the narrow channel is “m” at ti
(Width_NC,n,ti)“The value of navigable water width of the narrow channel is “n” at ti
(Location_NC,o,ti)“The value of the center position of each water depth area of the narrow channel is “o” at ti
Dynamic
attribute
(Visibility,f,ti)“Visibility in narrow channel is “f” at ti
(Flow velocity,g,ti)“Flow velocity in narrow channel is “g” at ti
Table 6. Relational elements of objects in the Narrow Channel clause.
Table 6. Relational elements of objects in the Narrow Channel clause.
ObjectsRelational Elements
(Object.parameterRelation)
Meaning
[Ship, NC]Time relational(Time.Before,1,ti)“Before the ship enters the narrow channel”
(Time.After,−1,ti)“After the ship enters the narrow channel”
(Time.Between,2, [ti,ti+1])“The time period during which the ship is sailing in the narrow channel”
Spatial topological relation(Topology.Separation,−1,ti)“The ship is outside the narrow channel”
(Topology.Inclusion,1,ti)“The ship is in the narrow channel”
(Topology.Inclusion_starboard,12,ti)“The ship is in the narrow channel on its starboard side”
(Topology.Inclusion_elbow,13,ti)“The ship is driving in the waters of the elbow of the narrow channel”
Semantic relation(Semantic.Avoid_anchoring,1,ti)“Ships avoid anchoring in the narrow channel”
(Semantic.Avoid_crossring,1,ti)“Ships avoid crossing narrow channel”
[ShipA, ShipB]Spatial
relation
(Relative bearing,a,ti)“The bearing relation between ship A and ship B”
(Relative distance,b,ti)“The distance relation between ship A and ship B”
Semantic relation(Semantic.Overtaking_Port,1,ti)“Ship A attempts to overtake the port side of Ship B”
(Semantic.Overtaking_Starboard,2,ti)“Ship A attempts to overtake from the starboard side of Ship B”
(Semantic.Agree_Overtaking,3,ti)“Ship B agrees to ship A overtaking”
[Shipsailing, Shipin]Semantic relation(Semantic.Avoid_impede,1,ti)“Sailing boats should not impede ships that can only navigate safely in the narrow channel”
[ S h i p l 20   m , Shipin](Semantic.Avoid_impede,1,ti)“Ships less than 20 m in length should not impede ships that can only navigate safely in narrow channels”
[Shipfishing, Shipin](Semantic.Avoid_impede,1,ti)“Vessels engaged in fishing shall not impede any vessel navigating safely in the narrow channel”
Table 7. Relational elements of objects in the Narrow Channel clause.
Table 7. Relational elements of objects in the Narrow Channel clause.
ObjectAttribute Elements
(Object.ParameterAttribute)
Attribute Behavior
(Object.BehaviorAttribute)
Shipin{(Location, a, ti),(Location, b, ti+1)}, a ≠ b{dLocation, “move”, [ ti, ti+1]}
{(Velocity, n, ti),(Velocity, m, ti+1)}, m < n{dVelocity, “decelerate”, [ ti, ti+1]}
{(Velocity, n, ti),(Velocity, m, ti+1)}, m > n{dVelocity, “accelerate”, [ ti, ti+1]}
{(Course, c, ti),(Course, d, ti+1)}, c ≠ d{dCourse, “turn course”, [ ti, ti+1]}
Table 8. Ship relational behaviors in the Narrow Channel clause.
Table 8. Ship relational behaviors in the Narrow Channel clause.
ObjectsRelational ElementsRelation Behavior
[Ship, NC]{(Topology,−1, ti), (Topology,1, ti+1) }{dTopology, “sailing in”, [ ti, ti+1]}
{(Topology,1,ti), (Topology,−1,ti+1) }{dTopology, “sailing out”, [ ti, ti+1]}
{(Course_ship,a,ti), (Course_NC,a,ti),
(Course_ship,a−90,ti+1), (Course_NC,a,ti+1)}
{dCourse,“crossing narrow channel”,[ ti, ti+1]}
[ShipA, ShipB]{(Bearing,M,ti), (Bearing,M,ti+1),
(Distance,n,ti), (Distance,m,ti+1)},
If n > m and {dBearing, “keep bearing”, [ti, ti+1]}∩{dDistance, “near”, [ti, ti+1]}, then {dSemantic, “Ship A overtaking Ship B”, [ti, ti+1]}.
Table 9. Behavior of objects in the narrow channel.
Table 9. Behavior of objects in the narrow channel.
ObjectTimeAttribute BehaviorRelational BehaviorCOLREGs-Compliant
(Yes/No)
ship A[t1,t2]“accelerate”
“keep course”
Yes
[t2,t3]“decelerate”
“turn starboard”
No
ship B[t1,t2]“decelerate”
“keep course”
Yes
[t2,t3]“keep velocity = 0
“keep course”
No
[ship A, ship B][t1,t2] “near”
“move to bow”
Yes
[t2,t3] “far away”
“move to stern”
Yes
[ship A, ONC][t1,t2] “sailing in”Yes
[t2,t3] “keep topology = 1”Yes
[ship B, ONC][t1,t2] “keep topology = 1”Yes
[t2,t3] “keep topology = 1”Yes
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zhong, S.; Wen, Y.; Huang, Y.; Cheng, X.; Huang, L. Ontological Ship Behavior Modeling Based on COLREGs for Knowledge Reasoning. J. Mar. Sci. Eng. 2022, 10, 203. https://doi.org/10.3390/jmse10020203

AMA Style

Zhong S, Wen Y, Huang Y, Cheng X, Huang L. Ontological Ship Behavior Modeling Based on COLREGs for Knowledge Reasoning. Journal of Marine Science and Engineering. 2022; 10(2):203. https://doi.org/10.3390/jmse10020203

Chicago/Turabian Style

Zhong, Shubin, Yuanqiao Wen, Yamin Huang, Xiaodong Cheng, and Liang Huang. 2022. "Ontological Ship Behavior Modeling Based on COLREGs for Knowledge Reasoning" Journal of Marine Science and Engineering 10, no. 2: 203. https://doi.org/10.3390/jmse10020203

APA Style

Zhong, S., Wen, Y., Huang, Y., Cheng, X., & Huang, L. (2022). Ontological Ship Behavior Modeling Based on COLREGs for Knowledge Reasoning. Journal of Marine Science and Engineering, 10(2), 203. https://doi.org/10.3390/jmse10020203

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop