@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Robot.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_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Robot.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings example: Robot. Seek or zoom in towards the robot to start a simple animation sequence. This scene demonstrates nested prototype instances' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman and Joe Williams' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '1 June 2002' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '28 September 2025' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.15 Robot' ;
  x3do:name 'specificationSection' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-CD/Part01/examples.html#Robot' ;
  x3do:name 'specificationUrl' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Robot.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 "Robot.x3d" .
:meta dcterms:description "X3D encodings example: Robot. Seek or zoom in towards the robot to start a simple animation sequence. This scene demonstrates nested prototype instances" .
:meta dcterms:creator "Don Brutzman and Joe Williams" .
:meta dcterms:created "1 June 2002" .
:meta dcterms:modified "28 September 2025" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/Robot.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, :NavigationInfo_2_4, :Viewpoint_2_5, :Viewpoint_2_6, :Near, :WALK ;
  x3do:hasExternProtoDeclare :ExternProtoDeclare_2_2, :ExternProtoDeclare_2_3 ;
  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 'Robot.x3d' .
:ExternProtoDeclare_2_2 a owl:NamedIndividual, x3do:ExternProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_2_1, :field_2_2_2, :field_2_2_3, :field_2_2_4, :field_2_2_5, :field_2_2_6 ;
  x3do:name 'Shuttle' ;
  x3do:url '"ShuttlesAndPendulums.x3d#Shuttle" "https://www.web3d.org/Specifications/Encodings/ShuttlesAndPendulums.x3d#Shuttle"' .
:field_2_2_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'rate' ;
  x3do:type 'SFTime' .
:field_2_2_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'distance' ;
  x3do:type 'SFFloat' .
:field_2_2_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'children' ;
  x3do:type 'MFNode' .
:field_2_2_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' .
:field_2_2_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' .
:field_2_2_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'loop' ;
  x3do:type 'SFBool' .
:ExternProtoDeclare_2_3 a owl:NamedIndividual, x3do:ExternProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasField :field_2_3_1, :field_2_3_2, :field_2_3_3, :field_2_3_4, :field_2_3_5, :field_2_3_6 ;
  x3do:name 'Pendulum' ;
  x3do:url '"ShuttlesAndPendulums.x3d#Pendulum" "https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ShuttlesAndPendulums.x3d#Pendulum"' .
:field_2_3_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'rate' ;
  x3do:type 'SFTime' .
:field_2_3_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'maxAngle' ;
  x3do:type 'SFFloat' .
:field_2_3_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'children' ;
  x3do:type 'MFNode' .
:field_2_3_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' .
:field_2_3_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' .
:field_2_3_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_3 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'loop' ;
  x3do:type 'SFBool' .
:NavigationInfo_2_4 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:speed 20 ;
  x3do:type '"WALK" "ANY"' .
:Viewpoint_2_5 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Watch Robot Stand' ;
  x3do:position ( 0 0 150 ) .
:Viewpoint_2_6 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Watch Robot Walk when close' ;
  x3do:position ( 0 0 95 ) .
:Near a owl:NamedIndividual, x3do:ProximitySensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'Near' ;
  x3do:size ( 200 200 200 ) .
:WALK a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Scene ;
  x3do:hasFieldValue :fieldValue_2_8_1, :fieldValue_2_8_2, :fieldValue_2_8_3, :fieldValue_2_8_4 ;
  x3do:DEF 'WALK' ;
  x3do:name 'Shuttle' .
:fieldValue_2_8_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :WALK ;
  x3do:name 'stopTime' ;
  x3do:value '1' .
:fieldValue_2_8_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :WALK ;
  x3do:name 'rate' ;
  x3do:value '10' .
:fieldValue_2_8_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :WALK ;
  x3do:name 'distance' ;
  x3do:value 20 .
:fieldValue_2_8_4 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :WALK ;
  x3do:hasChildren :Transform_2_8_4_1 ;
  x3do:name 'children' .
:Transform_2_8_4_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :fieldValue_2_8_4 ;
  x3do:hasChildren :Shape_2_8_4_1_1, :Transform_2_8_4_1_2, :Transform_2_8_4_1_3, :Transform_2_8_4_1_4 ;
  x3do:rotation ( 0 1 0 1.57 ) .
:Shape_2_8_4_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_8_4_1 ;
  x3do:hasAppearance :A ;
  x3do:hasGeometry :Box_2_8_4_1_1_2 .
:A a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_8_4_1_1 ;
  x3do:hasMaterial :Material_2_8_4_1_1_1_1 ;
  x3do:DEF 'A' .
:Material_2_8_4_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :A ;
  x3do:diffuseColor ( 0 0.5 0.7 ) .
:Box_2_8_4_1_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_8_4_1_1 .
:Transform_2_8_4_1_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_8_4_1 ;
  x3do:hasChildren :Shape_2_8_4_1_2_1 ;
  x3do:scale ( 1 5 1 ) ;
  x3do:translation ( 0 -5 0 ) .
:Shape_2_8_4_1_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_8_4_1_2 ;
  x3do:hasAppearance :A-USE-1 ;
  x3do:hasGeometry :Sphere_2_8_4_1_2_1_2 .
:A-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_8_4_1_2_1 ;
  owl:sameAs :A . # DEF matching this USE
:Sphere_2_8_4_1_2_1_2 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_8_4_1_2_1 .
:Transform_2_8_4_1_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_8_4_1 ;
  x3do:hasChildren :Arm ;
  x3do:rotation ( 0 1 0 1.57 ) ;
  x3do:translation ( 1.5 0 0 ) .
:Arm a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_8_4_1_3 ;
  x3do:hasFieldValue :fieldValue_2_8_4_1_3_1_1, :fieldValue_2_8_4_1_3_1_2, :fieldValue_2_8_4_1_3_1_3, :fieldValue_2_8_4_1_3_1_4 ;
  x3do:DEF 'Arm' ;
  x3do:name 'Pendulum' .
:fieldValue_2_8_4_1_3_1_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Arm ;
  x3do:name 'stopTime' ;
  x3do:value '1' .
:fieldValue_2_8_4_1_3_1_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Arm ;
  x3do:name 'rate' ;
  x3do:value '1' .
:fieldValue_2_8_4_1_3_1_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Arm ;
  x3do:name 'maxAngle' ;
  x3do:value 0.52 .
:fieldValue_2_8_4_1_3_1_4 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Arm ;
  x3do:hasChildren :Transform_2_8_4_1_3_1_4_1 ;
  x3do:name 'children' .
:Transform_2_8_4_1_3_1_4_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :fieldValue_2_8_4_1_3_1_4 ;
  x3do:hasChildren :Shape_2_8_4_1_3_1_4_1_1 ;
  x3do:translation ( 0 -3 0 ) .
:Shape_2_8_4_1_3_1_4_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_8_4_1_3_1_4_1 ;
  x3do:hasAppearance :A-USE-2 ;
  x3do:hasGeometry :Cylinder_2_8_4_1_3_1_4_1_1_2 .
:A-USE-2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_8_4_1_3_1_4_1_1 ;
  owl:sameAs :A . # DEF matching this USE
:Cylinder_2_8_4_1_3_1_4_1_1_2 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_8_4_1_3_1_4_1_1 ;
  x3do:height 4 ;
  x3do:radius 0.5 .
:Transform_2_8_4_1_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_8_4_1 ;
  x3do:hasChildren :Arm-USE-1 ;
  x3do:rotation ( 0 -1 0 1.57 ) ;
  x3do:translation ( -1.5 0 0 ) .
:Arm-USE-1 a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_8_4_1_4 ;
  owl:sameAs :Arm . # DEF matching this USE
:ROUTE_2_9 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'Near' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'WALK' .
:ROUTE_2_10 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'enterTime' ;
  x3do:fromNode 'Near' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'Arm' .
:ROUTE_2_11 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'Near' ;
  x3do:toField 'stopTime' ;
  x3do:toNode 'WALK' .
:ROUTE_2_12 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'exitTime' ;
  x3do:fromNode 'Near' ;
  x3do:toField 'stopTime' ;
  x3do:toNode 'Arm' .
