@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorExample.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.3' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.3.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_12, :meta_1_13 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'ProximitySensorExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Demonstrates use of a ProximitySensor in building a HUD' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Leonard Daly and Don Brutzman' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '15 July 2006' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '27 July 2024' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'ProximitySensorVisualization.png' ;
  x3do:name 'Image' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://X3dGraphics.com' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dResources.html' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Copyright 2006, Daly Realism and Don Brutzman' ;
  x3do:name 'rights' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com' ;
  x3do:name 'subject' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorExample.x3d' ;
  x3do:name 'identifier' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "ProximitySensorExample.x3d" .
:meta dcterms:description "Demonstrates use of a ProximitySensor in building a HUD" .
:meta dcterms:creator "Leonard Daly and Don Brutzman" .
:meta dcterms:created "15 July 2006" .
:meta dcterms:modified "27 July 2024" .
:meta dcterms:Image "ProximitySensorVisualization.png" .
:meta dcterms:reference "https://X3dGraphics.com" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/X3dResources.html" .
:meta dcterms:rights "Copyright 2006, Daly Realism and Don Brutzman" .
:meta dcterms:subject "X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorExample.x3d" .
:meta dcterms:generator "X3D-Edit 4.0, 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, :HereIAm, :Inline_2_3, :HUD, :CnvText ;
  x3do:hasROUTE :ROUTE_2_6, :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_11 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'ProximitySensorExample.x3d' .
:HereIAm a owl:NamedIndividual, x3do:ProximitySensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'HereIAm' ;
  x3do:size ( 100 100 100 ) .
:Inline_2_3 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Scene ;
  x3do:url '"../KelpForestExhibit/KelpForestMain.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain.x3d" "../KelpForestExhibit/KelpForestMain.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/KelpForestExhibit/KelpForestMain.wrl"' .
:HUD a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :PushBack ;
  x3do:DEF 'HUD' .
:PushBack a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :HUD ;
  x3do:hasChildren :Shape_2_4_1_1, :HudContents ;
  x3do:DEF 'PushBack' ;
  x3do:translation ( -0.8 1 -3 ) .
:Shape_2_4_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :PushBack ;
  x3do:hasAppearance :Appearance_2_4_1_1_1 ;
  x3do:hasGeometry :Box_2_4_1_1_2 .
:Appearance_2_4_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:hasMaterial :Material_2_4_1_1_1_1 .
:Material_2_4_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_1_1 ;
  x3do:diffuseColor ( 1 1 0 ) .
:Box_2_4_1_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:size ( 1.5 .4 .1 ) .
:HudContents a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PushBack ;
  x3do:hasChildren :TopText, :BottomText ;
  x3do:DEF 'HudContents' ;
  x3do:translation ( -0.7 .3 .1 ) .
:TopText a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :HudContents ;
  x3do:hasChildren :Shape_2_4_1_2_1_1 ;
  x3do:DEF 'TopText' ;
  x3do:translation ( 0 -0.2 0 ) .
:Shape_2_4_1_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TopText ;
  x3do:hasAppearance :Text_app ;
  x3do:hasGeometry :TopTextLine .
:Text_app a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_2_1_1 ;
  x3do:hasMaterial :Material_2_4_1_2_1_1_1_1 ;
  x3do:DEF 'Text_app' .
:Material_2_4_1_2_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Text_app ;
  x3do:diffuseColor ( 0 0 0 ) .
:TopTextLine a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_4_1_2_1_1 ;
  x3do:hasFontStyle :TextStyle ;
  x3do:DEF 'TopTextLine' ;
  x3do:string '"Position 0.00 0.00 10.00"' .
:TextStyle a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :TopTextLine ;
  x3do:DEF 'TextStyle' ;
  x3do:family '"SANS" "SERIF"' ;
  x3do:justify '"BEGIN" "BEGIN"' ;
  x3do:size 0.1 .
:BottomText a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :HudContents ;
  x3do:hasChildren :Shape_2_4_1_2_2_1 ;
  x3do:DEF 'BottomText' ;
  x3do:translation ( 0 -0.4 0 ) .
:Shape_2_4_1_2_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :BottomText ;
  x3do:hasAppearance :Text_app-USE-1 ;
  x3do:hasGeometry :BottomTextLine .
:Text_app-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_2_2_1 ;
  owl:sameAs :Text_app . # DEF matching this USE
:BottomTextLine a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_4_1_2_2_1 ;
  x3do:hasFontStyle :TextStyle-USE-1 ;
  x3do:DEF 'BottomTextLine' ;
  x3do:string '"Orientation: 0.000 1.000 0.000 0.00"' .
:TextStyle-USE-1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :BottomTextLine ;
  owl:sameAs :TextStyle . # DEF matching this USE
:CnvText a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_5_1, :field_2_5_2, :field_2_5_3, :field_2_5_4 ;
  x3do:DEF 'CnvText' ;
  x3do:url '"ProximitySensorScriptConvertText.js" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/ProximitySensorScriptConvertText.js"' .
:field_2_5_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CnvText ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'position' ;
  x3do:type 'SFVec3f' .
:field_2_5_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CnvText ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'orientation' ;
  x3do:type 'SFRotation' .
:field_2_5_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CnvText ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'positionText' ;
  x3do:type 'MFString' .
:field_2_5_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :CnvText ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'orientationText' ;
  x3do:type 'MFString' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientation_changed' ;
  x3do:fromNode 'HereIAm' ;
  x3do:toField 'rotation' ;
  x3do:toNode 'HUD' .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'position_changed' ;
  x3do:fromNode 'HereIAm' ;
  x3do:toField 'translation' ;
  x3do:toNode 'HUD' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'position_changed' ;
  x3do:fromNode 'HereIAm' ;
  x3do:toField 'position' ;
  x3do:toNode 'CnvText' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientation_changed' ;
  x3do:fromNode 'HereIAm' ;
  x3do:toField 'orientation' ;
  x3do:toNode 'CnvText' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'positionText' ;
  x3do:fromNode 'CnvText' ;
  x3do:toField 'string' ;
  x3do:toNode 'TopTextLine' .
:ROUTE_2_11 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'orientationText' ;
  x3do:fromNode 'CnvText' ;
  x3do:toField 'string' ;
  x3do:toNode 'BottomTextLine' .
