@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/LoadSensorExample.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_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'LoadSensorExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Simple test of LoadSensor node' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '17 July 2008' ;
  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 'Copyright Don Brutzman and Leonard Daly 2008' ;
  x3do:name 'rights' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D LoadSensor example' ;
  x3do:name 'subject' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/LoadSensorExample.x3d' ;
  x3do:name 'identifier' .
:meta_1_9 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_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "LoadSensorExample.x3d" .
:meta dcterms:description "Simple test of LoadSensor node" .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:created "17 July 2008" .
:meta dcterms:modified "27 July 2024" .
:meta dcterms:rights "Copyright Don Brutzman and Leonard Daly 2008" .
:meta dcterms:subject "X3D LoadSensor example" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/LoadSensorExample.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, :ViewAll, :HelloWorld, :InlineLoadSensor, :PivotTextSigns, :SignRotationInterpolator, :SignRotationClock, :TraceScript ;
  x3do:hasROUTE :ROUTE_2_8, :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_12, :ROUTE_2_13 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'LoadSensorExample.x3d' .
:ViewAll a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:DEF 'ViewAll' ;
  x3do:description 'LoadSensor test' ;
  x3do:position ( 0 0 12 ) .
:HelloWorld a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Scene ;
  x3do:DEF 'HelloWorld' ;
  x3do:url '"../HelloWorld.x3d" "https://www.web3d.org/x3d/content/examples/HelloWorld.x3d"' .
:InlineLoadSensor a owl:NamedIndividual, x3do:LoadSensor ;
  x3do:hasParent :Scene ;
  x3do:hasWatchList :HelloWorld-USE-1 ;
  x3do:DEF 'InlineLoadSensor' ;
  x3do:timeOut '5' .
:HelloWorld-USE-1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :InlineLoadSensor ;
  owl:sameAs :HelloWorld . # DEF matching this USE
:PivotTextSigns a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_5_1, :Transform_2_5_2 ;
  x3do:DEF 'PivotTextSigns' ;
  x3do:translation ( 0 3 0 ) .
:Shape_2_5_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :PivotTextSigns ;
  x3do:hasGeometry :Text_2_5_1_1 ;
  x3do:hasAppearance :Appearance_2_5_1_2 .
:Text_2_5_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:hasFontStyle :FontStyle_2_5_1_1_1 ;
  x3do:length ( 0 ) ;
  x3do:string '"LoadSensor waiting for HelloWorld scene..."' .
:FontStyle_2_5_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_5_1_1 ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.7 ;
  x3do:cssStyle 'ITALIC' .
:Appearance_2_5_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:hasMaterial :Material_2_5_1_2_1 .
:Material_2_5_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_2 ;
  x3do:emissiveColor ( 0.878431 0.262745 0 ) .
:Transform_2_5_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :PivotTextSigns ;
  x3do:hasChildren :Shape_2_5_2_1 ;
  x3do:rotation ( 0 1 0 1.57 ) .
:Shape_2_5_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_2 ;
  x3do:hasGeometry :Text_2_5_2_1_1 ;
  x3do:hasAppearance :Appearance_2_5_2_1_2 .
:Text_2_5_2_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_5_2_1 ;
  x3do:hasFontStyle :FontStyle_2_5_2_1_1_1 ;
  x3do:length ( 0 ) ;
  x3do:string '"LoadSensor reports HelloWorld scene loading complete."' .
:FontStyle_2_5_2_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_5_2_1_1 ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.7 ;
  x3do:cssStyle 'ITALIC' .
:Appearance_2_5_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_2_1 ;
  x3do:hasMaterial :Material_2_5_2_1_2_1 .
:Material_2_5_2_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_2_1_2 ;
  x3do:emissiveColor ( 0 0.278431 0.027451 ) .
:SignRotationInterpolator a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'SignRotationInterpolator' ;
  x3do:key ( 0 1 ) ;
  x3do:keyValue ( 0 1 0 0 0 1 0 -1.57 ) .
:SignRotationClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'SignRotationClock' ;
  x3do:cycleInterval '0.8' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'loadTime' ;
  x3do:fromNode 'InlineLoadSensor' ;
  x3do:toField 'set_startTime' ;
  x3do:toNode 'SignRotationClock' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'SignRotationClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'SignRotationInterpolator' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'SignRotationInterpolator' ;
  x3do:toField 'set_rotation' ;
  x3do:toNode 'PivotTextSigns' .
:TraceScript a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_11_1, :field_2_11_2 ;
  x3do:DEF 'TraceScript' ;
  x3do:sourceCode """
ecmascript:
function eventLoaded (value)
{
	Browser.println ('InlineLoadSensor isLoaded=' + value);
}
function loadTimeEvent (value)
{
	Browser.println ('InlineLoadSensor loadTime=' + value);
}
""" .
:field_2_11_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :TraceScript ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'eventLoaded' ;
  x3do:type 'SFBool' .
:field_2_11_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :TraceScript ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'loadTimeEvent' ;
  x3do:type 'SFTime' .
:ROUTE_2_12 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isLoaded' ;
  x3do:fromNode 'InlineLoadSensor' ;
  x3do:toField 'eventLoaded' ;
  x3do:toNode 'TraceScript' .
:ROUTE_2_13 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'loadTime' ;
  x3do:fromNode 'InlineLoadSensor' ;
  x3do:toField 'loadTimeEvent' ;
  x3do:toNode 'TraceScript' .
