Skip to content

This repository contains the documentation and source of the study on the transformation of IFC models into SimModel models using SPARQL-based languages.

License

Notifications You must be signed in to change notification settings

arc-lasalle/SPARQL-Datrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SPARQL-Datrans

Introduction

This repository includes a list of SPARQL queries that enable to transform the data of BIM models in IFC4 to the SimModel specification. Two alternatives are provided depending on the format of the source:

Input (source):
RDF model expressed according to the ifcOWL ontology.
XML document expressed according to the ifcXML XSD schema.

Transformation languages:
(1) SPARQL Construct queries (source: RDF models)
(2) SPARQL-Generate queries (source: XML documents)

Output:
RDF model expressed according to the SimModel ontology.

Usage

You can implement a routine to process SPARQL queries using some of the existing libraries (Jena, DotNetRDF, etc.) depending on the programming language you prefer (Java, C #, etc.).

Alternatively, we provide a Java utility that enables to transform IFC RDF models expressed according to the ifcOWL ontology, and IFC XML models expressed according to the ifcXML XSD schema, into SimModel RDF models.

To convert an input RDF model (IFC4/ifcOWL) to an output RDF model (SimModel):
java -jar datrans.jar -c <input_file.rdf> <output_file.rdf>

To convert an input RDF model (IFC4/ifcXML) to an output RDF model (SimModel):
java -jar datrans.jar -g <input_file.xml/.ifcxml> <output_file.rdf>

Test files

This repository contains some test files used to check the result of the data transformations carried out through the both SPARQL languages. You can find these files in the 'tests' folder. Note that these are tests performed with BIM models and exported to IFC4 in the STEP and XML format. Tools can be used to transform the files in STEP format into RDF. For example IFCtoRDF.

Publications

The following article refers to the context in which the development of the queries in both SPARQL languages has been carried out:

  • Publication currently in revision.

Other related publications:

License

Licensed under the Apache License, Version 2.0.

Acknowledgements

Part of this work has been conducted within the project "Optimised Energy Efficient Design Platform for Refurbishment at District Level", which has received funding from the European Union Horizon 2020 Framework Pro-gramme (H2020/2014-2020) under grant agreement n° 680676.

Issues - contact

You can report any errors that you found to the authors: goncal.costa@salle.url.edu, alvaro.sicilia@salle.url.edu.

About

This repository contains the documentation and source of the study on the transformation of IFC models into SimModel models using SPARQL-based languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published