Skip to content
This repository was archived by the owner on Mar 1, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
663129f
Merge pull request #2 from jyrkioraskari/master
jyrkioraskari Apr 9, 2021
2c829e5
Merge pull request #3 from jyrkioraskari/master
jyrkioraskari Apr 13, 2021
85b062a
Merge pull request #4 from jyrkioraskari/master
jyrkioraskari Apr 21, 2021
e0219c4
Merge pull request #7 from OlliSchu/master
jyrkioraskari Apr 21, 2021
f36bf38
Updated web page
jyrkioraskari Apr 21, 2021
8cf47fa
Validation
jyrkioraskari Apr 21, 2021
6a32124
Update README.md
jyrkioraskari Apr 21, 2021
a71c1a6
Merge pull request #5 from jyrkioraskari/master
jyrkioraskari Apr 21, 2021
2adfda4
Changed domain of bcfOWL:hasSelection
OlliSchu Apr 22, 2021
13b8a66
Update README.md
jyrkioraskari Apr 22, 2021
8f28d27
Merge pull request #8 from OlliSchu/patch-2
jyrkioraskari Apr 22, 2021
91065c7
Updated web site
jyrkioraskari Apr 22, 2021
0253f97
Merge pull request #6 from jyrkioraskari/master
jyrkioraskari Apr 22, 2021
9f0a7ed
URL fix
jyrkioraskari Apr 22, 2021
cfbd254
Merge pull request #7 from jyrkioraskari/master
jyrkioraskari Apr 22, 2021
fd33fc1
Create bcfOWL-example
OlliSchu Jun 10, 2021
7a483e3
Merge pull request #10 from OlliSchu/patch-3
jyrkioraskari Jun 10, 2021
0ac9f63
Merge pull request #8 from jyrkioraskari/master
jyrkioraskari Aug 30, 2021
a0a9b25
Merge pull request #11 from Design-Computation-RWTH/master
jyrkioraskari Aug 31, 2021
c66886f
Fixed Typo
OlliSchu Jan 20, 2022
9a5c441
Added Container
OlliSchu Mar 1, 2022
4e4c6f9
Merge pull request #14 from OlliSchu/patch-4
jyrkioraskari Mar 1, 2022
9e6412b
Merge pull request #15 from OlliSchu/patch-5
jyrkioraskari Mar 1, 2022
48d6abc
Updated web page
jyrkioraskari Mar 16, 2022
e61067c
Merge pull request #16 from Design-Computation-RWTH/master
jyrkioraskari Mar 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,30 @@

version 0.7.0
The published web page for the ontology is here:
http://lbd.arch.rwth-aachen.de/bcfOWL/
http://lbd.arch.rwth-aachen.de/bcfOWL

This work is based on the specification in: https://github.com/buildingSMART/BCF-XML


## License
This project is released under the Creative Commons Attribution 4.0 International lisence.

## How to cite
```
@software{jyrki_oraskari_2021_4710742,
author = {Jyrki Oraskari and
Oliver Schulz},
title = {{jyrkioraskari/bcfOWL: BIM Collaboration Format
(BCF) Ontology Description v 0.7}},
month = apr,
year = 2021,
publisher = {Zenodo},
version = {0.7},
doi = {10.5281/zenodo.4710742},
url = {https://doi.org/10.5281/zenodo.4710742}
}
```

## Acknowledgements

This research had been funded by the EU through the H2020 project BIM4REN.
71 changes: 71 additions & 0 deletions bcfOWL-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
@prefix inst: <http://example.org/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix geo: <http://www.opengis.net/ont/geosparql#> .
@prefix bot: <https://w3id.org/bot#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix bcfOWL: <http://lbd.arch.rwth-aachen.de/bcfOWL/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .


inst:topic_296c7f16-a92e-4608-a649-5506145bf8f0 a bcfOWL:Topic ;
bcfOWL:hasGuid "296c7f16-a92e-4608-a649-5506145bf8f0"^^xsd:string ;
bcfOWL:hasProject inst:project_5a9bc49e-da48-9615-bcc9-0c45d0a3ede4 ;
bcfOWL:hasTopicStatus inst:Closed ;
bcfOWL:hasTopicType inst:Information ;
bcfOWL:hasTitle "Working Title"^^xsd:string ;
bcfOWL:hasCreationAuthor inst:OliverSchulz ;
bcfOWL:hasCreationDay "2021-01-25T17:18:50+00:00"^^xsd:dateTime ;
bcfOWL:hasAssignedTo inst:OliverSchulz ;
bcfOWL:hasLabels inst:Documentation ;
bcfOWL:hasIndex "1"^^xsd:integer .

inst:comment_c77146fe-030d-49a2-8791-895708d37450 a bcfOWL:Comment ;
bcfOWL:hasGuid "c77146fe-030d-49a2-8791-895708d37450"^^xsd:string ;
bcfOWL:hasTopic inst:topic_296c7f16-a92e-4608-a649-5506145bf8f0 ;
bcfOWL:hasProject inst:project_5a9bc49e-da48-9615-bcc9-0c45d0a3ede4 ;
bcfOWL:hasComment "Test Comment"^^xsd:string ;
bcfOWL:hasAuthor inst:OliverSchulz ;
bcfOWL:hasModifiedAuthor inst:OliverSchulz ;
bcfOWL:hasCommentDate "2021-01-25T17:18:50+00:00"^^xsd:dateTime ;
bcfOWL:hasViewpoint inst:viewpoint_2101f59a-21f7-4577-a63d-c7466e8a57f1 .

inst:viewpoint_2101f59a-21f7-4577-a63d-c7466e8a57f1 a bcfOWL:Viewpoint ;
bcfOWL:hasGuid "2101f59a-21f7-4577-a63d-c7466e8a57f1"^^xsd:string ;
bcfOWL:hasTopic inst:topic_296c7f16-a92e-4608-a649-5506145bf8f0 ;
bcfOWL:hasProject inst:project_752c06eb-40e4-4d32-9d3b-791251aef919 ;
bcfOWL:hasPerspectiveCamera inst:PerspectiveCamera_2101f59a-21f7-4577-a63d-c7466e8a57f1 ;
bcfOWL:hasSelection inst:Selection_2101f59a-21f7-4577-a63d-c7466e8a57f1 ;
bcfOWL:SpacesVisible true ;
bcfOWL:SpaceBoundariesVisible false ;
bcfOWL:OpeningsVisible true ;
bcfOWL:hasException inst:Exception_2101f59a-21f7-4577-a63d-c7466e8a57f1 ;
bcfOWL:hasDefaulVisibility false ;
bcfOWL:hasSnapshot "http://lbd.arch.rwth-aachen.de/bcf/v2.1/snapshot/daca6c77-555e-4854-9e13-90668f1f41a5" .

inst:PerspectiveCamera_2101f59a-21f7-4577-a63d-c7466e8a57f1 a bcfOWL:PerspectiveCamera ;
bcfOWL:hasCameraViewPoint inst:CameraViewPoint_752c06eb-40e4-4d32-9d3b-791251aef919 ;
bcfOWL:hasCameraDirection inst:CameraDirection_752c06eb-40e4-4d32-9d3b-791251aef919 ;
bcfOWL:hasCameraUpVector inst:CameraUpVector_752c06eb-40e4-4d32-9d3b-791251aef919 ;
bcfOWL:hasFieldOfView "30"^^xsd:double ;
bcfOWL:hasAspectRatio "1.33"^^xsd:double .

inst:CameraViewPoint_2101f59a-21f7-4577-a63d-c7466e8a57f1 a geo:Geometry ;
geo:asWKT "POINT Z(10.72 16.16 1.26)"^^geo:wktLiteral .

inst:CameraDirection_2101f59a-21f7-4577-a63d-c7466e8a57f1 a geo:Geometry ;
geo:asWKT "POINT Z(0.96 -0.21 -0.14)"^^geo:wktLiteral .

inst:CameraUpVector_2101f59a-21f7-4577-a63d-c7466e8a57f1 a geo:Geometry ;
geo:asWKT "POINT Z(0.13 -0.03 0.99)"^^geo:wktLiteral .

inst:Selection_2101f59a-21f7-4577-a63d-c7466e8a57f1 a bcfOWL:Selection ;
bcfOWL:hasComponent inst:Element_a22a6d69-b769-4d7a-bc66-f657f8efb8b2 ;
bcfOWL:hasComponent inst:Element_7e5bf9f9311442c998188bca9a0fca47 .

inst:Exception_2101f59a-21f7-4577-a63d-c7466e8a57f1 a bcfOWL:Exception ;
bcfOWL:hasComponent inst:Element_4ScshxZO9AJBebsniSz9Yk .

inst:Element_a22a6d69-b769-4d7a-bc66-f657f8efb8b2 a bcfOWL:Component ;
bcfOWL:hasIfcGuid "a22a6d69-b769-4d7a-bc66-f657f8efb8b2"^^xsd:string ;
bcfOWL:hasOriginatingSystem inst:ExampleCADApplication .
30 changes: 24 additions & 6 deletions bcfOWL.owl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix bcfOWL: <http://lbd.arch.rwth-aachen.de/bcfOWL/> .
@prefix bcfOWL: <http://lbd.arch.rwth-aachen.de/bcfOWL#> .

#### OWL Annotations ####

Expand All @@ -20,17 +20,17 @@ vann:prefferedNamespacePrefix a owl:AnnotationProperty .
vann:prefferedNamespaceURI a owl:AnnotationProperty .


<http://lbd.arch.rwth-aachen.de/bcfOWL/> rdf:type owl:Ontology ;
<http://lbd.arch.rwth-aachen.de/bcfOWL#> rdf:type owl:Ontology ;
owl:versionInfo "0.7.0" ;
owl:versionIRI <http://lbd.arch.rwth-aachen.de/bcfOWL/> ;
owl:versionIRI <http://lbd.arch.rwth-aachen.de/bcfOWL#> ;
dcterms:title "BIM collaboration Format Ontology" ;
dcterms:description "BCF 2.1 Ontology Description based on https://github.com/buildingSMART/BCF-XML" ;
dcterms:creator "Jyrki Oraskai" ;
dcterms:creator "Oliver Schulz" ;
dcterms:creator "Jakob Beetz" ;
dcterms:license "https://creativecommons.org/licenses/by/4.0/" ;
vann:prefferedNamespacePrefix "bcfOWL" ;
vann:prefferedNamespaceURI "http://lbd.arch.rwth-aachen.de/bcfOWL/" .
vann:prefferedNamespaceURI "http://lbd.arch.rwth-aachen.de/bcfOWL#" .


#### General Concepts ####
Expand All @@ -52,6 +52,24 @@ bcfOWL:hasTopic
owl:unionOf ( bcfOWL:Viewpoint bcfOWL:Comment )
] ;
rdfs:range bcfOWL:Topic .

bcfOWL:hasTopicsContainer
a owl:ObjectProperty ;
rdfs:label "has Topics Container"@en ;
rdfs:comment "Link to a resource containing URIs for Topics."@en ;
rdfs:domain bcfOWL:Project .

bcfOWL:hasViewpointsContainer
a owl:ObjectProperty ;
rdfs:label "has Viewpoints Container"@en ;
rdfs:comment "Link to a resource containing URIs for Viewpoints."@en ;
rdfs:domain bcfOWL:Topic .

bcfOWL:hasCommentsContainer
a owl:ObjectProperty ;
rdfs:label "has Comments Container"@en ;
rdfs:comment "Link to a resource containing URIs for Comments."@en ;
rdfs:domain bcfOWL:Viewpoint .

#### Project ####

Expand Down Expand Up @@ -628,7 +646,7 @@ bcfOWL:hasException
rdfs:domain bcfOWL:Viewpoint ;
rdfs:range bcfOWL:Exception .

bcfOWL:hasDefaulVisibility
bcfOWL:hasDefaultVisibility
a owl:DatatypeProperty ;
rdfs:label "has Default Visibility"@en ;
rdfs:comment "Object Property, pointing to the Default Visibility"@en ;
Expand Down Expand Up @@ -767,7 +785,7 @@ bcfOWL:hasSelection
a owl:ObjectProperty ;
rdfs:label "has Selection"@en ;
rdfs:comment "Object Property, pointing to the Selection class"@en ;
rdfs:domain bcfOWL:Component ;
rdfs:domain bcfOWL:Viewpoint ;
rdfs:range bcfOWL:Selection .

#### Cameras ####
Expand Down
47 changes: 47 additions & 0 deletions web pages/bcfOWL/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Turn off MultiViews
Options -MultiViews

# Directive to ensure *.rdf files served as appropriate content type,
# if not present in main apache config
AddType application/rdf+xml .rdf
AddType application/rdf+xml .owl
AddType text/turtle .ttl
AddType application/n-triples .n3
AddType application/ld+json .json
# Rewrite engine setup
RewriteEngine On
#Change the path to the folder here
RewriteBase /bcfOWL

# Rewrite rule to serve HTML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} !application/rdf\+xml.*(text/html|application/xhtml\+xml)
RewriteCond %{HTTP_ACCEPT} text/html [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla/.*
RewriteRule ^$ index-en.html [R=303,L]

# Rewrite rule to serve JSON-LD content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/ld\+json
RewriteRule ^$ ontology.json [R=303,L]

# Rewrite rule to serve RDF/XML content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} \*/\* [OR]
RewriteCond %{HTTP_ACCEPT} application/rdf\+xml
RewriteRule ^$ ontology.xml [R=303,L]

# Rewrite rule to serve N-Triples content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} application/n-triples
RewriteRule ^$ ontology.nt [R=303,L]

# Rewrite rule to serve TTL content from the vocabulary URI if requested
RewriteCond %{HTTP_ACCEPT} text/turtle [OR]
RewriteCond %{HTTP_ACCEPT} text/\* [OR]
RewriteCond %{HTTP_ACCEPT} \*/turtle
RewriteRule ^$ ontology.ttl [R=303,L]

RewriteCond %{HTTP_ACCEPT} .+
RewriteRule ^$ 406.html [R=406,L]
# Default response
# ---------------------------
# Rewrite rule to serve the RDF/XML content from the vocabulary URI by default
RewriteRule ^$ ontology.xml [R=303,L]
10 changes: 10 additions & 0 deletions web pages/bcfOWL/406.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head>
<body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource could not be found on this server.</p>
Available variants:<ul><li><a href="index-en.html">html</a></li><li><a href="ontology.json">JSON-LD</a></li><li><a href="ontology.xml">RDF/XML</a></li><li><a href="ontology.nt">N-Triples</a></li><li><a href="ontology.ttl">TTL</a></li></ul>

</body></html>
Loading