IFC model perspectives
Pieter Pauwels
8 August 2013
Files
-
originalmodel.n3
This is the original IFC/RDF file that was used for the considered test case.
-
originalmodel.rdf
This is the same RDF model, but converted into RDF/XML notation (using RDF translator: rdf-translator.appspot.com).
-
conversionrules.n3
These are the rules that allow to generate an alternative perspective on (a part of) the IFC model, a kind of simple and custom model view definition (MVD).
-
query.n3
The query file is exactly the same as the conversionrules.n3 file. Using this file as a query file, the EYE reasoning engine is able to retrieve only the elements that are represented by the query file (see procedure below).
-
output.n3
This is an example output file as it is produced by the EYE reasoning engine when doing the full conversion approach (see procedure below - 'doing the conversion').
-
queryoutput.n3
This is an example output file as it is produced by the EYE reasoning engine when doing the conversion by query approach (see procedure below - 'query conversion rules').
-
README.txt
Textual overview of this HTML page.
-
IFCmodelperspectives_pieterpauwels.zip
Full ZIP file including all the files above.
Procedure
Doing the conversion
- Install EYE: see http://eulersharp.sourceforge.net/INSTALL
- Test run EYE and see that everything is installed correctly
- See all possible EYE commands on http://eulersharp.sourceforge.net/README
- open command line
- run "eye --nope originalmodel.n3 conversionrules.n3 --pass > output.n3"
- see additional RDF statements at the end of the output.n3 file
Edit rules
- open up conversionrules.n3 in any notepad application
- start editing
Query conversion rules
- Install EYE: see http://eulersharp.sourceforge.net/INSTALL
- Test run EYE and see that everything is installed correctly
- See all possible EYE commands on http://eulersharp.sourceforge.net/README
- open command line
- run "eye --nope originalmodel.n3 conversionrules.n3 --query query.n3 > queryoutput.n3"
- find the retrieved RDF statements in the queryoutput.n3 file