@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/VisibleShapesTest.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 '4.0' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-4.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_12 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'VisibleShapesTest.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Test scene with BooleanSequencer animation of visible field on several X3DBoundedObject nodes, triggering a new feature in X3D4.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '18 January 2020' ;
  x3do:name 'created' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '1 June 2024' ;
  x3do:name 'modified' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'creator' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D 4.0 Architecture, ISO/IEC 19775-1:2023, 10 Grouping component, 10.3.1 X3DBoundedObject' ;
  x3do:name 'specificationSection' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/grouping.html#X3DBoundedObject' ;
  x3do:name 'specificationUrl' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D 4.0 Architecture, ISO/IEC 19775-1:2023, 12 Shape component, 12.3.5 X3DShapeNode' ;
  x3do:name 'specificationSection' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/shape.html#X3DShapeNode' ;
  x3do:name 'specificationUrl' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/VisibleShapesTest.x3d' ;
  x3do:name 'identifier' .
:meta_1_11 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_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "VisibleShapesTest.x3d" .
:meta dcterms:description "Test scene with BooleanSequencer animation of visible field on several X3DBoundedObject nodes, triggering a new feature in X3D4." .
:meta dcterms:created "18 January 2020" .
:meta dcterms:modified "1 June 2024" .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Animation/VisibleShapesTest.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, :EntryView, :BoxGroupingNode, :SphereGroupingNode, :CylinderGroupingNode, :SequencerClock ;
  x3do:hasROUTE :ROUTE_2_7, :ROUTE_2_8, :ROUTE_2_9 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'VisibleShapesTest.x3d' .
:EntryView a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:DEF 'EntryView' ;
  x3do:description 'Visible Shapes Test' ;
  x3do:position ( 0 0 12 ) .
:BoxGroupingNode a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :BoxShape, :Transform_2_3_2, :Pulsar1 ;
  x3do:hasROUTE :ROUTE_2_3_4 ;
  x3do:DEF 'BoxGroupingNode' ;
  x3do:translation ( -3 1.5 0 ) .
:BoxShape a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :BoxGroupingNode ;
  x3do:hasGeometry :Box_2_3_1_1 ;
  x3do:hasAppearance :Appearance_2_3_1_2 ;
  x3do:DEF 'BoxShape' .
:Box_2_3_1_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :BoxShape .
:Appearance_2_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :BoxShape ;
  x3do:hasMaterial :Red .
:Red a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_1_2 ;
  x3do:DEF 'Red' ;
  x3do:diffuseColor ( 1 0 0 ) .
:Transform_2_3_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :BoxGroupingNode ;
  x3do:hasChildren :BoxVisibleText ;
  x3do:translation ( 0 -2 0 ) .
:BoxVisibleText a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_2 ;
  x3do:hasGeometry :Text_2_3_2_1_1 ;
  x3do:hasAppearance :Appearance_2_3_2_1_2 ;
  x3do:DEF 'BoxVisibleText' .
:Text_2_3_2_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :BoxVisibleText ;
  x3do:hasFontStyle :TextStyle ;
  x3do:string '"Box visible"' .
:TextStyle a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_3_2_1_1 ;
  x3do:DEF 'TextStyle' ;
  x3do:family '"SANS"' ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:cssStyle 'BOLD' .
:Appearance_2_3_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :BoxVisibleText ;
  x3do:hasMaterial :Red-USE-1 .
:Red-USE-1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_2 ;
  owl:sameAs :Red . # DEF matching this USE
:Pulsar1 a owl:NamedIndividual, x3do:BooleanSequencer ;
  x3do:hasParent :BoxGroupingNode ;
  x3do:DEF 'Pulsar1' ;
  x3do:key ( 0 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( true false true true true ) .
:ROUTE_2_3_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :BoxGroupingNode ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Pulsar1' ;
  x3do:toField 'visible' ;
  x3do:toNode 'BoxGroupingNode' .
:SphereGroupingNode a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :SphereShape, :Transform_2_4_2, :Pulsar2 ;
  x3do:hasROUTE :ROUTE_2_4_4, :ROUTE_2_4_5 ;
  x3do:DEF 'SphereGroupingNode' ;
  x3do:translation ( 0 1.5 0 ) .
:SphereShape a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :SphereGroupingNode ;
  x3do:hasGeometry :Sphere_2_4_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_2 ;
  x3do:DEF 'SphereShape' .
:Sphere_2_4_1_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :SphereShape .
:Appearance_2_4_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :SphereShape ;
  x3do:hasMaterial :Green .
:Green a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2 ;
  x3do:DEF 'Green' ;
  x3do:diffuseColor ( 0 1 0 ) .
:Transform_2_4_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :SphereGroupingNode ;
  x3do:hasChildren :SphereVisibleText ;
  x3do:translation ( 0 -3 0 ) .
:SphereVisibleText a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_2 ;
  x3do:hasGeometry :Text_2_4_2_1_1 ;
  x3do:hasAppearance :Appearance_2_4_2_1_2 ;
  x3do:DEF 'SphereVisibleText' .
:Text_2_4_2_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :SphereVisibleText ;
  x3do:hasFontStyle :TextStyle-USE-1 ;
  x3do:string '"Sphere visible"' .
:TextStyle-USE-1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_4_2_1_1 ;
  owl:sameAs :TextStyle . # DEF matching this USE
:Appearance_2_4_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :SphereVisibleText ;
  x3do:hasMaterial :Green-USE-1 .
:Green-USE-1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_2_1_2 ;
  owl:sameAs :Green . # DEF matching this USE
:Pulsar2 a owl:NamedIndividual, x3do:BooleanSequencer ;
  x3do:hasParent :SphereGroupingNode ;
  x3do:DEF 'Pulsar2' ;
  x3do:key ( 0 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( true true false true true ) .
:ROUTE_2_4_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :SphereGroupingNode ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Pulsar2' ;
  x3do:toField 'visible' ;
  x3do:toNode 'SphereShape' .
:ROUTE_2_4_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :SphereGroupingNode ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Pulsar2' ;
  x3do:toField 'visible' ;
  x3do:toNode 'SphereVisibleText' .
:CylinderGroupingNode a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :CylinderShape, :Transform_2_5_2, :Pulsar3 ;
  x3do:hasROUTE :ROUTE_2_5_4, :ROUTE_2_5_5 ;
  x3do:DEF 'CylinderGroupingNode' ;
  x3do:translation ( 3 1.5 0 ) .
:CylinderShape a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :CylinderGroupingNode ;
  x3do:hasGeometry :Cylinder_2_5_1_1 ;
  x3do:hasAppearance :Appearance_2_5_1_2 ;
  x3do:DEF 'CylinderShape' .
:Cylinder_2_5_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :CylinderShape .
:Appearance_2_5_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :CylinderShape ;
  x3do:hasMaterial :Blue .
:Blue a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_2 ;
  x3do:DEF 'Blue' ;
  x3do:diffuseColor ( 0.4 0.4 1 ) .
:Transform_2_5_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :CylinderGroupingNode ;
  x3do:hasChildren :CylinderVisibleText ;
  x3do:translation ( 0 -4 0 ) .
:CylinderVisibleText 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 ;
  x3do:DEF 'CylinderVisibleText' .
:Text_2_5_2_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :CylinderVisibleText ;
  x3do:hasFontStyle :TextStyle-USE-2 ;
  x3do:string '"Cylinder visible"' .
:TextStyle-USE-2 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_5_2_1_1 ;
  owl:sameAs :TextStyle . # DEF matching this USE
:Appearance_2_5_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :CylinderVisibleText ;
  x3do:hasMaterial :Blue-USE-1 .
:Blue-USE-1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_2_1_2 ;
  owl:sameAs :Blue . # DEF matching this USE
:Pulsar3 a owl:NamedIndividual, x3do:BooleanSequencer ;
  x3do:hasParent :CylinderGroupingNode ;
  x3do:DEF 'Pulsar3' ;
  x3do:key ( 0 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( true true true false true ) .
:ROUTE_2_5_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :CylinderGroupingNode ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Pulsar3' ;
  x3do:toField 'visible' ;
  x3do:toNode 'CylinderShape' .
:ROUTE_2_5_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :CylinderGroupingNode ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'Pulsar3' ;
  x3do:toField 'visible' ;
  x3do:toNode 'CylinderVisibleText' .
:SequencerClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'SequencerClock' ;
  x3do:cycleInterval '8' ;
  x3do:loop true .
:ROUTE_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'SequencerClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Pulsar1' .
:ROUTE_2_8 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'SequencerClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Pulsar2' .
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'SequencerClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'Pulsar3' .
