<!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>A method for converting IFC geometric data into GeoSPARQL</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Joseph O'Donovan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Declan O'Sullivan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kris McGlinn</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ADAPT, Trinity College Dublin</institution>
          ,
          <addr-line>Dublin 2</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
      </contrib-group>
      <fpage>7</fpage>
      <lpage>20</lpage>
      <abstract>
        <p>Geographic Information System (GIS) can provide important contextual information relevant to buildings design, such as related to ooding, orientation, and even construction materials. Currently there is a disconnect between 2D GIS and 3D Building Information Modelling (BIM), as both tend to work from di erent geometric representations and coordinate systems hindering seamless integration of these representations. This paper presents a method for converting Industry Foundation Classes (IFC) geometries expressed in ifcOWL with additional GeoSPARQL, based upon the IFC de ned geolocation, focusing on walls. The goal is to align these geometries with their GIS equivalents, so that an existing IFC model can be overlaid with GIS, or vice versa, allowing for the seamless movement between the geometries in either domain. This also makes possible the tagging of all BIM geometries with geolocation. To support the publication of this data, the paper also presents an export of the resulting GeoSPARQL aligned with the developing standard the Building Topology Ontology (BOT), thus enabling the linking of multiple geometric representations to a less verbose building reference model. A short evaluation of the performance of the algorithm for conversion is also presented as well as a test case to examine alignment of BIM with geospatial geometric representations.</p>
      </abstract>
      <kwd-group>
        <kwd>Linked Data Industry Foundation Classes GeoSPARQL</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        E ective management of smart buildings and cities requires building data that
is structured, accessible and reliable [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Building Information Modelling (BIM)
is the primary method of providing such building data, representing the physical
and functional characteristics of a building in a 3D model. It is di cult, however,
to describe BIM models in their overall geospatial context. This could result in
important external environmental information being overlooked. Graphical
Information Systems (GIS) [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] provide models of the environment and enable 2D
spatial analyses of these areas. The integration of BIM and GIS can provide
bene ts in reducing redundant modelling and enabling data ows in both
directions, supporting new applications related to the design and operation of smart
environments [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>
        The combination of BIM and Linked Data (LD) [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] has the potential to meet
the requirements for storing, sharing and interlinking BIM with other Linked
Data resources on the web described using the Resource Description Framework
(RDF), such as geospatial data [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. It remains the case that use of di erent
geometric representations and coordinate systems in 2D GIS and 3D BIM leads
to di culties in moving between these representations. The disconnect between
the two representations make it a challenge to relate a 2D GIS building with its
corresponding 3D BIM model. There is as yet no standard process in place to
convert a Cartesian coordinate IFC entity to GIS. New methods of carrying out
this conversion process are required until an agreement is established between
the di ering domains on the de nition of coordinate systems [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>This paper presents a process for converting IFC geometries to GeoSPARQL
and Well-known text (WKT) so that the two geometries can exist within a
single coordinate system. Building walls are extracted from the IFC model and
positioned relative to the building geolocation given by the IFC model. This
creates a 2D footprint of the building and provides a bases for the alignment
of 2D GIS geometries with their 3D BIM equivalent. The paper is structured
as follows, section 2 provides state of the art, section 3 provides the design and
implementation of the conversion process, along with a performance evaluation
and examination of a method to align geometries from di erent domains using
GeoSPARQL, section 4 provides discussion and future work and nally section
5 a conclusion.
2
2.1</p>
    </sec>
    <sec id="sec-2">
      <title>State of the Art</title>
      <sec id="sec-2-1">
        <title>Graphical Information Systems</title>
        <p>
          GIS systems are information systems with an added geo-reference [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. The
geospatial information associated with GIS systems allow for spatial analysis
to be performed on the system. GIS data has a vast array of use cases including
the monitoring of weather systems across a region, predicting population
densities in a city and visualising real time tra c jams in a certain location. Analysis
of GIS data gives important location based insights which may have previously
been overlooked. Geospatial information in a GIS system typically include the
coordinates of features of an object, based on the real world location
(geolocation) of the object. The relationship between features of the object can also be
de ned. Such features may include the walls of a building, and how certain walls
relate to one another by being associated with a room within the building. GIS
features are commonly represented in a 2D coordinate system. A building would
be represented by its top-down building footprint. A GIS system representation
of a building will also include the building within the context of other geospatial
features, such as infrastructure and natural features. This makes the information
relevant to both building designers and public planning organisations, planning
for navigation, re services, energy grids, etc.
        </p>
        <p>
          Recent research in GIS primarily focuses on the development of 3D GIS [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
Such systems facilitate the modelling of complex internal structures of buildings,
tunnels and bridges in the geospatial domain. City Geography Markup Language
(CityGML) is currently the state of the art standard in 3D GIS modelling,
providing an XML based data model for the storage and exchange of 3D models
[
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. This 3D GIS modelling approach is closer to Building Information Modelling
(BIM) than 2D GIS, however work still remains in providing seamless interaction
between the two representations.
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Building Information Modelling</title>
        <p>
          The concept of Building Information Modelling (BIM) has been created to
support the vast amount of data associated with buildings. This data is generated
across the buildings life cycle (BLC) and requires maintenance and
management throughout the BLC. BIM describes an integrated data model for storing
all information relevant to the BLC, typically relating to the functional and
physical characteristics of a building [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. This primarily includes a 3D model
of the architectural design, detailing the positions and dimensions of a
buildings walls, rooms, windows, doors, roof, etc. BIM also facilitates the inclusion
of non-physical building features such as the building costs, accessibility, safety,
security and sustainability [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]. BIM is therefore capable of capturing all
aspects of a building that exist throughout the BLC, aiding stakeholders at all
stages of the BLC. As the authors state in [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], it is clear that BIM is not just
a piece of software, but also a process that contributes to the work ow and
project delivery process. However, a BIM model lives in isolation, it is
oblivious to the external world that surrounds the building. This is a limitation of
BIM. The lack of geospatial analysis functionality available from a BIM model
restricts the knowledge one may have of a buildings surrounding environment.
The impact a building may have on its environment could be overlooked if the
appropriate geospatial analysis is not performed.
2.3
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Interlinking BIM &amp; GIS</title>
        <p>
          There is potential to further improve existing use cases by integrating
Building Information Modelling (BIM) with Geographic Information Systems (GIS).
This integration would enrich BIM datasets, allowing stakeholders to observe
new building features that may not have been visible using BIM alone, in
particular relating to the buildings wider geospatial context. However, the di erent
geometry representations and coordinate systems used by BIM and GIS make it
challenging to interlink the two data types [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ][
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. There is no standard process
currently in place to transform BIM to GIS [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ].
2.4
        </p>
      </sec>
      <sec id="sec-2-4">
        <title>Industry Foundation Classes and Linked Data</title>
        <p>
          Standardisation is an important part of ensuring data interoperability. Industry
Foundation Classes (IFC), developed by buildingSMART, is the current
leading standard for BIM in the Architecture Engineering and Construction (AEC)
industry. In IFC, buildings and their components are modelled as objects.
Relationships and hierarchies between objects are de ned, giving a semantically rich
de nition of a building. IFC uses the EXPRESS data modelling language to
dene a building and its component hierarchy. IFC is also the only BIM currently
an ISO PAS standard (ISO 2013), and so it remains the de-facto standard for
BIM in AEC. The AEC industry relies on IFC for modelling core building
processes (architecture, structural analysis, control, etc.), enabling information to
be passed between di erent stakeholders across the BLC. IFC has serializations
in STEP, XML and RDF alongside an OWL version of IFC4, called ifcOWL
[
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], which is built upon Linked Data principles.
        </p>
        <p>
          Linked Data (LD) is an approach to expose, share, and connect related data,
which was not previously linked, on the Web [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]. LD makes us of the Resource
Description Format (RDF) to store and link data, allowing linking between
domains across the web. This interlinking of domains has signi cant potential in
the AEC industry, where data related to di erent domains are generated and
consumed across the BLC. Each stage of the BLC from design to construction
and maintenance require data sourced from a vast set of domains; building
geometry and topology data, sensor data, behaviour data, geospatial data, etc.
The combination of BIM and LD has the potential to meet the requirements for
storing and sharing those data using RDF.
        </p>
        <p>
          With the development of ifcOWL the potential for linking ifcOWL, and other
BIM ontologies, with other domains is an active area of research [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]. IFC,
however, has yet to make its expected impact across the AEC industry [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. One
contributing factor is the complexity of the schema. This complexity arises from
the extensive component hierarchy native to IFC. This component hierarchy
can be challenging for new software developers who are unfamiliar with the IFC
schema. A generic two storey building modelled in IFC can result in an IFC le
thousands of lines long. Simple geometry extractions require prior knowledge of
the IFC schema, which proves as a barrier to its use.
2.5
        </p>
      </sec>
      <sec id="sec-2-5">
        <title>Building Topology Ontology</title>
        <p>
          The Building Topology Ontology (BOT) [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], currently under development within
the auspices of the Linked Building Data on the Web community group [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], may
be able to address this issue, providing a bridge between software developers and
IFC, and a means to publish data about their buildings easily. BOT provides
descriptions for only the most fundamental properties of a building, in terms of
its topology, in a Linked Data approach. The primary components of a
building topology (walls, storeys, rooms, etc.) are modelled in BOT, avoiding the
complexities observed in IFC. The intention here is to support linking to other
ontologies when details are required for aspects of the building, such as those
related to geolocation, building products, automation and control, HVAC etc.
        </p>
        <p>
          The ifcOWL and BOT ontologies are used in a Linked Data approach to
support this process of linking domains. The challenge still remains that di ering
domains have di erent representations of geometry, such that it becomes di cult
to reuse a geometry from one domain in another. This paper presents a process
for the extraction of building geometries (building geolocation, building
footprint, wall geometries, etc.) from ifcOWL into GeoSPARQL, and representing
geometries as Well-Known-Text (WKT) as outlined here [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. This conversion
process makes all building elements essentially geo-tagged, and provides a
mechanism to move from 3D geometries to 2D, and back.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Design and Implementation of Algorithm for</title>
    </sec>
    <sec id="sec-4">
      <title>Conversion of IFC Geometries into GeoSPARQL</title>
      <p>
        The algorithm presented here is developed to convert geometries described in
ifcOWL into GeoSPARQL. ifcOWL models are generated using the process
developed by [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The 2D geometry extracted from the 3D IFC model is the
top-down view of the model, where the external walls of the building represent
the building footprint. The motivation behind extracting the 2D building
footprint geometry is to de ne the BIM building in a 2D GIS context. This enables
geospatial analysis to be performed on the BIM building, integrating the two
domains. Furthermore, in a Linked Data context, the extracted geometry could
be used to align the building to its corresponding building de ned in a di
erent Linked Data dataset. The alignment of two building geometries therefore
becomes a method of interlinking Linked Data domains.
3.1
      </p>
      <sec id="sec-4-1">
        <title>Algorithm Design</title>
        <p>The algorithm to extract and represent a 2D building footprint geometry from
an ifcOWL building can be broken down into three steps:
1. Building geolocation extraction
2. True North extraction
3. Building geometry extraction and representation as WKT
The geolocation of a building is useful in determining the exact location of
a building. It allows positioning of a building in the world coordinate system
through use of a latitude and longitude coordinate. The geolocation of an
ifcOWL building is extracted to determine the real world position of the building.
The extracted geolocation also acts as a reference point in the positioning of a
building's walls. Extraction of the geolocation is the rst step in connecting a
BIM building to its corresponding GIS building. The second step is to extract the
buildings true north orientation. This is the real world direction that the
building is facing. The true north orientation angle is later used to rotate the building
walls to the correct building orientation. The nal step in creating the building
footprint is to extract and represent the walls of the building. Each wall in an
ifcOWL building is de ned by a position, direction and length, all represented
as Cartesian coordinates in metres. These three wall properties, along with the
building geolocation and true north orientation, facilitate the placement of a
wall in its correct real world position. The walls are positioned relative to the
building geolocation and then rotated to the true north orientation angle.</p>
        <p>Each external building wall is transformed to its real world position and
represented as a Well-known text (WKT)1 geometry string. WKT is a string
based geometry representation language used to represent 2D vector geometries
on a map. This is ideal for representing the building geometry in a 2D GIS
context. Additionally, GeoSPARQL supports geometry representation as WKT.
This enables the use of GeoSPARQL topology relationship functions in SPARQL
queries to interact with WKT geometries. The WKT geometry representing the
2D building footprint of an ifcOWL building is inserted back into the ifcOWL
le as an RDF triple. This processed ifcOWL le is now ready for GeoSPARQL
querying.
3.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Extracting True North</title>
        <p>A building represented in the IFC format is typically modelled to represent a
real world building, or at least to at some point be used as such. We are not
concerned here with buildings that are intended purely to be used as design
models, without a physical copy. This process is intended for buildings that
have a real world orientation, or direction. An IFC representation of a building
incorporates a buildings orientation with the true north direction of the building.
This is the direction of the true north relative to the underlying coordinate
system, given by a direction within the xy-plane of the coordinate system. If
not given, the true north defaults to the positive direction of the y-axis. The
trueNorth IfcGeometricRepresentationContext de nes the true north direction
of an ifcOWL building as an xy-coordinate, where both x and y are greater than
or equal to 0 and less than or equal to 1. The angle between this coordinate and
the positive direction of the y-axis (0, 1) is calculated. The arc tangent of the
positive distance between the true north x-coordinate and 0, and the negative
distance between the true north y-coordinate and 1 gives the angle (in degrees)
between the two coordinates. This angle is later used in the program to rotate
wall coordinates to the true north orientation.
3.3</p>
      </sec>
      <sec id="sec-4-3">
        <title>Extracting Geolocation</title>
        <p>
          The geolocation of a building is useful in determining the exact location of a
building. It allows positioning of a building in a world coordinate system through
use of a latitude and longitude coordinate. The geolocation of an ifcOWL
building is extracted to determine the world position of the building and assists in the
positioning of a buildings entities, as presented here [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]. Entities have a local
placement relative to the geolocation of the building (see Fig. 1). The
refLatitude IfcSite and refLongitude IfcSite of an ifcOWL building represent the
latitude and longitude of the geolocation. Recursive traversal of both attributes
extract their respective values, given in the format of degrees, minutes, seconds
and millionth of a second. Conversion to decimal degrees is necessary for
alignment with Well-known text (WKT) geometries. A WKT point is created with
        </p>
        <sec id="sec-4-3-1">
          <title>1 http://www.opengeospatial.org/standards/sfa</title>
          <p>the decimal degrees latitude and longitude in the form POINT(longitude
latitude). A GeoSPARQL hasGeometry property is created for the IfcSite. This
property relates to a GeoSPARQL asWKT property, containing the WKT point
string that represents the building geolocation. These additions to the building
model are subsequently present in the output le.
3.4</p>
        </sec>
      </sec>
      <sec id="sec-4-4">
        <title>Building Geometry Extraction: IfcWallStandardCase</title>
        <p>A process for extracting the geometry of an IFC building walls is necessary to
create a building footprint. As such, the focus here is on the
IfcWallStandardCase (Fig. 1), although it should be noted that this process should theoretically
work for all building entities with a geometric representation. The building
footprint facilitates alignment of the 3D IFC geometry with a 2D GIS geometry.
IFC geometry models can contain two wall types: IfcWallStandardCase and
IfcWall. The former is used for occurrences of walls that have a non-changing
thickness. The latter is used for occurrences of walls that have a changing
thickness, or have a non-rectangular cross section. A hierarchy of entity placements
de ne where a wall is positioned in the buildings global coordinate system. The
IFC Site of a building sits at the top of the hierarchy.</p>
        <p>The IFC Building is then positioned relative to the IFC Site. Each IFC
Building Storey is positioned relative to the IFC Building. All walls on a storey are
placed relative to the IFC Building Storey, completing the hierarchy. The
following process describes the extraction of walls represented as an
IfcWallStandardCase. An IfcWallStandardCase is de ned by three high level attributes:
a position (local placement), an orientation/direction (de ned by the direction
cosine of the Z and X axes) and a length (de ned by a polyline magnitude).
The IfcLocalPlacement of a wall speci es the position of a wall relative to the
IFC Building Storey it is located on. The position is de ned as a xyz-coordinate,
denoting how far the wall is positioned from the origin. This origin is the origin
of the building storey that contains the wall. All test data used in this paper had
the origin of the IFC Building Storey set as the default origin (0, 0, 0), which,
in turn, was the same origin as the IFC Building and IFC Site origins.</p>
        <p>The IfcLocalPlacement of a wall also speci es the wall direction. The
direction is de ned by a xyz-coordinate. The default value for the direction coordinate
is (0, 0, 0), indicating a negative rotation of 90 degrees around the z-axis. A value
of -1 or 1 for the x-coordinate indicates a negative rotation around the z-axis of
270 or 90 degrees respectively. A value of -1 or 1 for the y-coordinate indicates a
negative rotation around the z-axis of 0 or 180 degrees respectively. The length
of an IfcWallStandardCase is speci ed by an IfcProductDe nitionShape.
This shape de nes the IfcPolyline points that represent the length of the wall.
A polyline is constructed by two xy-coordinate points, the xy-origin (0, 0) and a
length along the positive y-axis (0, Ylength), where Ylength is the length of the
wall. The two polyline coordinates are extracted for each wall of the building.</p>
        <p>Positioning of the wall in the global place requires three steps: wall
direction rotation, wall global placement and a true north rotation. The two polyline
coordinates of each wall are rst rotated to the IfcLocalPlacement direction
(see Fig. 2). These, now rotated coordinates, are translated to the local
position of the wall given by the IfcLocalPlacement position. As stated above,
the hierarchy of xyz local placements for each of the IFC Site, IFC Building
and IFC Building Storey are positioned at the global origin. This infers that
the positioning of a wall, based on its local placement, translates the wall to its
correct global position. The nal step in global wall placement is the rotation
of a wall to its true north orientation. The true north angle of rotation is used
to rotate wall coordinates to their correct global orientation. This three step
procedure of global wall positioning is executed for each wall extracted from the
ifcOWL le. Wall coordinates, in the global coordinate space, are next converted
to a latitude and longitude decimal degrees value. The conversion process uses
the extracted decimal degrees geolocation as a point of reference. The decimal
degrees geolocation is transformed to an xy-coordinate using the WGS 84 Web
Mercator (EPSG:3857) projection, giving the geolocation as a coordinate in
metres. The xy-coordinates of each wall, given in metres, are added to the metres
geolocation coordinate. The resulting xy-coordinates for each wall are converted
back to decimal degrees using the WGS 84 (EPSG:4326) projection, giving the
walls global latitude and longitude in decimal degrees. A WKT LINESTRING()
is created for each wall. The latitude and longitude of all walls are accumulated
throughout the program and are concatenated at the end to create a WKT
MULTILINESTRING().</p>
        <p>
          The algorithm is implemented in Java using the Jena libraries [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] and
building on open libraries for converting IFC to ifcOWL [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. The Java
implementation generate a GeoSPARQL WKT LINESTRING for each wall based upon
the above process. These are also combined at a storey level into a 2D footprint
of the building as a WKT MULTILINESTRING. The resulting GeoSPARQL
geometries can be exported as an extended ifcOWL model or alternatively to a
BOT model for the building.
3.5
        </p>
      </sec>
      <sec id="sec-4-5">
        <title>Export of ifcOWL geometries as ifcOWL GeoSPARQL</title>
        <p>
          The outputs of the converted le AC20-FZK-Haus, taken from an openly
available repository of IFC les [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], can be found in the folder ifcOWL here2 called
AC20-FZK-Haus geoloc.ttl. As can be seen, ifcBuilding 434 has an associated
GeoSPARQL geometry representing its footprint and so too each
IfcWallStandardCase 18465 has a single line geometry.
        </p>
        <p>The same process then again produces the following BOT le, called
bot/AC20FZK-Haus bot geo.ttl. The bot:building has two bot:Storey, each of which has
a geometry with a WKT MULTILINESTRING. Similarly, each wall is saved as
a bot:element, associated with each bot:space, associated with each bot:storey.
The bot:element has a geometry with a WKT LINESTRING.</p>
        <p>
          This process was repeated for seven les, also taken from [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] (see Table. 1
for their names). Once the ifcOWL (or BOT) le is generated and exported, it
is possible to test the output visually.
        </p>
        <p>The WKT geometries were then evaluated visually by comparing them to
their IFC models as seen in a BIM viewer such as BIM Vision3. This is clearly
not the most desirable evaluation method, since no accuracy metric is produced,
although visually comparing the two building representations gives an
instantaneous and clear indication of how well a WKT geometry represents its BIM
IFC model. Using this approach it was found that WKT geometries give an
accurate representation of the wall structure of their parent IFC models. Walls
are positioned in their correct locations and have dimensions that match the</p>
        <sec id="sec-4-5-1">
          <title>2 http://theme-e.adaptcentre.ie/bim/ 3 https://bimvision.eu/en/free-ifc-model-viewer/</title>
          <p>parent IFC model. Intricate modes, such as the Barcelona Pavilion.ttl and
Duplex A 20110907 optimized.ttl have a corresponding intricate 2D WKT
geometry. However, the drawn WKT geometries contain both internal and external
walls from all building storeys. A 2D GIS geometry represents a building as a 2D
building footprint outline, disregarding internal walls and typically representing
the buildings highest level or roof of the building.</p>
          <p>The resulting extracted 2D WKT geometries in this solution should therefore
represent the external walls of the IFC building model only, providing similar
geometries to those in Google Maps. They would then match the 2D GIS
standard of building geometry representation. A wall in ifcOWL can be de ned as
being internal or external using the internalOrExternalBoundary IfcRelSpac
eBoundary predicate. However, the ifcOWL test data used varied, meaning that
some buildings used this predicate in the de nition of a wall whereas others did
not. Furthermore, buildings had incorrect wall de nitions of this predicate. The
ifcOWL building smallhouse saref.tll had all walls de ned as being external, even
though some of the walls are clearly internal walls. The usability of the results
provided by this solution therefore depend on the quality of the input ifcOWL
les. An agreement could be made with the owner of a BIM model that requires
them to adequately de ne the nature of building components, whether they are
internal or external, before using the WKT building representation solution
provided by this project. This would allow for the discovery and representation of
external walls.
3.6</p>
        </sec>
      </sec>
      <sec id="sec-4-6">
        <title>Runtime Performance of the Algorithm</title>
        <p>An evaluation of the performance of this solution assists in determining the
usability of the solution. The performance can be evaluated by examining the
program runtime. A short program runtime is more desirable, allowing users
to extract a 2D GIS geometry from their 3D BIM model in a timely manner.
The program runtime was recorded for each of the seven ifcOWL les given
in Table. 1. A comparison of runtimes can be performed based on the time
taken to calculate the Local Placement (LP) of an IfcWallStandardCase, in
milliseconds, and the time taken to calculate the Relative Placement (RP) of
an IfcWallStandardCase, in milliseconds. The LP and RP runtimes are listed
in Table. 1. The triple count of each ifcOWL le is also given, indicating the
complexity of the ifcOWL building representation. It can be seen that as the
complexity of the le in terms of triple count increases, so too does the time
take to determine placement.</p>
        <p>Table. 1 shows that as the triple count of an ifcOWL le increases the time
taken to extract the local and relative placement of a wall also increases. This
is partly due to the time it takes Apache Jena to search through an RDF model
of an ifcOWL building. The bigger the RDF model, in terms of volume of RDF
triples, the longer Jena takes to search and extract triples. The biggest le,
Barcelona Pavilion.ttl, takes over 13 seconds to determine the local placement
of a wall and over 32 seconds to determine the relative placement of the same
wall. This building contains 35 IfcWallStandardCase walls, therefore totalling
approximately 26 minutes to extract all 35 walls. This is not particularly
desirable for the owner of a 3D BIM model looking represent their model as a 2D
GIS geometry. This is something which must be addressed in futre work.</p>
      </sec>
      <sec id="sec-4-7">
        <title>Test Case: Alignment of IFC Geometries with Geospatial</title>
      </sec>
      <sec id="sec-4-8">
        <title>Geometries</title>
        <p>
          In order to validate the alignment process, initial work has examined the use of
the topological relations supported by GeoSPARQL. These allow for the
discovery of relationships between geometries, and therefore resources, in a RDF graph
such as: equality, disjointness, intersection, touches, within, contains and
overlaps [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. The use of the GeoSPARQL function geof:sfOverlaps, a function that
matches geometries that partially overlap, has the potential to support
building matching with the combination of additional properties, that is, where two
buildings do not align correctly. Using the additional footprint area, a SPARQL
Filter function, returns results based on the lter condition. Two lter
conditions specify that the two returned building WKT geometries overlap (using
geof:sfOverlaps) and that the calculated area of one WKT polygon is within
+/25% the area of the overlapping polygon. Both aligned polygons, representing
the same physical building, are returned if these two lter conditions are met.
        </p>
        <p>Fig. 3 gives a screenshot of the query used to align an ifcOWL building with
a test geometry, based on the two matching conditions. A test geometry was
used as currently there is no publicly available IFC model with corresponding
geospatial geometry (see future work). This query is performed on the
AC20FZK-Haus.ttl ifcOWL le, after adding WKT geometries, and the BOT version
of this le, after BOT processing with added WKT geometries. Also given in
Fig. 3 is the resulting aligned geometries, as seen in the YASGUI Geo results
page. Colouring of the polygons identify the ifcOWL building from the BOT
building. The red geometry represents the ifcOWL building and the green
geometry represents the BOT building. Note, the geometries shown are quite small
(YASGUI Geo does not permit a high zoom level), making it di cult to di
erentiate between the red ifcOWL geometry and the green BOT geometry. The
green BOT geometry is a rotated version of the ifcOWL geometry and overlays
the red ifcOWl geometry. A sliver of red can be seen on the right hand side of the
overlapping geometries, representing the underlying ifcOWL building geometry.
Managing this alignment process is an important step in providing a means for
seamlessly moving from 2D GIS into the BIM, as it is unlikely that the two
geometry types will have an exact match.
4</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Discussion and Future Work</title>
      <p>This paper has demonstrated a method for converting ifcOWL wall
geometries into GeoSPARQL and converting the resulting output as ifcOWL with
GeoSPARQL and also BOT. It also provided a performance analysis of the
algorithm. As can be seen, the process can successfully extract geometries for
IfcWallStandardCase, convert these to WKT and output as GeoSPARQL.
While the performance of the algorithm is strongly in uenced by the complexity
of the ifcOWL les, it is intended that this process only be run once, so that the
extracted geometries can be exported into other less triple intense models, such
as BOT. It may also be possible to improve the performance of this process when
working directly with IFC step les, and future work will explore this option.</p>
      <p>
        It should be noted that this paper does not speci cally look at whether the
resulting les match with existing geospatial data. Towards this end further
validation will be conducted by examining existing Irish IFC models of known
structures against geospatial data maintained by the Ordnance Survey Ireland
(OSi), to ensure that they are in fact aligning correctly and to correct any
A method for converting IFC geometric data into GeoSPARQL
13
misalignment's. As OSi maintain authoritative sets of geospatial data in Ireland
[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], they can provide a ground truth for geolocation of BIM models.
      </p>
      <p>Future implementations will also support other geometric formats, such as
obj, using this approach so that the ifcOWL can be converted into both 2D and
3D geometries and converted into BOT. The desire is to make the conversion
method openly available, and therefore provide a method for owners of building
data to publish subsets of their building geometry.
5</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>This paper has demonstrated a method for converting ifcOWL geometries into
ifcOWL and BOT aligned with GeoSPARQL. The approach taken sets out to
address issues relating to di ering geometric coordinate systems between GIS
and BIM geometric representations, by supporting the conversion of BIM
geometry into 2D GIS. This opens the door to supporting a range of use cases related
to geolocation of building entities, and makes available to BIM the functionality
of GeoSPARQL. By aligning BIM models with authoritative building data sets
such as those provided by the Ordnance Survey Ireland, BIM owners have the
potential to connect their BIM data to a source of ground truth, rmly rooted in
the physical geometric coordinates of the building structure. We believe this is an
important step towards making seamless movement between these two domains
a reality, encouraging re-use of available data.</p>
      <p>Some challenges still remain to ensure that models are correctly aligned, and
authoritative GIS data sets such as those provided by the Ordnance Survey
Ireland are a perfect candidate for doing further analysis. Methods to ensure
that alignments are correct are therefore still needed, and this paper presents
some initial exploration of these for achieving this.</p>
      <p>Listing 1.1. Pre xes and namespace URIs used in this paper
@ p r e f i x i f c :&lt; http : / /www. b u i l d i n g s m a r t t e c h . org /ifcOWL/IFC4 ADD1/&gt;.
@ p r e f i x bot :&lt; h t t p s : / / w3c lbd cg . g i t h u b . i o / bot /&gt;.
@ p r e f i x geo :&lt; http : / /www. o p e n g e o s p a t i a l . org / s t a n d a r d s / g e o s p a r q l &gt;.
@ p r e f i x s f :&lt; http : / /www. o p e n g i s . net / ont / s f &gt;.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>1. IFC repository, http://smartlab1.elis.ugent.be:8889/IFC-repo/</mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <article-title>Big data in the construction industry: A review of present status, opportunities, and future trends</article-title>
          .
          <source>Advanced Engineering Informatics</source>
          <volume>30</volume>
          (
          <issue>3</issue>
          ),
          <volume>500</volume>
          {
          <fpage>521</fpage>
          (
          <year>2016</year>
          ). https://doi.org/https://doi.org/10.1016/j.aei.
          <year>2016</year>
          .
          <volume>07</volume>
          .001
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Api</surname>
            ,
            <given-names>J.O.</given-names>
          </string-name>
          : Apache Jena pp.
          <volume>1</volume>
          {
          <issue>23</issue>
          (
          <year>1993</year>
          ), https://jena.apache.org/
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Battle</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kolas</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Enabling the geospatial semantic web with parliament and geosparql</article-title>
          .
          <source>Semantic Web</source>
          <volume>3</volume>
          (
          <issue>4</issue>
          ),
          <volume>355</volume>
          {370 (Oct
          <year>2012</year>
          ), http://dl.acm.org/citation.cfm?id=
          <volume>2590208</volume>
          .
          <fpage>2590211</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bizer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heath</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Berners-Lee</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Linked Data - The Story So Far</article-title>
          .
          <source>International Journal on Semantic Web and Information Systems</source>
          <volume>5</volume>
          (
          <issue>3</issue>
          ),
          <volume>1</volume>
          {22 (jul
          <year>2009</year>
          ). https://doi.org/10.4018/jswis.2009081901
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Borrmann</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Knig</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beetz</surname>
          </string-name>
          , J.:
          <source>Building Information Modeling: Technology Foundations and Industry Practice</source>
          . Springer International Publishing (
          <year>2018</year>
          ),
          <source>ISBN: 978-3-319-92861-6</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>De</surname>
            <given-names>Laat</given-names>
          </string-name>
          , Ruben and van Berlo,
          <article-title>Leon: Integration of BIM and GIS: The Development of the CityGML GeoBIM Extension</article-title>
          , pp.
          <volume>211</volume>
          {
          <fpage>225</fpage>
          . Springer Berlin Heidelberg, Berlin, Heidelberg (
          <year>2011</year>
          ). https://doi.org/10.1007/978-3-
          <fpage>642</fpage>
          -12670-3 13
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Gha</surname>
            <given-names>arianhoseini</given-names>
          </string-name>
          , A.,
          <string-name>
            <surname>Tookey</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gha</surname>
            <given-names>arianhoseini</given-names>
          </string-name>
          , A.,
          <string-name>
            <surname>Naismith</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Azhar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , E mova, O.,
          <string-name>
            <surname>Raahemifar</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Building Information Modelling (BIM) uptake: Clear bene ts, understanding its implementation, risks and challenges</article-title>
          .
          <source>Renewable and Sustainable Energy Reviews</source>
          <volume>75</volume>
          ,
          <issue>1046</issue>
          {
          <fpage>1053</fpage>
          (
          <year>2017</year>
          ). https://doi.org/10.1016/j.rser.
          <year>2016</year>
          .
          <volume>11</volume>
          .083
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Groger, G., Plumer, L.:
          <article-title>CityGML Interoperable semantic 3D city models</article-title>
          .
          <source>ISPRS Journal of Photogrammetry and Remote</source>
          Sensing pp.
          <volume>12</volume>
          {
          <fpage>33</fpage>
          . https://doi.org/https://doi.org/10.1016/j.isprsjprs.
          <year>2012</year>
          .
          <volume>04</volume>
          .004
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wright</surname>
            , G., Cheng,
            <given-names>J.C.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>R.:</given-names>
          </string-name>
          <article-title>A state-of-the-art review on the integration of building information modeling (bim) and geographic information system (gis)</article-title>
          .
          <source>ISPRS Int. J. Geo-Information</source>
          <volume>6</volume>
          ,
          <issue>53</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>McGlinn</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debruyne</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McNerney</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>O'Sullivan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Integrating Building Information Models with Authoritative Irish Geospatial Information</article-title>
          .
          <source>In: ISWC</source>
          <year>2017</year>
          ,
          <article-title>the 16th International Semantic Web Conference</article-title>
          . pp.
          <volume>66</volume>
          {
          <issue>74</issue>
          (
          <year>2017</year>
          ),
          <source>ISBN: 978-3-319-68204-4</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>McGlinn</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Debruyne</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McNerney</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>O'Sullivan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Integrating Ireland's Geospatial Information to Provide Authoritative Building Information Models</article-title>
          .
          <source>In: Proceedings of the 13th International Conference on Semantic Systems - Semantics2017</source>
          . vol.
          <volume>13</volume>
          , pp.
          <volume>57</volume>
          {
          <fpage>64</fpage>
          . ACM Press (
          <year>2017</year>
          ). https://doi.org/10.1145/3132218.3132223
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>McGlinn</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wagner</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pauwels</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bonsma</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kelly</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>O'Sullivan</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Interlinking geospatial and building geometry with existing and developing standards on the web</article-title>
          . Automation in Construction pp.
          <volume>235</volume>
          {
          <fpage>250</fpage>
          . https://doi.org/https://doi.org/10.1016/j.autcon.
          <year>2018</year>
          .
          <volume>12</volume>
          .026
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Pauwels</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krijnen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Terkaj</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beetz</surname>
          </string-name>
          , J.:
          <article-title>Enhancing the ifcOWL ontology with an alternative representation for geometric data</article-title>
          . Automation in Construction pp.
          <volume>77</volume>
          {
          <fpage>94</fpage>
          . https://doi.org/10.1016/j.autcon.
          <year>2017</year>
          .
          <volume>03</volume>
          .001
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Pauwels</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Terkaj</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>EXPRESS to OWL for construction industry: Towards a recommendable and usable ifcOWL ontology</article-title>
          . Automation in Construction pp.
          <volume>100</volume>
          {
          <fpage>133</fpage>
          . https://doi.org/https://doi.org/10.1016/j.autcon.
          <year>2015</year>
          .
          <volume>12</volume>
          .003
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Rasmussen</surname>
            ,
            <given-names>M.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pauwels</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hviid</surname>
            ,
            <given-names>C.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karlshj</surname>
          </string-name>
          , J.:
          <article-title>Proposing a Central AEC Ontology That Allows for Domain Speci c Extensions</article-title>
          .
          <source>In: Lean and Computing in Construction Congress - Volume 1: Proceedings of the Joint Conference on Computing in Construction</source>
          . pp.
          <volume>237</volume>
          {
          <fpage>244</fpage>
          .
          <string-name>
            <surname>Heriot-Watt University</surname>
          </string-name>
          (
          <year>2017</year>
          ). https://doi.org/10.24928/JC3-2017/0153
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Taylor</surname>
          </string-name>
          , J.,
          <string-name>
            <surname>Bernstein</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Paradigm Trajectories of Building Information Modeling Practice in Project Networks</article-title>
          .
          <source>Journal of Management in Engineering - J MANAGE ENG 25</source>
          (
          <year>2009</year>
          ). https://doi.org/10.1061/(ASCE)
          <fpage>0742</fpage>
          -
          <lpage>597X</lpage>
          (
          <year>2009</year>
          )
          <volume>25</volume>
          :
          <issue>2</issue>
          (
          <issue>69</issue>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. W3C: Linked Building Data Group (
          <year>2019</year>
          ), https://www.w3.org/community/lbd/
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beetz</surname>
          </string-name>
          , J.:
          <article-title>Querying linked building data using SPARQL with functional extensions</article-title>
          . In: Christodoulou,
          <string-name>
            <given-names>S.E.</given-names>
            ,
            <surname>Scherer</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <article-title>EWork and</article-title>
          eBusiness in
          <source>Architecture: ECPPM 2016 : Proceedings of the 11th European Conference on Product and Process Modelling (ECPPM</source>
          <year>2016</year>
          ), Limassol, Cyprus,
          <fpage>7</fpage>
          -
          <issue>9</issue>
          <year>September 2016</year>
          . pp.
          <volume>27</volume>
          {
          <fpage>34</fpage>
          . CRC Press (
          <year>2016</year>
          ),
          <source>ISBN: 978-1-315-38689-8</source>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>