@prefix :        <https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Turret.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_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Turret.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'AAAV Gun Turret' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'William Geissler' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '27 January 2001' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '20 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Turret.x3d' ;
  x3do:name 'identifier' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' ;
  x3do:name 'generator' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "Turret.x3d" .
:meta dcterms:description "AAAV Gun Turret" .
:meta dcterms:creator "William Geissler" .
:meta dcterms:created "27 January 2001" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Turret.x3d" .
:meta dcterms:generator "X3D-Edit 3.2, 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, :Viewpoint_2_2, :Transform_2_3, :Turret ;
  x3do:hasROUTE :ROUTE_2_5 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:info '"AAAV 30mm cannon turret"' ;
  x3do:title 'AAAV Turret' .
:Viewpoint_2_2 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Front' ;
  x3do:orientation ( 0 -1 0 1.57 ) ;
  x3do:position ( -40 0 0 ) .
:Transform_2_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Viewpoint_2_3_1 ;
  x3do:rotation ( 0 1 0 1.57 ) ;
  x3do:translation ( 14 12 0 ) .
:Viewpoint_2_3_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Transform_2_3 ;
  x3do:description 'Atop Turret' ;
  x3do:orientation ( 1 0 0 -0.5 ) ;
  x3do:position ( 0 0 0 ) .
:Turret a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :TurretBody, :Gun, :FIRST_CYLINDERSENSOR ;
  x3do:DEF 'Turret' .
:TurretBody a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Turret ;
  x3do:hasChildren :Shape_2_4_1_1, :Shape_2_4_1_2, :Transform_2_4_1_3, :Transform_2_4_1_4 ;
  x3do:DEF 'TurretBody' .
:Shape_2_4_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TurretBody ;
  x3do:hasAppearance :Appearance_2_4_1_1_1 ;
  x3do:hasGeometry :IndexedFaceSet_2_4_1_1_2 .
:Appearance_2_4_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:hasTexture :cammie3 .
:cammie3 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_4_1_1_1 ;
  x3do:DEF 'cammie3' ;
  x3do:url '"cammie3.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie3.jpg"' .
:IndexedFaceSet_2_4_1_1_2 a owl:NamedIndividual, x3do:IndexedFaceSet ;
  x3do:hasParent :Shape_2_4_1_1 ;
  x3do:hasCoord :Coordinate_2_4_1_1_2_1 ;
  x3do:convex false ;
  x3do:coordIndex ( 0 9 8 7 6 5 4 3 2 1 0 -1 10 11 12 13 14 15 16 17 18 10 -1 2 3 13 12 2 -1 1 2 12 11 1 -1 0 1 11 10 0 -1 9 0 10 18 9 -1 8 9 18 17 8 -1 7 8 17 16 7 -1 6 7 16 15 6 -1 3 4 5 6 20 19 3 -1 14 13 3 19 14 -1 15 14 19 6 15 -1 ) .
:Coordinate_2_4_1_1_2_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedFaceSet_2_4_1_1_2 ;
  x3do:point ( 2.0 0.0 -2.7 -1.4 0.0 -2.7 -3.0 0.0 -1.9 -3.0 0.0 0.7 -3.0 0.0 1.7 -1.4 0.0 2.7 0.0 0.0 2.7 2.0 0.0 2.7 3.0 0.0 1.7 3.0 0.0 -1.7 1.9 1.4 -2.5 -1.2 1.4 -2.5 -2.2 1.4 -2.0 -2.2 1.4 0.7 0.0 1.4 0.7 0.0 1.4 2.5 1.9 1.4 2.5 2.8 1.4 1.5 2.8 1.4 -1.5 0.0 0.5 0.7 0.0 0.5 2.5 -2.2 0.0 0.7 ) .
:Shape_2_4_1_2 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :TurretBody ;
  x3do:hasGeometry :Extrusion_2_4_1_2_1 ;
  x3do:hasAppearance :Appearance_2_4_1_2_2 .
:Extrusion_2_4_1_2_1 a owl:NamedIndividual, x3do:Extrusion ;
  x3do:hasParent :Shape_2_4_1_2 ;
  x3do:ccw false ;
  x3do:crossSection ( 0.4 1.0 -0.4 1.0 -1.0 0.4 -1.0 -0.4 -0.4 -1.0 0.4 -1.0 1.0 -0.4 1.0 0.4 0.4 1.0 ) ;
  x3do:spine ( 0.6 1.4 -0.9 0.6 1.7 -0.9 ) .
:Appearance_2_4_1_2_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_2 ;
  x3do:hasMaterial :Material_2_4_1_2_2_1 .
:Material_2_4_1_2_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2_2 ;
  x3do:ambientIntensity 0.26 ;
  x3do:diffuseColor ( 0.15 0.05 0.0 ) ;
  x3do:shininess 0.08 ;
  x3do:specularColor ( 0.75 0.33 0.0 ) .
:Transform_2_4_1_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :TurretBody ;
  x3do:hasChildren :Shape_2_4_1_3_1 ;
  x3do:translation ( 0.6 1.75 -0.9 ) .
:Shape_2_4_1_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_1_3 ;
  x3do:hasGeometry :Cylinder_2_4_1_3_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_3_1_2 .
:Cylinder_2_4_1_3_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_4_1_3_1 ;
  x3do:height 0.1 ;
  x3do:radius 1.1 .
:Appearance_2_4_1_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_3_1 ;
  x3do:hasTexture :cammie3-USE-1 .
:cammie3-USE-1 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_4_1_3_1_2 ;
  owl:sameAs :cammie3 . # DEF matching this USE
:Transform_2_4_1_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :TurretBody ;
  x3do:hasChildren :Shape_2_4_1_4_1 ;
  x3do:translation ( 0.0 1.0 1.6 ) .
:Shape_2_4_1_4_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_4_1_4 ;
  x3do:hasGeometry :Box_2_4_1_4_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_4_1_2 .
:Box_2_4_1_4_1_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_4_1_4_1 ;
  x3do:size ( 0.2 0.6 1.4 ) .
:Appearance_2_4_1_4_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_4_1 ;
  x3do:hasMaterial :Material_2_4_1_4_1_2_1 .
:Material_2_4_1_4_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_4_1_2 ;
  x3do:ambientIntensity 0.3 ;
  x3do:diffuseColor ( 0.15 0.15 0.25 ) ;
  x3do:shininess 0.1 ;
  x3do:specularColor ( 0.35 0.35 0.4 ) .
:Gun a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Turret ;
  x3do:hasChildren :Inline_2_4_2_1 ;
  x3do:DEF 'Gun' ;
  x3do:rotation ( 0 1 0 -1.57 ) ;
  x3do:scale ( 0.6 0.6 0.6 ) ;
  x3do:translation ( -2.4 0.7 0 ) .
:Inline_2_4_2_1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Gun ;
  x3do:url '"Bushmaster.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Bushmaster.wrl" "Bushmaster.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Bushmaster.x3d"' .
:FIRST_CYLINDERSENSOR a owl:NamedIndividual, x3do:CylinderSensor ;
  x3do:hasParent :Turret ;
  x3do:DEF 'FIRST_CYLINDERSENSOR' ;
  x3do:maxAngle 1.57 ;
  x3do:minAngle -1.57 .
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'rotation_changed' ;
  x3do:fromNode 'FIRST_CYLINDERSENSOR' ;
  x3do:toField 'set_rotation' ;
  x3do:toNode 'Turret' .
