<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">EA-to-RDF: Pain-Free integration of RDF and UML ⋆</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Bob</forename><surname>Janssen</surname></persName>
							<email>bob.janssen@yahoo.com</email>
							<affiliation key="aff0">
								<orgName type="department" key="dep1">Joint Informatievoorziening Commando</orgName>
								<orgName type="department" key="dep2">Ministry of Defense</orgName>
								<address>
									<country key="NL">Netherlands</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Ghislain</forename><surname>Atemezing</surname></persName>
							<email>ghislain.atemezing@era.europa.eu</email>
							<affiliation key="aff1">
								<orgName type="institution">ERA -European Union Agency for Railways</orgName>
								<address>
									<addrLine>120 Rue Marc Lefrancq</addrLine>
									<postCode>59307</postCode>
									<settlement>Valenciennes</settlement>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">EA-to-RDF: Pain-Free integration of RDF and UML ⋆</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">1AA26CD7CCE031D051FD56B6B95E7B24</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T18:47+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>UML diagrams</term>
					<term>RDF</term>
					<term>OWL</term>
					<term>Ontology</term>
					<term>Enterprise Architect</term>
					<term>Model Based Systems Engineering</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>This article presents an addon to the popular Enterprise Architect (EA) tool that lets modellers import existing ontologies into EA as classes and export class models to ontologies. The addon implements the SEMIC guidelines that standardise the UML-RDF mapping. The tool has been tested against some large UML diagrams from the railway domain and the generated outputs (RDF and UML) demonstrate the usefulness of EA-RDF both from UML experts and ontology developers. This approach bridges the gap between ontologies and IT engineering in UML; modellers at ease in UML but unfamiliar with triples can now easily access existing ontologies and publish their models as triples.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Engineers and ontologists share a desire to capture knowledge of systems. Engineers prefer graphic schemata whilst ontologists prefer language tooling. The common goal remains the need to precisely model systems. Whether it is a technical control-and-command system or a socio-economic system, modellers apply the divide-and-conquer approach to identify the components and subcomponents that form the system and how they relate.</p><p>Information technologists, better known under the acronym IT-engineers, use the Unified Modelling Language (UML) <ref type="bibr" target="#b0">[1]</ref>, and in particular class models, to capture system information. The UML is a rich graphical language that lets engineers sketch diagrams showing concepts and how they connect. Ontologists are more philosophically and linguistically inclined but in essence do the same when they identify concepts and how they relate in subject-predicate-object phrases.</p><p>Good IT design separates problem and solution. Early design in particular should avert technical products that may solve a problem. This is important because IT design all to often is burdened with legacy technologies that hinder sound conceptualisation. Instead, IT engineering should exert intellectual rigour by eliciting use cases, and then codifying the discipline's jargon in terms of UML class diagrams before tying themselves to a given technology. Introducing technological platforms or "code smell" into a model is considered poor practice because technologies come and go whereas concepts last.</p><p>UML class diagrams are designed to capture concepts and by this virtue are a favorite tool with both IT engineers and ontologists. This raises the question how information can cross more easily from UML to triples and back. IT engineers have much to win from reusing the knowledge that is readily available in published ontology. And vice versa, knowledge engineers can raise interest in ontologies with IT engineers. The SEMIC work group published a standard for mapping a small subset of UML constructs to triples and back. We show in this paper how this mapping contributed to tooling and a workflow for the widely used UML tool Enterprise Architect (EA). Section 2 of this paper presents existing approaches, section 3 presents the main functionalities of the tool.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Related Work</head><p>Some approaches have been proposed in recent years to bridge the gap between UML modeling and OWL ontologies. The work presented in <ref type="bibr" target="#b1">[2]</ref> is an early attempt to generat OWL from UML models. The approach used XMI corresponding to Ontology UML Profile (OUP) into OWL description. Unfortunately, it was not possible to access and assess the tool.</p><p>Another approach by Chavez-Feria and al., <ref type="bibr" target="#b2">[3]</ref> proposed Chowlk, a framework to transform digital ontology conceptualisation diagrams into OWL. Chowlk proposed a different UML-based visual notation and templates based on diagrams.net, which is not necessary in our proposal. Finally, the OSLO project <ref type="bibr" target="#b3">[4]</ref> boosted the next generation of formal mappings of UML to OWL.</p><p>The OMG ontology workgroup, having identified the need for converting UML to RDF, created the Ontology Definition Metamodel (ODM) <ref type="bibr" target="#b4">[5]</ref>. The ODM is included in EA so modellers wishing to publish an ontology apply ODM stereotypes to classes and relations. But the need to apply stereotypes expresses the intent to publish RDF from the outset which may not be given when modellers wish to steer clear of any "platform" whether it be XSD, Json, Object Oriented code, or RDF.</p><p>The SEMIC guidelines <ref type="bibr" target="#b5">[6]</ref> (mostly) ignore stereotypes and apply to a subset of UML class models. This Platform Independent Model (PIM) approach expresses the intent that a good model should be like a stem cell that is pluripotent and later develops into Platform Specific Model (PSM) whence into even more specific computer code.</p><p>The SEMIC workgroup also produced a tool based on XSLT that turns a class model, expressed in XMI, into RDF. Whilst this is tool-independent, XSLT is not particularly user friendly. The present addOn for EA was developed to be user friendly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">EA-RDF Functionalities</head><p>In this section, we describe how to go from RDF to UML and vice versa.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">RDF to UML</head><p>Published ontologies are potent stores of domain knowledge. In day-to-day life, most IT engineers reinvent the wheel or at best take inspiration from ontologies when designing class diagrams because they're tasked to build an application on a given platform. This defies the Interoperability and Reusability goals in the FAIR acronym. This motivated the capability of importing published ontologies into EA. An IT engineer can climb on the shoulders of giants by importing ontologies into UML classes. The import retains important information including definitions, the URI's and relations. The tool comes with a set of preloaded wellknown ontologies such as foaf, DCAT, SKOS and many more. Alternatively, the user can import published ontologies straight from existing catalogs such as Linked Open Vocabulary (LOV) or any resource from the web. The modeller can then tailor the imports by specialising classes, adding relations and new classes. This prevents modellers from toiling away in isolation and by design create incompatibilities for which costly and fragile adaptors need to be built as an afterthought. Short, importing ontologies as ready-made UML class models gives Model Base System Engineers a sound foundation and blueprints on which to build models for their domain.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">UML to RDF</head><p>The SEMIC style guide reference <ref type="bibr" target="#b5">[6]</ref> lists rules for mapping classes, data types, connectors, arities and annotations to RDF concepts, properties and SHACL shapes. UML constructs not in the mapping rules are ignored.</p><p>URI's are essential to triples so the UML model must provide the ingredients for constructing URI's. This is commonly achieved by applying tags named "uri" to UML elements or "base-uri" to packages. This closely mimicks the SEMIC approach and dispenses of the need for a separate configuration file. A subject, predicate or object node will inherit the URI from the tag of the original UML element or, lacking a tag, of the package where it was found. The tool issues a warning or error when no URI could be constructed.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Publishing your model to the Web</head><p>A model that is published on the web is FAIR: Findable -Accessible -Interoperable and Reusable. EA out-of-the-box can produce a HTML view of a UML model. The addon adds a new landing page that lists the produced RDF-triples. This HTML is readily exposed on a web server in such a way that the produced URI's have a target on the the web. Users can browse context information because the triples are backed by published UML diagrams. Extra context reduces entry barriers, accelerates learning curves and reduces development effort. The landing page includes an index that helps users discover concepts defined in the model. This creates a continuum where one can navigate between triples and published UML. This compares favourably to a classic situation where users chase data, context and documentation locked away in various silos.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusions and future work</head><p>This paper presents a tool for automatic generation of RDF from UML class models and viceversa, packaged as an add-on for Enterprise Architect, a popular UML modelling tool. The tool implements the SEMIC mapping rules. We will perform a quantitative evaluation of the tool by both UML modellers and ontologists to compare the tool with existing approaches.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: This class diagram exemplifies reuse of imported ontologies, the W3C person ontology and the Dutch land registry's top10nl ontology that defines topographic features. The diagram closes the gap between IT-and domain expert by mixing a figure with explanations.</figDesc><graphic coords="2,89.29,191.00,416.70,301.20" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Screenshot of a diagram showing a selection of classes imported from an ontology defined by the European Railway Agency (ERA). A user typically creates such a view to represent a domain of interest and then enriches the original model, e.g. by adding methods as shown by the blue square in the Vehicle class, or by specialising classes to meet specific requirements.</figDesc><graphic coords="4,89.29,87.18,416.70,266.52" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure 3: During the transformation process a table displays the produced triples. A click on a triple highlights the associated element, in this case the MilitaryPoliceOfficer class. The right-most column links to the SEMIC rule that governed the creation of this triple. This helps understanding and verifying the transformation process.</figDesc><graphic coords="5,89.29,87.18,416.69,105.13" type="bitmap" /></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Omg unified modeling language (omg uml), superstructure</title>
		<author>
			<persName><forename type="first">O</forename><forename type="middle">A</forename><surname>Specification</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Object Management Group</title>
		<imprint>
			<biblScope unit="volume">70</biblScope>
			<biblScope unit="issue">1</biblScope>
			<biblScope unit="page">16</biblScope>
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Converting uml to owl ontologies</title>
		<author>
			<persName><forename type="first">D</forename><surname>Gasevic</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Djuric</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Devedzic</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Damjanovi</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 13th international World Wide Web conference on Alternate track papers &amp; posters</title>
				<meeting>the 13th international World Wide Web conference on Alternate track papers &amp; posters</meeting>
		<imprint>
			<date type="published" when="2004">2004</date>
			<biblScope unit="page" from="488" to="489" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">Converting uml-based ontology conceptualizations to owl with chowlk</title>
		<author>
			<persName><forename type="first">S</forename><surname>Chávez-Feria</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>García-Castro</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Poveda-Villalón</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web: ESWC 2021 Satellite Events</title>
				<meeting><address><addrLine>Cham</addrLine></address></meeting>
		<imprint>
			<publisher>Springer International Publishing</publisher>
			<date type="published" when="2021">2021</date>
			<biblScope unit="page" from="44" to="48" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Automated uml-based ontology generation in oslo2</title>
		<author>
			<persName><forename type="first">D</forename><surname>De Paepe</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Thijs</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Buyle</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Verborgh</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Mannens</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">The Semantic Web: ESWC 2017 Satellite Events</title>
				<editor>
			<persName><forename type="first">E</forename><surname>Blomqvist</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">K</forename><surname>Hose</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">H</forename><surname>Paulheim</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">A</forename><surname>Ławrynowicz</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">F</forename><surname>Ciravegna</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">O</forename><surname>Hartig</surname></persName>
		</editor>
		<meeting><address><addrLine>Cham</addrLine></address></meeting>
		<imprint>
			<publisher>Springer International Publishing</publisher>
			<date type="published" when="2017">2017</date>
			<biblScope unit="page" from="93" to="97" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<title level="m" type="main">Ontology definition metamodel</title>
		<author>
			<persName><forename type="first">O</forename><forename type="middle">M</forename><surname>Group</surname></persName>
		</author>
		<ptr target="https://www.omg.org/spec/ODM/1.1/PDF" />
		<imprint>
			<date type="published" when="2014">2014</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">E</forename><surname>Costetchi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><forename type="middle">V</forename><surname>Nuffelen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Nyulas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Stani</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A.-N</forename><surname>Pasare</surname></persName>
		</author>
		<ptr target="1.0.0" />
		<title level="m">Semic style guide -technical guidelines</title>
				<imprint>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
