@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Chair.ttl#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema:  <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix x3d:     <https://www.web3d.org/specifications/x3d-4.0.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.0#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Interactive' ;
  x3do:version '3.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.0.xsd' .
:head a owl:NamedIndividual, x3do:head ;
  x3do:hasParent :X3D ;
  x3do:hasMeta :meta_1_1, :meta_1_2, :meta_1_3, :meta_1_4, :meta_1_5, :meta_1_6, :meta_1_7, :meta_1_8 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Chair.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Simple chair.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Baris AKTOP' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '16 August 2002' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Chair.x3d' ;
  x3do:name 'identifier' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "Chair.x3d" .
:meta dcterms:description "Simple chair." .
:meta dcterms:creator "Baris AKTOP" .
:meta dcterms:created "16 August 2002" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Chair.x3d" .
:meta dcterms:generator "X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :chair, :chairSensor ;
  x3do:hasROUTE :ROUTE_2_4 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'Chair.x3d' .
:chair a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Group_2_2_1 ;
  x3do:DEF 'chair' .
:Group_2_2_1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :chair ;
  x3do:hasChildren :Transform_2_2_1_1, :Transform_2_2_1_2, :Transform_2_2_1_3, :Transform_2_2_1_4, :Transform_2_2_1_5, :Transform_2_2_1_6, :Transform_2_2_1_7, :Transform_2_2_1_8 .
:Transform_2_2_1_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :chairLeg ;
  x3do:rotation ( 1 0 0 0.2 ) ;
  x3do:translation ( -0.5 0.5 -0.5 ) .
:chairLeg a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_1 ;
  x3do:hasGeometry :Cylinder_2_2_1_1_1_1 ;
  x3do:hasAppearance :chairapp ;
  x3do:DEF 'chairLeg' .
:Cylinder_2_2_1_1_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :chairLeg ;
  x3do:height 1 ;
  x3do:radius 0.1 .
:chairapp a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :chairLeg ;
  x3do:hasMaterial :Material_2_2_1_1_1_2_1 ;
  x3do:hasTexture :wood ;
  x3do:DEF 'chairapp' .
:Material_2_2_1_1_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :chairapp ;
  x3do:diffuseColor ( 0.8 0.5 0 ) .
:wood a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :chairapp ;
  x3do:DEF 'wood' ;
  x3do:url '"wood.jpg" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/wood.jpg"' .
:Transform_2_2_1_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :chairLeg-USE-1 ;
  x3do:rotation ( 1 0 0 0.2 ) ;
  x3do:translation ( 0.5 0.5 -0.5 ) .
:chairLeg-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_2 ;
  owl:sameAs :chairLeg . # DEF matching this USE
:Transform_2_2_1_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :chairLeg-USE-2 ;
  x3do:rotation ( 1 0 0 -0.2 ) ;
  x3do:translation ( -0.5 0.5 0.5 ) .
:chairLeg-USE-2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_3 ;
  owl:sameAs :chairLeg . # DEF matching this USE
:Transform_2_2_1_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :chairLeg-USE-3 ;
  x3do:rotation ( 1 0 0 -0.2 ) ;
  x3do:translation ( 0.5 0.5 0.5 ) .
:chairLeg-USE-3 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_4 ;
  owl:sameAs :chairLeg . # DEF matching this USE
:Transform_2_2_1_5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :Shape_2_2_1_5_1 ;
  x3do:translation ( 0 1 0 ) .
:Shape_2_2_1_5_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_5 ;
  x3do:hasGeometry :Box_2_2_1_5_1_1 ;
  x3do:hasAppearance :Appearance_2_2_1_5_1_2 .
:Box_2_2_1_5_1_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_2_1_5_1 ;
  x3do:size ( 1.2 0.1 1.2 ) .
:Appearance_2_2_1_5_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_1_5_1 ;
  x3do:hasMaterial :Material_2_2_1_5_1_2_1 ;
  x3do:hasTexture :wood-USE-1 .
:Material_2_2_1_5_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_1_5_1_2 ;
  x3do:diffuseColor ( 0.8 0.5 0 ) .
:wood-USE-1 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_2_1_5_1_2 ;
  owl:sameAs :wood . # DEF matching this USE
:Transform_2_2_1_6 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :bar ;
  x3do:rotation ( 1 0 0 -0.4 ) ;
  x3do:translation ( -0.5 1.5 -0.7 ) .
:bar a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_6 ;
  x3do:hasGeometry :Cylinder_2_2_1_6_1_1 ;
  x3do:hasAppearance :Appearance_2_2_1_6_1_2 ;
  x3do:DEF 'bar' .
:Cylinder_2_2_1_6_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :bar ;
  x3do:height 1.1 ;
  x3do:radius 0.08 .
:Appearance_2_2_1_6_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :bar ;
  x3do:hasMaterial :Material_2_2_1_6_1_2_1 ;
  x3do:hasTexture :wood-USE-2 .
:Material_2_2_1_6_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_1_6_1_2 ;
  x3do:diffuseColor ( 0.8 0.5 0 ) .
:wood-USE-2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_2_1_6_1_2 ;
  owl:sameAs :wood . # DEF matching this USE
:Transform_2_2_1_7 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :bar-USE-1 ;
  x3do:rotation ( 1 0 0 -0.4 ) ;
  x3do:translation ( 0.5 1.5 -0.7 ) .
:bar-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_7 ;
  owl:sameAs :bar . # DEF matching this USE
:Transform_2_2_1_8 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2_1 ;
  x3do:hasChildren :Shape_2_2_1_8_1 ;
  x3do:rotation ( 1 0 0 1.17 ) ;
  x3do:scale ( 2 1 1 ) ;
  x3do:translation ( 0 2 -0.8 ) .
:Shape_2_2_1_8_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_1_8 ;
  x3do:hasGeometry :Cylinder_2_2_1_8_1_1 ;
  x3do:hasAppearance :Appearance_2_2_1_8_1_2 .
:Cylinder_2_2_1_8_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_2_1_8_1 ;
  x3do:height 0.05 ;
  x3do:radius 0.3 .
:Appearance_2_2_1_8_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_1_8_1 ;
  x3do:hasMaterial :Material_2_2_1_8_1_2_1 ;
  x3do:hasTexture :wood-USE-3 .
:Material_2_2_1_8_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_1_8_1_2 ;
  x3do:diffuseColor ( 0.8 0.5 0 ) .
:wood-USE-3 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_2_1_8_1_2 ;
  owl:sameAs :wood . # DEF matching this USE
:chairSensor a owl:NamedIndividual, x3do:PlaneSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'chairSensor' ;
  x3do:description 'click and drag to move object' ;
  x3do:maxPosition ( 2 0 ) ;
  x3do:minPosition ( -2 0 ) .
:ROUTE_2_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'translation_changed' ;
  x3do:fromNode 'chairSensor' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'chair' .
