<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Automating building regulations conformance checking using a semantic approach - preliminary results</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>M. Bernert</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>F. Ramparany</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>T. Hassan</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>HawAI.tech</institution>
          ,
          <addr-line>7 Rue Antoine Polotti, 38000 Grenoble</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Orange 3 Massifs</institution>
          ,
          <addr-line>22 chemin du Vieux Chêne, 38244 Meylan</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Orange Atalante</institution>
          ,
          <addr-line>2 Av. de Belle Fontaine, 35510 Cesson-Sevigné</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Construction project management has improved in the last decades thanks to the Building Information Modeling paradigm (BIM), whose main principle is to use an exhaustive numerical representation of a building. In this paper, we focus on the application of Semantic Web technologies for checking building conformance to legal regulations. In our case, buildings are modeled using an ontology based RDF graph, and our goal is to check its conformity to accessibility regulations. We use the SHACL semantic data validation language, to perform this automated checking. We selected some relevant regulations to be modeled in SHACL and tested the method on a test building model. We were able to validate this method and and plan to develop a methodology aiming at producing a SHACL model for any kind of regulations. Using our approach makes it possible to check conformance of a building even before the building is constructed or at early stages of its construction, introducing a form of “Accessibility by design”.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;accessibility</kwd>
        <kwd>BIM</kwd>
        <kwd>semantic web</kwd>
        <kwd>OWL</kwd>
        <kwd>RDF</kwd>
        <kwd>SPARQL</kwd>
        <kwd>SHACL</kwd>
        <kwd>Thing'In</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Assessing building conformance to norms and regulation is tedious and prone to error due to the
complexity of law texts or incompleteness of checking process. The assessment process requires
a substantial amount of expertise. The target conformity standard takes the form of synoptic
tables, timetables, global and detailed diagrams. Those documents summarizes the obligations
and procedure: diagnosis, authorizations, certificates, technical inspection, possibilities of
exemptions, etc. It also details the logical order of the chain of travel, the technical prescriptions
to be observed for all types of buildings, including establishments open to the public, public
facilities, collective residential buildings and individual houses.</p>
      <p>The evolution of laws and regulations, requires conformance assessment professionals to
regularly update their expertise. Besides, existing buildings structures and layout might evolve,
to satisfy their occupants needs. Keeping the building respectful of the of current regulation
and laws, is a challenging necessity.</p>
      <p>In this paper we propose to automate this process using the following elements:
• A digital model of the building based on a semantic model
• A logical representation of the conformance regulation
• A Digital Twin (DT) platform called Thing’In providing the above features
• A proof mechanism for checking the conformance of the building to the conformance
regulation
Thus, complying to new regulation will simply amount to modify or add new conformance
rules. Similarly if the building has been reworked, its model and associated conformity checking
service, can easily be reused to check that the building still conforms to the regulation.</p>
      <p>Using our approach makes it possible to check conformance of a building even before the
building is constructed or at early stages of its construction, introducing a form of “Accessibility
by design”. Taking all dimensions of the design space into account early, when an artifact
has proved cost efective in many domains, as it is generally expensive to modify the artifact
afterwards, if a wrong decision has been taken.</p>
    </sec>
    <sec id="sec-2">
      <title>2. State of the Art</title>
      <p>Not much work has addressed the objective described above. In the following, we describe
bodies of work that are related to our topic and have partially addressed our target.</p>
      <p>
        Josefiak and his team have developed the SWOP [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] platform, which is a Semantic Web based
Open Engineering Platform ontology that allows parametric modeling of products rules set,
to model user requirements. According to the latest Description of Work Josefiak recommends
and facilitates a Semantic Product Modelling approach for engineering including the choice of
technologies and tools to be used in SWOP.
      </p>
      <p>The Product Modelling Ontology (PMO) developed by SWOP has suficient power to make
an end-user product ontology for any parametric/configurable product type. This ontology
models the product from a solution perspective (‘what is possible’). The same ontology can
be extended with an end-user rule set representing User Requirements (UR) like fixed single
values, continuous or discrete ranges (logical OR-sense), including enumerations, regarding
all relevant product/component datatype/object properties modelled taking into account their
underlying datatypes/ranges.</p>
      <p>
        Ontologies such as BOT [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and ifcOWL [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and graph based models such as Brick [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and
RealEstateCore [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] have recently been defined that target the building and architectural domain.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], Fahad and Andrieux use SWRL to ensure conformance of digital building models to
rules and standards regulation. They introduce a framework for mapping certification rules over
BIM to enable the compliance checking of the repository through the digital building model.
They introduce an extension of IfcOWL ontology with bSDD vocabulary (i.e., synonyms and
description) as enriched eIfcOWL ontology to deal with the same abstract concepts or physical
objects and compare mvdXML and SWRL technologies for the model instance verification and
conformance checking of Industry Foundation Classes (IFC) models. However they mention
limitations of a pure rule based and attribute restrictions approaches, as they are unable to
handle some types of constraints such as cumulative constraints.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] Greenwood and his team address automated compliance to building regulations. They
review previous research into automated code compliance, identifies the key issues for future
development and examines the causes of information paucity for compliance checking in the
current generation of BIM tools. They conclude with an incentive to accelerate technical
developments in Building Information Modelling (BIM), which ofers the potential for a new
generation of software tools that can automate the checking of compliance with building
codes, thus improving the eficiency of building design and procurement. To attain these
eficiencies designers must change their working practices and move away from the definition
of a building in multiple and disparate documents to a single coherent building model from which
the documentation is generated. Theoretically, this building model could contain suficient
information to respond to interrogation at the level of building code compliance, though in
practice only a percentage of the required information is normally present.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] Sijie Zhang addresses construction safety by applying automated safety rule checking
to Building Information Models (BIM). Algorithms that automatically analyze a building model
to detect safety hazards and suggest preventive measures to users are developed for diferent
cases involving fall related hazards. As BIM is changing the way construction can be approached,
the presented work and case studies extend BIM to include automated hazard identification and
correction during construction planning and in certain cases, during design. A rule-based engine
that utilizes this framework is implemented on top of a commercially available BIM platform
to show the feasibility of the approach. As a result, the developed automated safety checking
platform informs construction engineers and managers by reporting, why, where, when, and
what safety measures are needed for preventing fall-related accidents before construction starts.
The safety area reviewed is fall protection. An example case study of such a system is also
provided.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], Chi Zhang and his group report on a prototypical implementation of a model view
checker for model instance validation of Industry Foundation Classes (IFC) models. This checker
is developed based on the open standards mvdXML as the format for structuring validation rules
and the BIM Collaboration Format (BCF) to issue reports as a result of the checking process.
The checker is implemented on top of the open source bimserver.org framework. The research
presented here has two main aims: (1) to develop an open source IFC validation tool based on
lfexible and standardized method; (2) to identify issues and capabilities of the current mvdXML
rules based on real-world scenarios and to develop stable and easy-to-use IFC validation methods
using open standards. Two BIM operational standards required by local building regulations and
laws, the Dutch Rgd BIM Norm, and the Norwegian Statsbygg BIM Manual are used to validate
both the mvdXML standards capabilities and the tools implementation. The rules from these
standards are categorized into diferent rule types and converted to mvdXML templates and
rules. These rules are then tested using a prototypical, open source software tool. By combining
this tool with a BCF server they demonstrate the deployment of such automated checking
procedures in real working processes. Based on these experiences, a detailed discussion about
identified issues is provided as the starting point for the future research and a feedback to
standardization organizations. Similarly to Fahad [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] they advocate for exploring models and
languages which expressiveness go beyond that of mvdWML and rules’s ones.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Werbrouck and al. report a first attempt to apply SHACL with a checking approach
for distributed building data. Currently, the BIM focus lies on file-based collaboration, although
with the rise of semantic web technologies, the benefits of web- and data-based collaboration for
the Architecture, Engineering and Construction (AEC) industry come within reach. A web-based
AEC industry that relies on Linked Data can provide various advantages compared to ‘classic’
BIM practice, e.g. regarding interdisciplinarity, linking across domains and logical reasoning. In
their paper, they investigate Linked Data rule checking mechanisms on decentralized building
datasets. The Semantic Web standard Shapes Constraint Language (SHACL) is used to check a
Linked Data building model that is hosted on multiple data pods. The Social Linked Data (Solid)
ecosystem is used as set of conventions and tools for creating decentralized applications.
      </p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] Fierro and al. introduce the notion of “semantic suficiency” as a practical principle
for metadata model creation that ensures that the model contains the necessary information to
support a given set of applications. Their use of SHACL has proven to be an eficient approach
when formalizing and automating architectural constraints and technical requirements for
supporting smart building applications.
      </p>
      <p>From our first analysis of the works reported above, a common ground is to use Building
Information Modelling (BIM) as a baseline. Since the early 2000s, the building industry has been
steadily embracing the concept of BIM. Although Werbrouck and his team have successfully
used SHACL to ensure a seamless modeling of a building over distributed pods, we believe that
SHACL can also beneficially be used to overcome the limitations of tools such as mvdXML and
rule based systems for automated building legalx regulations checking.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Use Case</title>
      <p>We have defined a small 3 storeys building, which plan is displayed on figure 1. Our building is
ifctional but representative of a real one. Our motivation is to keep it simple enough to be used
as a pedagogical tool that we will use to illustrate our solution.</p>
      <p>The main entrance of the building is located at the ground floor. When entering the building
you have on your left two staircases leading to the upper floors and an elevator in between. On
the same floor you have a meeting room on the left. On the first floor you have two EAS on the
right and the restrooms on the left. When arriving at the second floor from the stairs, you find
the cafetaria in front and a third EAS on the left corner.</p>
      <p>The traditional way of checking the building conformance to accessibility regulation is to
request the assistance of a specialized agency. This agency will send an expert which will visit
and carefully examine the building, to make sure that its infrastructure, facilities and equipments
satisfy the rule in force in the building accessibility regulation.</p>
      <p>In figure 4, we show such a rule (for now, just ignore the annotations made on the document,
we will come to them later in section 5.3). In contrast to the simplicity of the building described
above, here we have decided to choose one complex description. Our motivation is that if we
are able to support a complex description we can handle simpler ones: as one says “who can do
more can do less”</p>
      <p>The description we have selected is drawn from a self-diagnostic tool called OCARA 1. OCARA
connects to a web server which makes available the content used for audits in the form of
benchmarks. A benchmark group together a set of questionnaires which present and control
the rules that apply to a given building object (parking spaces, paths, barriers, inclined plane,
intercoms, room, door, etc). With OCARA, the expert is guided through the diferent steps to
follow to carry out an audit. The expert enters the route to be audited as an ordered list of
building object to be checked. Each object encountered in during the route can be evaluated
immediately or recorded to be evaluated later.</p>
      <p>As a result of an audit, the expert has to fill an audit report which summarizes the obstacles
encountered by type of disability and to provide an accessibility score. She/He has also to specify
which accessibility faults she/he has encountered. With OCARA the expert can illustrate or
comment his finding with texts, photos or audio recording.</p>
      <p>
        In the following we explain how the diferent building objects mentioned above can be
formally described, using Building Information Models (BIM) and stored as a graph in the
Thing’In [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] semantically enhanced graph database. As introduced earlier, such models will
make it possible to automate the checking process.
1OCARA is an in-house mobile application which inventories buildings accessibility and security rules. OCARA
helps audit oficers to check building conformance in-situ.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Requirements</title>
      <p>
        Thing’in [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] is a DT platform developed by Orange, that we have used to instantiate the
model of the building. This model contains the structural and semantic description the building
introduced in section 3. This description is based on a graph, similar to a social network, whose
nodes are, in place of people, objects (not necessarily connected), physical entities and systems
of all kinds that make up these environments. Thing’in makes it possible for diferent and
so-far-vertically-integrated IoT applications in these environments to locate and share their
data sources on the basis of the information stored in the Thing’in graph, much as a search
engine does for the Web. Thing’in is based on a high-level information model (NGSI-LD 2, now
standardized by ETSI 3), geared to its comprehensive value-added property graph store, but
supports import and export of open data in standard “linked data” formats.
      </p>
      <p>One particular policy that Thing’In adopts is to ensure that the nodes and relations contained
in its graph database comply to well defined ontologies.</p>
      <p>As prescribed by cognitive engineering methodologies and good practices, we have looked
up existing ontologies that cover our universe of discourse, i.e. the scope of concepts and issues
that we need to model in our application. They include the following ontologies: IoTA 4 to
model IoT devices and data measurements, SAREF 5 to model Smart appliances, DogOnt 6 and
IFC 7.</p>
      <p>We indirectly use some higher level ontologies such as the time ontology 8 and the WGS84
(positioning and geolocation) ontology 9, because they are themselves imported by the IoTA
and SAREF ontologies.</p>
      <p>Figure 2 displays the Thing’In knowledge graph which models the building introduced in
section 3. Nodes of the graph represent components of the building. For example the node
under focus on the right of the figure is a door and is an instance of the class “Door”. Each
node of the graph is an instance of one class defined in the ontology. The classes required to
represent the entire building are listed in the left legend box.</p>
      <p>In order to discover more about the semantic of that door, we have to navigate around the
neighbourhood of the node in the knowledge graph. By clicking on the node we can focus on
its immediate vinicity and find out that this door gives access to “Room1” as shown in figure 3.
This information is modeled as a link labeled “leadsTo” between the node representing the door
and the node representing the door. The list of available link labels is given at the bottom of the
left legend box in figure 2.</p>
      <p>Such semantic modeling of the building makes it possible to apply other semantic web
technologies such as SHACL, as will be shown in the following.
2NGSI-LD: https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.04.01_60/gs_cim009v010401p.pdf
3ETSI: https://www.etsi.org
4https://github.com/supdey/IoTA-ontologies
5https://saref.etsi.org/
6http://iot-ontologies.github.io/dogont/
7https://technical.buildingsmart.org/standards/ifc/ifc-formats/ifcowl/
8https://www.w3.org/TR/owl-time/
9https://www.w3.org/2003/01/geo/</p>
    </sec>
    <sec id="sec-5">
      <title>5. Our Solution</title>
      <p>We now describe our solution. As concluded in the state of the art section 2 we will define
SHACL shapes for each of the chosen regulations, in order to check if the building model has
the desired properties. To be able to assert some accessibility properties about the building. We
thus added some accessibility modeling elements to our building ontology. We also introduce
inference rules to infer implicit accessibility properties. The following paragraph describes
these three elements of our implementation</p>
      <sec id="sec-5-1">
        <title>5.1. Accessibility Ontology</title>
        <p>Our accessibility ontology contains the elements described in table 1. This ontology
introduces a class EAS for secured waiting areas (in French: “Espace d’Attente Sécurisé”),
a class Service and a class ServiceType representing service type. The
DataProperties introduced allow to set the accomodation capacity of a room, a storey or a building,
and to assert that an element is compliant with accessibility regulation. It also introduce
the concept of service in a wide sense and in particular services provided in buildings.</p>
        <p>Classes
EAS
Service
BuildingService
ObjectProperties
essentialService
provideService
provideAccessibleService
accessibleWayTo
accessibleEvacuationTo
DataProperties
storeyCapacity
roomCapacity
roomAccessibility
doorAccessibility</p>
        <p>Subclass of
Room
Service
SubPropertyOf
provideService
accessibleWayTo
SubPropertyOf</p>
        <p>Comments
Secured Waiting Area (Espace d’Attente Sécurisé)
Domain
Building
Room or Door
Room or Door
Domain
Storey
Room
Room
Door</p>
        <p>Range
Service
Service
Service
Room or Door
Room or Door
Range
integer
integer
boolean
boolean</p>
        <p>OWL types
Symmetric, Transitive
Symmetric, Transitive
OWL types
Functional
Functional
Functional
Functional
The data properties allows to assert that a building should provide some essential service
(essentialService), actually provides a service (provideService), and provides a service
in an accessible manner (provideAccessibleService). The properties accessibleWayTo
and accessibleEvacuationTo allows to assert that a disabled person is able move from
one place to another. The diference is that elevators are not allowed for evacuation. These
properties are not given in the model and should be inferred by some reasoning. The data
properties storeyCapacity and roomCapacity allows to assert the accommodation capacity
of a storey or a room. The data properties roomAccessibility and doorAccessibility
allow to assert that a room or a door is accessible according to the corresponding regulations
(these properties are given in our test case).</p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Inference Rules</title>
        <p>There are several properties that we want to infer from the given building model, before
checking conformance using SHACL shapes. They should reassure with respect to the following
questions:
• Is it possible for a disabled person to move from one room to another room?
• Is it possible for a disabled person to move from one room to another room in evacuation
condition?
• It is possible for a disabled person to use the essential services of the building, taking into
account the path to access the service?</p>
        <p>As it is not possible to answer these questions using OWL reasoning, we added some inference
rules to the ontology. Three rules were defined for each of these questions. First, we know
which rooms connect each door thanks to the leadsTo property. If a door leads to a room and
both the room and the door are accessible, we consider that there is an accessibleEvacuationTo
relation between the door and the room. The inverse (evacuation from the room to the door)
can be inferred as the property is symmetric. Evacuation between distant rooms and doors can
then be inferred thanks to the transitivity of the property. The AccessibleEvacuation rule can
thus be written as follows:
leadsTo(?d,?r) AND roomAccessibility(?r,true) AND doorAccessibility(?d, true) THEN
accessibleEvacuationTo(?d,?r)</p>
        <p>accessibleEvacuationTo is a sub-property of accessibleWayTo. Indeed, when a disabled person
can evacuate from one place to another, it can also use the same path when not in evacuating.
Additionally, it is possible to use elevators. We consider that there is an accessible path between
two elevator shafts if they contains the same elevator and if the elevator is accessible. All
accessible paths can then be inferred by transitivity. We thus write the Accessible Way rule as
follows:</p>
        <p>Elevator(?elev) AND ElevatorShaft(?shaft1) AND ElevatorShaft(?shaft2) AND
roomAccessibility(?elev,true) AND contains(?shaft1,?elev) AND contains(?shaft2,?elev) THEN
accessibleWayTo(?shaft1,?shaft2)</p>
        <p>Finally we consider that a building provide an accessible service if it contains at least one
room which provides the service in an accessible manner. The room should be accessible from
at least one entrance. This Accessible Service rule can be written as the following inference
rule:</p>
        <p>Building(?b) AND room(?r) AND Storey(?st) AND Service(?s) AND Entrance(?e) AND
provideAccessibleService(?r, ?s) AND contains(?b,?st) AND contains(?st,?e) AND accessibleWayTo(?e,?r)
THEN provideAccessibleService(?b,?s)</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. SHACL Shapes</title>
        <p>
          In order to define SHACL shapes proceeded with a knowledge elicitation phase where we have
analyzed the regulations documents using a technique called “protocol analysis” [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. In a
nutshell, this technique consists of annotating the document with labels that defines types of
information such as type of constraints, on which these constraints should be applied. Those
labels are assigned to words in the documents which are semantically related to these classes or
constraints. A typical result of this technique is displayed in figure 4. On this figure tokens or
paragraphs in the text have been tagged as “classes”, “properties” or “constraints”, and relations
have been drawn between tokens which are involved in the same constraint.
        </p>
        <p>This analysis provides a structured way to identify the constraints that will be formulated as
SHACL shapes, and components such as the type of the target node as well as its relations with
neighbor nodes that will be involved in the shape. These elements are detailed in paragraph 5.4.</p>
      </sec>
      <sec id="sec-5-4">
        <title>5.4. SHACL Concepts and Principles</title>
        <p>SHACL shapes are designed to check if an RDF data satisfies some constraints. They can thus
be used for our conformance checking problem. We implemented several shapes for each of the
regulation item to be checked. Three such items are: The number of Secured Waiting Areas, the
secured Waiting Areas’Capacity and the service accessibility. Due to space constraint, we will
detail only the second item (Secured Waiting Areas’Capacity) here.</p>
        <p>We defined the following SHACL Shapes to check the capacity of secured waiting areas:
ex:EasCapacity
a sh:NodeShape ;
sh:targetClass access:EAS ;
sh:property [</p>
        <p>Its first constraint simply ensure that the storey capacity is known. The second constraint is
a SPARQL constraint. The SPARQL request retrieve the capacity of the storey and the capacities
of all secured waiting areas contained in this storey. The GROUP BY and HAVING commands
allows to compute the sum of the secured waiting areas capacities and filter out the storeys
having the desired property. If the request return a non-empty result, the shape raise an error.</p>
      </sec>
      <sec id="sec-5-5">
        <title>5.5. Prototype Implementation</title>
        <p>To test our automated conformance checking method, we focus on French accessibility
regulations. We selected some rules about emergency evacuation and essential service accessibility,
which are rules that involve the global structure of the building and are thus not trivial to check.
These global rules requires to check some local accessibility conformance, such as if a door or a
room is accessible to a disable person. Here we simply assume that information about these
local accessibility is given. The checking of these local accessibility conformance could be also
automatically checked in a future work, or left to a human expert.</p>
        <p>The rules we selected for automated conformance checking are the following : — Secured
waiting area number : each level of a building should have a minimal number of secured waiting
area. If the level has an accessible access to the outdoor, no secured waiting area is required.
Otherwise, if the level is such that only one stair is required for evacuation, one secured waiting
area is required. Otherwise two secured waiting area are required. — Secured waiting area
capacity : The minimal capacity of a secured waiting area depends on the level accommodation
capacity. This minimal capacity is 2 when the level capacity is less than 50. It is increased by
one for each additional slot of 50 people in the level capacity. — Service accessibility : A building
is intended to provided some essential service. These service should be accessible for disabled
people. In particular, toilets should be accessible.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Results</title>
      <p>Our conformance-checking process using OWL, SWRL, and SHACL, was tested using both
the Protégé software [14] and the Thing’In platform. Protégé provides a graphical interface to
explore ontologies and RDF data. It also provide some OWL reasoners and plugins to handle
SWRL rules and SHACL shapes. Using the method described in section 3.4, we were able to
validate that the test building conforms to the regulations, and that the expected violations arise
when it is modified in a certain way. Three diferent OWL reasoners were tested: Fact++, HermiT
and Pellet. Pellet was the only reasoner able to infer all necessary information, combining OWL
axioms and SWRL rules. We found that experimenting with Protégé is a convenient preliminary
approach to test and compare diferent tools.</p>
      <p>For a more streamline and industrial deployement of the process, we migrate the Protégé
project to the Thing’In platform. Although Thing’In provides less semantic web tools, it provides
the ones we needed and we could benefit from additional functions such as rich visualisation
interfaces which enables a userfriendly navigation throughout knowledge graphs.</p>
      <p>
        To our knowledge our approach is the first building compliance checking method using
exclusively standard semantic web technologies. Some other works such as Werbrouck et
al. [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and Fierro and al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] also used SHACL but not for regulation compliance checking
purpose.
      </p>
      <p>Modeling a few regulations gave us some methodology elements to model more rules. Building
regulations often state that an object in some context should satisfy some constraints. Our
method to model such a rule was to implement an intermediate shape for the context in which
the rule apply, and an intermediate shape for the constraints that have to be satisfied. We then
implemented a validating shape, targeting the above-mentioned object, and declaring that if the
focus node satisfies the context shape it should also satisfy the constraint shape.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Discussion and Conclusion</title>
      <p>So far our preliminary results are promising. However, future work has to be done to define a
precise methodology, able to handle diferent kind of regulations, such as regulations involving
numerical computations. It could also be interesting to implement a tool to assist non-SHACL
experts in modeling regulations. Another weak point of this conformance-checking process is
that it involves three diferent technologies. This causes some reasoners to fail to validate the
data. It is also more dificult to define a clear method to create rules when diferent languages
are combined. We plan to investigate the possibility to unify the rules modeling in a single
language, which would improve the quality of the method.</p>
      <p>Finally, it would be interesting to test the performance of this method on more realistic
building models. For comparison, the model for the Orange building in Meylan, which can be
found in Thing’In, contains about 6000 elements, amongst which about 800 rooms. Our test
building contains only 40 elements and 17 rooms.</p>
      <p>Wilson, S. Sharples (Eds.), Evaluation of Human Work, CRC Press, 2015, pp. 163–200. URL:
https://eprints.soton.ac.uk/359638/.
[14] M. A. Musen, The protégé project: a look back and a look forward, AI Matters 1 (2015)
4–12. URL: https://doi.org/10.1145/2757001.2757003. doi:10.1145/2757001.2757003.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>Josefiak</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Böhms</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bonsma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bourdeau</surname>
          </string-name>
          ,
          <article-title>Semantic product modelling with SWOP's PMO,</article-title>
          <year>2008</year>
          , pp.
          <fpage>95</fpage>
          -
          <lpage>104</lpage>
          . doi:
          <volume>10</volume>
          .1201/9780203883327.ch11.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>M. H.</given-names>
            <surname>Rasmussen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lefrançois</surname>
          </string-name>
          , G. Schneider,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pauwels</surname>
          </string-name>
          ,
          <article-title>Bot: the building topology ontology of the w3c linked building data group</article-title>
          , Semantic
          <string-name>
            <surname>Web</surname>
          </string-name>
          (
          <year>2020</year>
          ). doi:
          <volume>10</volume>
          .3233/ SW-200385.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>P.</given-names>
            <surname>Pauwels</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Krijnen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Terkaj</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Beetz</surname>
          </string-name>
          ,
          <article-title>Enhancing the ifcowl ontology with an alternative representation for geometric data</article-title>
          ,
          <source>Automation in Construction</source>
          <volume>80</volume>
          (
          <year>2017</year>
          )
          <fpage>77</fpage>
          -
          <lpage>94</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>B.</given-names>
            <surname>Balaji</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bhattacharya</surname>
          </string-name>
          , G. Fierro,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gluck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hong</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Johansen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Koh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Ploennigs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Agarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Berges</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Culler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. B.</given-names>
            <surname>Kjaergaard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Srivastava</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Whitehouse</surname>
          </string-name>
          , Brick:
          <article-title>Towards a unified metadata schema for buildings</article-title>
          ,
          <source>in: Proceedings of the 3rd ACM International Conference on Systems for Energy-Eficient Built Environments</source>
          , BuildSys '16,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2016</year>
          , p.
          <fpage>41</fpage>
          -
          <lpage>50</lpage>
          . URL: https://doi.org/10.1145/2993422.2993577. doi:
          <volume>10</volume>
          .1145/2993422.2993577.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Hammar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. O.</given-names>
            <surname>Wallin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Karlberg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Hälleberg</surname>
          </string-name>
          ,
          <article-title>The realestatecore ontology</article-title>
          , in: C.
          <string-name>
            <surname>Ghidini</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          <string-name>
            <surname>Hartig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Maleshkova</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          <string-name>
            <surname>Svátek</surname>
            ,
            <given-names>I. Cruz</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hogan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Song</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lefrançois</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Gandon</surname>
          </string-name>
          (Eds.),
          <source>The Semantic Web - ISWC 2019</source>
          , Springer International Publishing, Cham,
          <year>2019</year>
          , pp.
          <fpage>130</fpage>
          -
          <lpage>145</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Fahad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Andrieux</surname>
          </string-name>
          ,
          <article-title>Towards mapping certification rules over bim (</article-title>
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>D.</given-names>
            <surname>Greenwood</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lockley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Malsane</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Matthews</surname>
          </string-name>
          ,
          <article-title>Automated compliance checking using building information models</article-title>
          ,
          <source>COBRA 2010 - Construction, Building and Real Estate Research Conference of the Royal Institution of Chartered Surveyors</source>
          (
          <year>2010</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Teizer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Eastman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Venugopal</surname>
          </string-name>
          ,
          <article-title>Building information modeling (bim) and safety: Automatic safety checking of construction models and schedules</article-title>
          ,
          <source>Automation in Construction</source>
          <volume>29</volume>
          (
          <year>2013</year>
          )
          <fpage>183</fpage>
          -
          <lpage>195</lpage>
          . URL: http://www.sciencedirect.com/science/article/ pii/S0926580512000799. doi:https://doi.org/10.1016/j.autcon.
          <year>2012</year>
          .
          <volume>05</volume>
          .006.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J. Beetz,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weise</surname>
          </string-name>
          ,
          <article-title>Interoperable validation for ifc building models using open standards</article-title>
          ,
          <source>Electronic Journal of Information Technology in Construction 20, Special issue ECPPM 2014 - 10th European Conference on Product and Process Modelling</source>
          (
          <year>2015</year>
          )
          <fpage>24</fpage>
          -
          <lpage>39</lpage>
          . Https://www.itcon.org/
          <year>2015</year>
          /2.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>J.</given-names>
            <surname>Werbrouck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Senthilvel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Beetz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pauwels</surname>
          </string-name>
          ,
          <article-title>A checking approach for distributed building data</article-title>
          ,
          <source>in: Proceedings of the 31. Forum Bauinformatik</source>
          , Berlin,
          <year>2019</year>
          , pp.
          <fpage>173</fpage>
          -
          <lpage>181</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>G.</given-names>
            <surname>Fierro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Saha</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Shapinsky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Steen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Eslinger</surname>
          </string-name>
          ,
          <article-title>Application-driven creation of building metadata models with semantic suficiency</article-title>
          ,
          <source>in: Proceedings of the 9th ACM International Conference on Systems for Energy-Eficient Buildings</source>
          , Cities, and Transportation, BuildSys '22,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2022</year>
          , p.
          <fpage>228</fpage>
          -
          <lpage>237</lpage>
          . URL: https://doi.org/10.1145/3563357.3564083. doi:
          <volume>10</volume>
          .1145/3563357.3564083.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <article-title>"https://hellofuture.orange.com/fr/thingin-la-plateforme-du-graphe-des-</article-title>
          <source>objets/"</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>N.</given-names>
            <surname>Shadbolt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. R.</given-names>
            <surname>Smart</surname>
          </string-name>
          ,
          <article-title>Knowledge elicitation: Methods, tools and techniques</article-title>
          , in: J. R.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>