Swop
Semantic Web-based Open engineering Platform
innerwall.owl
File contents
<?xml version="1.0"?>
<rdf:RDF
xmlns:cuboidcenter="http://www.swop-project.eu/ontologies/dynamic/cuboidcenter.owl#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:representation="http://www.swop-project.eu/ontologies/pmo/representation.owl#"
xmlns:innerwall="http://www.swop-project.eu/ontologies/dynamic/innerwall.owl#"
xmlns:operation="http://www.swop-project.eu/ontologies/pmo/operation.owl#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:rule="http://www.swop-project.eu/ontologies/pmo/rule.owl#"
xmlns:door="http://www.swop-project.eu/ontologies/dynamic/door.owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:product="http://www.swop-project.eu/ontologies/pmo/product.owl#"
xmlns:owl11="http://www.w3.org/2006/12/owl11#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xml:base="http://www.swop-project.eu/ontologies/dynamic/innerwall.owl">
<owl:Ontology rdf:about="">
<owl:imports rdf:resource="http://www.swop-project.eu/ontologies/dynamic/cuboidcenter.owl"/>
<owl:imports rdf:resource="http://www.swop-project.eu/ontologies/dynamic/door.owl"/>
</owl:Ontology>
<owl:Class rdf:ID="InnerWall">
<rdfs:subClassOf rdf:resource="http://www.swop-project.eu/ontologies/pmo/product.owl#Product"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:allValuesFrom>
<owl:Class>
<owl:unionOf rdf:parseType="Collection">
<rdf:Description rdf:about="http://www.swop-project.eu/ontologies/dynamic/door.owl#Door"/>
</owl:unionOf>
</owl:Class>
</owl:allValuesFrom>
<owl:onProperty rdf:resource="http://www.swop-project.eu/ontologies/pmo/product.owl#hasPart_directly"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty>
<owl:DatatypeProperty rdf:ID="i"/>
</owl:onProperty>
<owl:maxCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>0</owl:maxCardinality>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty>
<owl:DatatypeProperty rdf:about="#i"/>
</owl:onProperty>
<owl:minCardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int"
>1</owl:minCardinality>
</owl:Restriction>
</rdfs:subClassOf>
<product:representation>
<representation:ConstructiveSolidGeometry rdf:ID="ConstructiveSolidGeometry_1">
<rule:next>
<rule:Assignment rdf:ID="AssignInitI2">
<rule:next>
<rule:WhileLoop rdf:ID="IfThenElse_2">
<rule:condition>
<operation:Comparison rdf:ID="ComparisonIandAmountDoors">
<operation:comparitor rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
><</operation:comparitor>
<operation:domain_I>
<owl:DatatypeProperty rdf:about="#i"/>
</operation:domain_I>
<operation:domain_II>
<operation:Amount rdf:ID="AmountDoors">
<operation:ofClass rdf:resource="http://www.swop-project.eu/ontologies/dynamic/door.owl#Door"/>
</operation:Amount>
</operation:domain_II>
</operation:Comparison>
</rule:condition>
<rule:domain_I>
<door:Door rdf:ID="CreateDoor">
<product:transformationMatrix>
<representation:TransformationMatrix rdf:ID="TransformationMatrixDoor">
<representation:translation>
<representation:Vector rdf:ID="VectorTranslationDoor">
<representation:z>
<operation:Division rdf:ID="yOffsetFix_">
<operation:domain_II>
<operation:Value>
<operation:value rdf:datatype=
"http://www.w3.org/2001/XMLSchema#float"
>2.0</operation:value>
</operation:Value>
</operation:domain_II>
<operation:domain_I>
<operation:Subtraction rdf:ID="yOffsetFix">
<operation:domain_II>
<owl:DatatypeProperty rdf:ID="height"/>
</operation:domain_II>
<operation:domain_I>
<operation:PartInstanceDatatypeProperty rdf:ID="PIP_DoorHeight">
<operation:ofClass rdf:resource="http://www.swop-project.eu/ontologies/dynamic/door.owl#Door"/>
<operation:domain_II>
<owl:DatatypeProperty rdf:about="#i"/>
</operation:domain_II>
<operation:domain_I rdf:resource="http://www.swop-project.eu/ontologies/dynamic/opening.owl#height"/>
</operation:PartInstanceDatatypeProperty>
</operation:domain_I>
</operation:Subtraction>
</operation:domain_I>
</operation:Division>
</representation:z>
<representation:y>
<operation:PartInstanceDatatypeProperty rdf:ID="PIP_xOffset">
<operation:domain_II>
<owl:DatatypeProperty rdf:about="#i"/>
</operation:domain_II>
<operation:domain_I rdf:resource="http://www.swop-project.eu/ontologies/dynamic/opening.owl#xOffset"/>
<operation:ofClass rdf:resource="http://www.swop-project.eu/ontologies/dynamic/door.owl#Door"/>
</operation:PartInstanceDatatypeProperty>
</representation:y>
</representation:Vector>
</representation:translation>
</representation:TransformationMatrix>
</product:transformationMatrix>
<rule:next>
<rule:Assignment rdf:ID="AssignIncreaseI">
<rule:parameter>
<owl:DatatypeProperty rdf:about="#i"/>
</rule:parameter>
<rule:rhs>
<operation:Addition rdf:ID="increasedI">
<operation:domain_II>
<operation:Value>
<operation:value rdf:datatype=
"http://www.w3.org/2001/XMLSchema#float"
>1.0</operation:value>
</operation:Value>
</operation:domain_II>
<operation:domain_I>
<owl:DatatypeProperty rdf:about="#i"/>
</operation:domain_I>
</operation:Addition>
</rule:rhs>
</rule:Assignment>
</rule:next>
</door:Door>
</rule:domain_I>
</rule:WhileLoop>
</rule:next>
<rule:rhs>
<operation:Value rdf:ID="Value_0">
<operation:value rdf:datatype="http://www.w3.org/2001/XMLSchema#float"
>0.0</operation:value>
</operation:Value>
</rule:rhs>
<rule:parameter>
<owl:DatatypeProperty rdf:about="#i"/>
</rule:parameter>
</rule:Assignment>
</rule:next>
<rule:domain_II>
<rule:Assignment rdf:ID="AssignInitI">
<rule:parameter>
<owl:DatatypeProperty rdf:about="#i"/>
</rule:parameter>
<rule:rhs rdf:resource="#Value_0"/>
<rule:next>
<rule:WhileLoop rdf:ID="IfThenElse_1">
<rule:domain_I>
<cuboidcenter:CuboidCenter rdf:ID="ShapeDoor">
<representation:transformationMatrix rdf:resource="#TransformationMatrixDoor"/>
<cuboidcenter:width>
<owl:DatatypeProperty rdf:ID="thickness"/>
</cuboidcenter:width>
<cuboidcenter:depth rdf:resource="#PIP_DoorHeight"/>
<cuboidcenter:height>
<operation:PartInstanceDatatypeProperty rdf:ID="PIP_DoorWidth">
<operation:ofClass rdf:resource="http://www.swop-project.eu/ontologies/dynamic/door.owl#Door"/>
<operation:domain_I rdf:resource="http://www.swop-project.eu/ontologies/dynamic/opening.owl#width"/>
<operation:domain_II>
<owl:DatatypeProperty rdf:about="#i"/>
</operation:domain_II>
</operation:PartInstanceDatatypeProperty>
</cuboidcenter:height>
<rule:next rdf:resource="#AssignIncreaseI"/>
</cuboidcenter:CuboidCenter>
</rule:domain_I>
<rule:condition rdf:resource="#ComparisonIandAmountDoors"/>
</rule:WhileLoop>
</rule:next>
</rule:Assignment>
</rule:domain_II>
<rule:domain_I>
<cuboidcenter:CuboidCenter rdf:ID="CreateInnerWall">
<cuboidcenter:depth>
<owl:DatatypeProperty rdf:about="#height"/>
</cuboidcenter:depth>
<cuboidcenter:width>
<owl:DatatypeProperty rdf:about="#thickness"/>
</cuboidcenter:width>
<cuboidcenter:height>
<owl:DatatypeProperty rdf:ID="length"/>
</cuboidcenter:height>
</cuboidcenter:CuboidCenter>
</rule:domain_I>
</representation:ConstructiveSolidGeometry>
</product:representation>
</owl:Class>
<owl:DatatypeProperty rdf:about="#height">
<product:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#float"
>2</product:defaultValue>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
<product:unit rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>m</product:unit>
<rdfs:domain rdf:resource="#InnerWall"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#thickness">
<product:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#float"
>0.18</product:defaultValue>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
<product:unit rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>m</product:unit>
<rdfs:domain rdf:resource="#InnerWall"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#i">
<rdfs:domain rdf:resource="#InnerWall"/>
<product:unit rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
></product:unit>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
</owl:DatatypeProperty>
<owl:DatatypeProperty rdf:about="#length">
<product:defaultValue rdf:datatype="http://www.w3.org/2001/XMLSchema#float"
>3</product:defaultValue>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
<product:unit rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>m</product:unit>
<rdfs:domain rdf:resource="#InnerWall"/>
</owl:DatatypeProperty>
</rdf:RDF>
Click here to get the file