Including Widespread Geometry Formats in Semantic Graphs Using Rdf Literals

Including Widespread Geometry Formats in Semantic Graphs Using Rdf Literals

2019 European Conference on Computing in Construction Chania, Crete, Greece July 10-12, 2019 INCLUDING WIDESPREAD GEOMETRY FORMATS IN SEMANTIC GRAPHS USING RDF LITERALS Mathias Bonduel1, Anna Wagner2, Pieter Pauwels3, Maarten Vergauwen1 and Ralf Klein1 1Department of Civil Engineering, Technology Cluster Construction, KU Leuven, Ghent, Belgium 2Department of Civil and Environmental Engineering Sciences, TU Darmstadt, Darmstadt, Germany 3Department of Architecture and Urban Planning, Ghent University, Ghent, Belgium Abstract easily transfer geometric data. Such data can flow bidi- rectionally between semantic graphs and the stakeholders’ The exchange of building data involves both geometric and existing geometry processing tools, ideally with as little non-geometric data. A promising Linked Data approach conversions as possible to minimise conversion errors. is to embed data from existing geometry formats inside Resource Description Framework (RDF) literals. Based Consequently, methods to introduce already existing and on a study of relevant specifications and related work, this widely used geometry formats (e.g. STEP, OBJ, DWG, toolset-independent approach was found suitable for the etc.) in RDF graphs have to be considered. Two possi- exchange of geometric construction data. To implement ble alternatives for RDF-based geometry emerge: linking the approach in practice, the File Ontology for Geometry RDF entities of building elements to (1) external geom- formats (FOG) and accompanying modelling method is etry files by storing their file location references in RDF developed. In a proof-of-concept web application that literals or (2) RDF literals containing the entire content uses FOG, is demonstrated how geometry descriptions of of such geometry files. This paper focuses primarily on different existing formats are automatically recognised and embedding geometry descriptions in RDF literals, but also parsed. considers RDF literals referencing external geometry files. The remainder of this paper contains four sections. The Introduction section ‘RDF literals and geometric content’ covers an analysis of the relevant W3C specifications, existing re- Researchers in both academia and industry are actively in- lated implementations and practical requirements to en- vestigating the benefits of web technologies to improve the able the adoption of RDF literals for geometric data. The exchange of structured building data, including geometric final part of this first section discusses the feasibility of data (Pauwels et al., 2017). The Semantic Web technology using RDF literals to store geometry descriptions. Short- stack is standardised by the World Wide Web Consortium comings of the existing implementations for RDF literals (W3C) and uses Resource Description Framework (RDF) and geometry are addressed in the following section. A triples as an elementary building block to create graphs of new ontology is proposed and validated together with an linkable entities. Different methods to include RDF-based accompanying modelling method. Section three, ‘Proof geometry descriptions in Linked Data graphs already ex- of concept application’, demonstrates how the above can ist. They have their own dedicated vocabularies, e.g. the be implemented in applications, while the final section OntoBREP1 or GEOM2 ontologies, and related toolsets contains the conclusion and addresses future work. (Perzylo et al., 2015). All Uniform Resource Identifier (URI) prefixes mentioned Creating geometry representations in RDF according to in the remaining of this paper are assembled in Listing 1. the approach mentioned above can be achieved by using a dedicated Linked Data geometry modelling tool. Alterna- tively, geometry coming from regular CAD applications Listing 1: Used URI prefixes in this paper can be converted into RDF-based geometry descriptions. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . When reusing such geometry descriptions stored as an @prefix rdfs: RDF graph, the geometric data has to be transformed into <http://www.w3.org/2000/01/rdf-schema#> . a readable format for geometry kernels of typical non-RDF @prefix owl: <http://www.w3.org/2002/07/owl#> . applications used in practice. The construction industry, @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . @prefix bot: <https://w3id.org/bot#> . however, also demands a more straightforward method – @prefix strdf: <http://strdf.di.uoa.gr/ontology#> . not related to specific RDF-based geometry toolsets – to @prefix geosparql: <http://www.opengis.net/ont/geosparql#> . 1https://github.com/OntoBREP/ontobrep 2https://github.com/w3c-geom-cg/geom Page 341 of 490 DOI:10.35490/EC3.2019.166 @prefix geom: <http://bimsparql.org/geometry#> . and properties in RDF, which can have respectively a ‘sub- @prefix cbim: class’ or a ‘subproperty’. <http://www.coinsweb.nl/cbim-2.0.RDF#> . @prefix omg: <https://w3id.org/omg#> . Related work @prefix fog: <https://w3id.org/fog#> . # namespace for example node instances The application of RDF literals for storing building geom- @prefix inst: <https://example.org/data#> . etry descriptions or references to geometry files is not new, # namespace for a fictive example ontology @prefix ex: <https://example.org/onto#> . but research documented online and in literature focuses on rather specific cases or domains. The shortcomings RDF literals and geometric content of six existing ontologies are analysed in this subsection. First, two frequently used geospatial ontologies are dis- In this section, the potential of RDF literals for represent- cussed, followed by three ontologies from the construction ing and exchanging geometric content is studied. The first domain. Lastly, a more generic and flexible ontology, re- subsection introduces how RDF literals are defined in the cently published by the authors of this article, is proposed. relevant web standards, while the second part discusses how other researchers and organisations apply RDF liter- GeoSPARQL als for geometric content. Based on current practice in the Two geospatial ontologies that allow to store existing ge- construction industry, five practical requirements for the ometry descriptions in RDF literals are discussed: the use and exchange of geometric data are listed in the third GeoSPARQL and the stRDF ontology. subsection. Finally, the feasibility of RDF literals to store The OGC GeoSPARQL specification (Open Geospa- geometry descriptions is discussed. tial Consortium, 2012) describes an ontology with the The nature of RDF literals same name, and a SPARQL extension for 2D spatial querying. The ontology provides terminology to con- 3 The RDF 1.1 W3C specification determines how RDF nect any object via an intermediate node to a Well literals should be used in Linked Data graphs and refers to Known Text (WKT) or Geography Markup Language other related W3C standards. (GML) geometry description embedded in an RDF lit- While each RDF triple consists of a subject, predicate eral. The datatype property between the intermediate and object, an RDF literal can only be used in the object node and the RDF literal is specific regarding the ge- position of a triple. Thus, a literal can have an incoming ometry format (geosparql:asWKT or geosparql:asGML). relation but no outgoing links. The three essential parts Additionally, the literal has a custom datatype assigned of an RDF literal are (1) the lexical form, (2) the datatype (geosparql:wktLiteral, resp. geosparql:gmlLiteral). While URI and (3) an optional language tag. The lexical form each GML file can reference a standardised Coordina- has to be a single collection of UNICODE characters that tion Reference System (CRS) by design, the GeoSPARQL corresponds to a certain literal value (value space). The specification allows to mention the CRS inside the lexical datatype URI refers to a datatype that in turn defines what form of the literal in case of WKT geometry description. content is valid (the lexical space), the value space and the mapping between the lexical space and the value space. stRDF Each literal has exactly one datatype. The stRDF ontology was developed together with a Predefined datatype URIs in the W3C specifications SPARQL extension named stSPARQL to allow 2D spa- have a fixed referent. The Web Ontology Language tiotemporal querying (Koubarakis et al., 2012). Similar or OWL 2 specification4 for example contains the fixed as GeoSPARQL, stRDF allows to link any object via an datatypes owl:real, owl:rational, rdfs:Literal, rdf:PlainLiteral, intermediate node to a WKT or GML geometry descrip- rdf:XMLLiteral and a selection of XSD datatypes (XML tion stored in an RDF literal. In contrast to GeoSPARQL, Schema Definition Language) documented in the W3C only the (custom) datatypes are specific: strdf:WKT or XSD 1.1 specification Part 25 (e.g. xsd:integer, xsd:string, strdf:GML. The stRDF / stSPARQL implementation also etc.). Additionally, custom datatypes can be defined in an allows to include the used CRS inside the lexical form of ontology by extending a fixed datatype or creating separate the literal in case of WKT. new datatypes. BimSPARQL Datatypes cannot be formally defined as a ‘subdatatype’ from another datatype, as each RDF literal has exactly one In Zhang et al. (2017), the BimSPARQL extension for datatype assigned. This distinguishes them from classes SPARQL was designed to spatially query and analyse 3D WKT geometry descriptions connected to building ele- 3https://www.w3.org/TR/rdf11-concepts/ ments from an IfcOWL-based RDF graph. Additional ter- 4https://www.w3.org/TR/2012/REC-owl2-syntax-20121211

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us