@prefix :        <https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/Figure27_1VisibilitySensorDungeonSlidingDoors.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 'Immersive' ;
  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_9, :meta_1_10, :meta_1_11 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Figure27_1VisibilitySensorDungeonSlidingDoors.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Figure 27.1, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland' ;
  x3do:name 'creator' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.wiley.com/legacy/compbooks/vrml2sbk/ch27/27fig01.htm' ;
  x3do:name 'reference' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'translator' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '26 October 2000' ;
  x3do:name 'created' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Figure27_1VisibilitySensorDungeonSlidingDoors.png' ;
  x3do:name 'Image' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'A dungeon door that slides open when visible, and slides closed when not visible. When you are look away from the door it goes shut, then it reopens when you look back. Page up/down between the first two viewpoints to observe this behavior. Arrow keys also help you peek left/right. Interesting side effect: users can&apos;t back up through the closed door.' ;
  x3do:name 'description' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/Figure27_1VisibilitySensorDungeonSlidingDoors.x3d' ;
  x3do:name 'identifier' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "Figure27_1VisibilitySensorDungeonSlidingDoors.x3d" .
:meta dcterms:creator "Figure 27.1, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland" .
:meta dcterms:reference "http://www.wiley.com/legacy/compbooks/vrml2sbk/ch27/27fig01.htm" .
:meta dcterms:translator "Don Brutzman" .
:meta dcterms:created "26 October 2000" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:Image "Figure27_1VisibilitySensorDungeonSlidingDoors.png" .
:meta dcterms:description "A dungeon door that slides open when visible, and slides closed when not visible. When you are look away from the door it goes shut, then it reopens when you look back. Page up/down between the first two viewpoints to observe this behavior. Arrow keys also help you peek left/right. Interesting side effect: users can't back up through the closed door." .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/Figure27_1VisibilitySensorDungeonSlidingDoors.x3d" .
:meta dcterms:generator "X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:license "../../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :Viewpoint_2_1, :Viewpoint_2_2, :NavigationInfo_2_3, :Group_2_4 ;
  x3do:hasROUTE :ROUTE_2_5, :ROUTE_2_6, :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_11, :ROUTE_2_12, :ROUTE_2_13, :ROUTE_2_14, :ROUTE_2_15, :ROUTE_2_16, :ROUTE_2_17, :ROUTE_2_18, :ROUTE_2_19, :ROUTE_2_20 .
:Viewpoint_2_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Now doors open, because they are visible' ;
  x3do:fieldOfView 1.05 ;
  x3do:position ( 0 2 10 ) .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Now doors close, because they are not visible' ;
  x3do:fieldOfView 1.05 ;
  x3do:orientation ( 0 1 0 -0.85 ) ;
  x3do:position ( 0 2 5 ) .
:NavigationInfo_2_3 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:avatarSize ( 0.5 1.6 0.5 ) ;
  x3do:headlight false ;
  x3do:speed 2 ;
  x3do:type '"WALK" "EXAMINE" "ANY"' .
:Group_2_4 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :LOD_2_4_1, :Transform_2_4_2, :Transform_2_4_3, :Transform_2_4_4, :Transform_2_4_5, :Sound_2_4_6, :Sound_2_4_7, :OpenClock, :CloseClock, :LeftOpen, :LeftClose, :RightOpen, :RightClose .
:LOD_2_4_1 a owl:NamedIndividual, x3do:LOD ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :DungeonRoom, :WorldInfo_2_4_1_2 ;
  x3do:range ( 20 ) .
:DungeonRoom a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :LOD_2_4_1 ;
  x3do:DEF 'DungeonRoom' ;
  x3do:url '"../Chapter25LevelOfDetail/Figure25_08DungeonRoom.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_08DungeonRoom.x3d" "../Chapter25LevelOfDetail/Figure25_08DungeonRoom.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_08DungeonRoom.wrl"' .
:WorldInfo_2_4_1_2 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :LOD_2_4_1 ;
  x3do:info '"null node"' .
:Transform_2_4_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :LOD_2_4_2_1 ;
  x3do:translation ( 0 0 -10 ) .
:LOD_2_4_2_1 a owl:NamedIndividual, x3do:LOD ;
  x3do:hasParent :Transform_2_4_2 ;
  x3do:hasChildren :DungeonRoom-USE-1, :WorldInfo_2_4_2_1_2 ;
  x3do:range ( 20 ) .
:DungeonRoom-USE-1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :LOD_2_4_2_1 ;
  owl:sameAs :DungeonRoom . # DEF matching this USE
:WorldInfo_2_4_2_1_2 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :LOD_2_4_2_1 ;
  x3do:info '"null node"' .
:Transform_2_4_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :Inline_2_4_3_1 ;
  x3do:translation ( 0 0 -5 ) .
:Inline_2_4_3_1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Transform_2_4_3 ;
  x3do:url '"../Chapter25LevelOfDetail/Figure25_10DungeonWallWithDoorway.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_10DungeonWallWithDoorway.x3d" "../Chapter25LevelOfDetail/Figure25_10DungeonWallWithDoorway.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_10DungeonWallWithDoorway.wrl"' .
:Transform_2_4_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :Inline_2_4_4_1 ;
  x3do:rotation ( 0 1 0 1.57 ) ;
  x3do:scale ( 1 1 2 ) ;
  x3do:translation ( 0 0 -15 ) .
:Inline_2_4_4_1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Transform_2_4_4 ;
  x3do:url '"../Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.x3d" "../Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.wrl"' .
:Transform_2_4_5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasChildren :LeftDoor, :RightDoor, :DoorSense ;
  x3do:translation ( 0 0 -4.95 ) .
:LeftDoor a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_5 ;
  x3do:hasChildren :Transform_2_4_5_1_1 ;
  x3do:DEF 'LeftDoor' .
:Transform_2_4_5_1_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :LeftDoor ;
  x3do:hasChildren :Door ;
  x3do:translation ( -0.75 0 0 ) .
:Door a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Transform_2_4_5_1_1 ;
  x3do:DEF 'Door' ;
  x3do:url '"../Chapter25LevelOfDetail/Figure25_11DungeonDoor.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_11DungeonDoor.x3d" "../Chapter25LevelOfDetail/Figure25_11DungeonDoor.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_11DungeonDoor.wrl"' .
:RightDoor a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_4_5 ;
  x3do:hasChildren :Transform_2_4_5_2_1 ;
  x3do:DEF 'RightDoor' .
:Transform_2_4_5_2_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :RightDoor ;
  x3do:hasChildren :Door-USE-1 ;
  x3do:translation ( 0.75 0 0 ) .
:Door-USE-1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Transform_2_4_5_2_1 ;
  owl:sameAs :Door . # DEF matching this USE
:DoorSense a owl:NamedIndividual, x3do:VisibilitySensor ;
  x3do:hasParent :Transform_2_4_5 ;
  x3do:DEF 'DoorSense' ;
  x3do:center ( 0 1.75 0 ) ;
  x3do:size ( 3 2.5 1 ) .
:Sound_2_4_6 a owl:NamedIndividual, x3do:Sound ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasSource :OpenSound ;
  x3do:maxBack 60 ;
  x3do:maxFront 60 ;
  x3do:minBack 20 ;
  x3do:minFront 20 .
:OpenSound a owl:NamedIndividual, x3do:AudioClip ;
  x3do:hasParent :Sound_2_4_6 ;
  x3do:DEF 'OpenSound' ;
  x3do:description 'door clunks open' ;
  x3do:url '"clunk1.wav" "../Chapter27SensingVisibilityProximityCollision/clunk1.wav" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/clunk1.wav"' .
:Sound_2_4_7 a owl:NamedIndividual, x3do:Sound ;
  x3do:hasParent :Group_2_4 ;
  x3do:hasSource :CloseSound ;
  x3do:maxBack 60 ;
  x3do:maxFront 60 ;
  x3do:minBack 20 ;
  x3do:minFront 20 .
:CloseSound a owl:NamedIndividual, x3do:AudioClip ;
  x3do:hasParent :Sound_2_4_7 ;
  x3do:DEF 'CloseSound' ;
  x3do:description 'door clunks shut' ;
  x3do:url '"clunk1.wav" "../Chapter27SensingVisibilityProximityCollision/clunk1.wav" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter27SensingVisibilityProximityCollision/clunk1.wav"' .
:OpenClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'OpenClock' ;
  x3do:cycleInterval '2' .
:CloseClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'CloseClock' ;
  x3do:cycleInterval '2' .
:LeftOpen a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'LeftOpen' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 0 0 -1.3 0 0 ) .
:LeftClose a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'LeftClose' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( -1.3 0 0 0 0 0 ) .
:RightOpen a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'RightOpen' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 0 0 1.3 0 0 ) .
:RightClose a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :Group_2_4 ;
  x3do:DEF 'RightClose' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 1.3 0 0 0 0 0 ) .
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'OpenSound' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_stopTime' ;
  x3do:toNode 'OpenSound' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'OpenClock' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_stopTime' ;
  x3do:toNode 'OpenClock' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'CloseSound' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_stopTime' ;
  x3do:toNode 'CloseSound' .
:ROUTE_2_11 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'CloseClock' .
:ROUTE_2_12 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'DoorSense' ;
  x3do:toField 'set_stopTime' ;
  x3do:toNode 'CloseClock' .
:ROUTE_2_13 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'OpenClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'LeftOpen' .
:ROUTE_2_14 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'OpenClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'RightOpen' .
:ROUTE_2_15 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'CloseClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'LeftClose' .
:ROUTE_2_16 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'CloseClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'RightClose' .
:ROUTE_2_17 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'LeftOpen' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'LeftDoor' .
:ROUTE_2_18 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'RightOpen' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'RightDoor' .
:ROUTE_2_19 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'LeftClose' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'LeftDoor' .
:ROUTE_2_20 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'RightClose' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'RightDoor' .
