@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/Geospatial/A3_GeoInline.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 'A3_GeoInline.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Martin Reddy SRI, original example' ;
  x3do:name 'creator' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman NPS, X3D encoding' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '26 June 2000' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '17 June 2020' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Specification example: on-demand inlining via GeoInline for scene resource management.' ;
  x3do:name 'description' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'GeoVRML 1.1 GeoInline functionality is embedded in X3D Inline node, GeoInline no longer supported in X3D.' ;
  x3do:name 'warning' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.geovrml.org/1.0/doc/examples.html' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'originals/geoinlineTest.wrl' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'VRML 97 encoding http://www.geovrml.org/1.0/doc/examples/geoinline.wrl' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Geospatial/A3_GeoInline.x3d' ;
  x3do:name 'identifier' .
:meta_1_12 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_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "A3_GeoInline.x3d" .
:meta dcterms:creator "Martin Reddy SRI, original example" .
:meta dcterms:creator "Don Brutzman NPS, X3D encoding" .
:meta dcterms:created "26 June 2000" .
:meta dcterms:modified "17 June 2020" .
:meta dcterms:description "Specification example: on-demand inlining via GeoInline for scene resource management." .
:meta dcterms:warning "GeoVRML 1.1 GeoInline functionality is embedded in X3D Inline node, GeoInline no longer supported in X3D." .
:meta dcterms:reference "http://www.geovrml.org/1.0/doc/examples.html" .
:meta dcterms:reference "originals/geoinlineTest.wrl" .
:meta dcterms:reference "VRML 97 encoding http://www.geovrml.org/1.0/doc/examples/geoinline.wrl" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/Geospatial/A3_GeoInline.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 :WorldInfo_2_1, :Group_2_2, :Transform_2_3, :Transform_2_4, :Transform_2_5, :Transform_2_6, :ReturnTrue, :ReturnFalse ;
  x3do:hasROUTE :ROUTE_2_9, :ROUTE_2_10, :ROUTE_2_11, :ROUTE_2_12 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'A3_GeoInline.x3d' .
:Group_2_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :TestInline .
:TestInline a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Group_2_2 ;
  x3do:DEF 'TestInline' ;
  x3do:load false ;
  x3do:url '"BoxSimple.x3d" "https://www.web3d.org/x3d/content/examples/Basic/Geospatial/BoxSimple.x3d" "BoxSimple.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Geospatial/BoxSimple.wrl"' .
:Transform_2_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :LoadTrigger, :Shape_2_3_2 ;
  x3do:scale ( 0.5 0.5 0.5 ) ;
  x3do:translation ( 2 1.0 0 ) .
:LoadTrigger a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_3 ;
  x3do:DEF 'LoadTrigger' ;
  x3do:description 'click to load inlined Box' .
:Shape_2_3_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3 ;
  x3do:hasAppearance :Appearance_2_3_2_1 ;
  x3do:hasGeometry :Cone_2_3_2_2 .
:Appearance_2_3_2_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_2 ;
  x3do:hasMaterial :Material_2_3_2_1_1 .
:Material_2_3_2_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1 ;
  x3do:diffuseColor ( 1 0 0 ) .
:Cone_2_3_2_2 a owl:NamedIndividual, x3do:Cone ;
  x3do:hasParent :Shape_2_3_2 .
:Transform_2_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_4_1 ;
  x3do:scale ( 0.5 0.5 0.5 ) ;
  x3do:translation ( 1.5 1.2 0.3 ) .
:Shape_2_4_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4 ;
  x3do:hasGeometry :Text_2_4_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_2 .
:Text_2_4_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_4_1 ;
  x3do:hasFontStyle :FontStyle_2_4_1_1_1 ;
  x3do:length ( 0 ) ;
  x3do:string '"Load Cube"' .
:FontStyle_2_4_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_4_1_1 .
:Appearance_2_4_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1 ;
  x3do:hasMaterial :Material_2_4_1_2_1 .
:Material_2_4_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2 ;
  x3do:diffuseColor ( 0 0.6 0.3 ) .
:Transform_2_5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :UnLoadTrigger, :Shape_2_5_2 ;
  x3do:rotation ( 1 0 0 3.1415 ) ;
  x3do:scale ( 0.5 0.5 0.5 ) ;
  x3do:translation ( 2 -1.0 0 ) .
:UnLoadTrigger a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Transform_2_5 ;
  x3do:DEF 'UnLoadTrigger' ;
  x3do:description 'click to unload inlined Box' .
:Shape_2_5_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5 ;
  x3do:hasAppearance :Appearance_2_5_2_1 ;
  x3do:hasGeometry :Cone_2_5_2_2 .
:Appearance_2_5_2_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_2 ;
  x3do:hasMaterial :Material_2_5_2_1_1 .
:Material_2_5_2_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_2_1 ;
  x3do:diffuseColor ( 0 0 1 ) .
:Cone_2_5_2_2 a owl:NamedIndividual, x3do:Cone ;
  x3do:hasParent :Shape_2_5_2 .
:Transform_2_6 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_6_1 ;
  x3do:scale ( 0.5 0.5 0.5 ) ;
  x3do:translation ( 1.5 -1.5 0.3 ) .
:Shape_2_6_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_6 ;
  x3do:hasGeometry :Text_2_6_1_1 ;
  x3do:hasAppearance :Appearance_2_6_1_2 .
:Text_2_6_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_6_1 ;
  x3do:hasFontStyle :FontStyle_2_6_1_1_1 ;
  x3do:length ( 0 ) ;
  x3do:string '"Unload Cube"' .
:FontStyle_2_6_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_6_1_1 .
:Appearance_2_6_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_6_1 ;
  x3do:hasMaterial :Material_2_6_1_2_1 .
:Material_2_6_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_6_1_2 ;
  x3do:diffuseColor ( 0.6 0.3 0 ) .
:ReturnTrue a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_7_1, :field_2_7_2 ;
  x3do:DEF 'ReturnTrue' ;
  x3do:sourceCode """
ecmascript:

function set_value( value ) {
  if ( value == true ) value_changed = true;
}
""" .
:field_2_7_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ReturnTrue ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_value' ;
  x3do:type 'SFBool' .
:field_2_7_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ReturnTrue ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'SFBool' .
:ReturnFalse a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_8_1, :field_2_8_2 ;
  x3do:DEF 'ReturnFalse' ;
  x3do:sourceCode """
ecmascript:

function set_value( value ) {
  if ( value == true ) value_changed = false;
}
""" .
:field_2_8_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ReturnFalse ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'set_value' ;
  x3do:type 'SFBool' .
:field_2_8_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ReturnFalse ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'value_changed' ;
  x3do:type 'SFBool' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'LoadTrigger' ;
  x3do:toField 'set_value' ;
  x3do:toNode 'ReturnTrue' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'ReturnTrue' ;
  x3do:toField 'set_load' ;
  x3do:toNode 'TestInline' .
:ROUTE_2_11 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'isActive' ;
  x3do:fromNode 'UnLoadTrigger' ;
  x3do:toField 'set_value' ;
  x3do:toNode 'ReturnFalse' .
:ROUTE_2_12 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'ReturnFalse' ;
  x3do:toField 'set_load' ;
  x3do:toNode 'TestInline' .
