@prefix :        <http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example14.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 'http://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_9, :meta_1_10, :meta_1_11, :meta_1_12 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Example14.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  x3do:name 'creator' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '22 November 2000' ;
  x3do:name 'created' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '26 November 2015' ;
  x3do:name 'modified' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D working group' ;
  x3do:name 'creator' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'VRML 97 specification example: animation of shuttle and pendulum prototype nodes.' ;
  x3do:name 'description' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'originals/exampleD_14.wrl' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'VRML 97, ISO/IEC 14772-1, Part 1: Functional specification and UTF-8 encoding, D.14 Shuttles and pendulums' ;
  x3do:name 'specificationSection' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.14' ;
  x3do:name 'specificationUrl' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example14.x3d' ;
  x3do:name 'identifier' .
:meta_1_11 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_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "Example14.x3d" .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:created "22 November 2000" .
:meta dcterms:modified "26 November 2015" .
:meta dcterms:creator "X3D working group" .
:meta dcterms:description "VRML 97 specification example: animation of shuttle and pendulum prototype nodes." .
:meta dcterms:reference "originals/exampleD_14.wrl" .
:meta dcterms:identifier "http://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example14.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:hasProtoDeclare :ProtoDeclare_2_1, :ProtoDeclare_2_2 ;
  x3do:hasChildren :Transform_2_3, :Transform_2_4 .
:ProtoDeclare_2_1 a owl:NamedIndividual, x3do:ProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasProtoInterface :ProtoInterface_2_1_1 ;
  x3do:hasProtoBody :ProtoBody_2_1_2 ;
  x3do:name 'Shuttle' .
:ProtoInterface_2_1_1 a owl:NamedIndividual, x3do:ProtoInterface ;
  x3do:hasParent :ProtoDeclare_2_1 ;
  x3do:hasField :field_2_1_1_1, :field_2_1_1_2, :field_2_1_1_3, :field_2_1_1_4, :field_2_1_1_5, :field_2_1_1_6 .
:field_2_1_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'rate' ;
  x3do:type 'SFTime' ;
  x3do:value '1' .
:field_2_1_1_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'distance' ;
  x3do:type 'SFFloat' ;
  x3do:value 1 .
:field_2_1_1_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'children' ;
  x3do:type 'MFNode' .
:field_2_1_1_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_1_1_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_1_1_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_1_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'loop' ;
  x3do:type 'SFBool' ;
  x3do:value true .
:ProtoBody_2_1_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_1 ;
  x3do:hasChildren :F, :T, :S, :I ;
  x3do:hasROUTE :ROUTE_2_1_2_5, :ROUTE_2_1_2_6, :ROUTE_2_1_2_7 .
:F a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:hasIS :IS_2_1_2_1_1 ;
  x3do:DEF 'F' .
:IS_2_1_2_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :F ;
  x3do:hasConnect :connect_2_1_2_1_1_1 .
:connect_2_1_2_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_1_1 ;
  x3do:nodeField 'children' ;
  x3do:protoField 'children' .
:T a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:hasIS :IS_2_1_2_2_1 ;
  x3do:DEF 'T' .
:IS_2_1_2_2_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :T ;
  x3do:hasConnect :connect_2_1_2_2_1_1, :connect_2_1_2_2_1_2, :connect_2_1_2_2_1_3, :connect_2_1_2_2_1_4 .
:connect_2_1_2_2_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_2_1 ;
  x3do:nodeField 'cycleInterval' ;
  x3do:protoField 'rate' .
:connect_2_1_2_2_1_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_2_1 ;
  x3do:nodeField 'startTime' ;
  x3do:protoField 'startTime' .
:connect_2_1_2_2_1_3 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_2_1 ;
  x3do:nodeField 'stopTime' ;
  x3do:protoField 'stopTime' .
:connect_2_1_2_2_1_4 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_2_1 ;
  x3do:nodeField 'loop' ;
  x3do:protoField 'loop' .
:S a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:hasField :field_2_1_2_3_1, :field_2_1_2_3_2 ;
  x3do:hasIS :IS_2_1_2_3_3 ;
  x3do:DEF 'S' ;
  x3do:sourceCode """
ecmascript:

function initialize () {     // constructor:setup interpolator
	pos1 = new SFVec3f(-distance, 0, 0);
	pos2 = new SFVec3f(distance, 0, 0);
	position = new MFVec3f(pos1, pos2, pos1);
}
""" .
:field_2_1_2_3_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :S ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'distance' ;
  x3do:type 'SFFloat' .
:field_2_1_2_3_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :S ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'position' ;
  x3do:type 'MFVec3f' .
:IS_2_1_2_3_3 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :S ;
  x3do:hasConnect :connect_2_1_2_3_3_1 .
:connect_2_1_2_3_3_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_1_2_3_3 ;
  x3do:nodeField 'distance' ;
  x3do:protoField 'distance' .
:I a owl:NamedIndividual, x3do:PositionInterpolator ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:DEF 'I' ;
  x3do:key ( 0 0.5 1 ) ;
  x3do:keyValue ( -1 0 0 1 0 0 -1 0 0 ) .
:ROUTE_2_1_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'T' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'I' .
:ROUTE_2_1_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'I' ;
  x3do:toField 'set_translation' ;
  x3do:toNode 'F' .
:ROUTE_2_1_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_1_2 ;
  x3do:fromField 'position' ;
  x3do:fromNode 'S' ;
  x3do:toField 'set_keyValue' ;
  x3do:toNode 'I' .
:ProtoDeclare_2_2 a owl:NamedIndividual, x3do:ProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasProtoInterface :ProtoInterface_2_2_1 ;
  x3do:hasProtoBody :ProtoBody_2_2_2 ;
  x3do:name 'Pendulum' .
:ProtoInterface_2_2_1 a owl:NamedIndividual, x3do:ProtoInterface ;
  x3do:hasParent :ProtoDeclare_2_2 ;
  x3do:hasField :field_2_2_1_1, :field_2_2_1_2, :field_2_2_1_3, :field_2_2_1_4, :field_2_2_1_5, :field_2_2_1_6 .
:field_2_2_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'rate' ;
  x3do:type 'SFTime' ;
  x3do:value '1' .
:field_2_2_1_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'maxAngle' ;
  x3do:type 'SFFloat' ;
  x3do:value 3.14159 .
:field_2_2_1_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'children' ;
  x3do:type 'MFNode' .
:field_2_2_1_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'inputOutput' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' ;
  x3do:value '0' .
:field_2_2_1_6 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_2_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'loop' ;
  x3do:type 'SFBool' ;
  x3do:value true .
:ProtoBody_2_2_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_2 ;
  x3do:hasChildren :FF, :TT, :SS, :II ;
  x3do:hasROUTE :ROUTE_2_2_2_5, :ROUTE_2_2_2_6, :ROUTE_2_2_2_7 .
:FF a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasIS :IS_2_2_2_1_1 ;
  x3do:DEF 'FF' .
:IS_2_2_2_1_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :FF ;
  x3do:hasConnect :connect_2_2_2_1_1_1 .
:connect_2_2_2_1_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_1_1 ;
  x3do:nodeField 'children' ;
  x3do:protoField 'children' .
:TT a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasIS :IS_2_2_2_2_1 ;
  x3do:DEF 'TT' .
:IS_2_2_2_2_1 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :TT ;
  x3do:hasConnect :connect_2_2_2_2_1_1, :connect_2_2_2_2_1_2, :connect_2_2_2_2_1_3, :connect_2_2_2_2_1_4 .
:connect_2_2_2_2_1_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_2_1 ;
  x3do:nodeField 'cycleInterval' ;
  x3do:protoField 'rate' .
:connect_2_2_2_2_1_2 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_2_1 ;
  x3do:nodeField 'startTime' ;
  x3do:protoField 'startTime' .
:connect_2_2_2_2_1_3 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_2_1 ;
  x3do:nodeField 'stopTime' ;
  x3do:protoField 'stopTime' .
:connect_2_2_2_2_1_4 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_2_1 ;
  x3do:nodeField 'loop' ;
  x3do:protoField 'loop' .
:SS a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:hasField :field_2_2_2_3_1, :field_2_2_2_3_2 ;
  x3do:hasIS :IS_2_2_2_3_3 ;
  x3do:DEF 'SS' ;
  x3do:sourceCode """
ecmascript:

function initialize() {     // constructor: setup interpolator 
	rot1 = new SFRotation(0, 0, 1, 0);
	rot2 = new SFRotation(0, 0, 1, maxAngle/2);
	rot3 = new SFRotation(0, 0, 1, maxAngle);
	rotation = new MFRotation(rot1, rot2, rot3, rot2, rot1);
}
""" .
:field_2_2_2_3_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :SS ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'maxAngle' ;
  x3do:type 'SFFloat' .
:field_2_2_2_3_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :SS ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'rotation' ;
  x3do:type 'MFRotation' .
:IS_2_2_2_3_3 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :SS ;
  x3do:hasConnect :connect_2_2_2_3_3_1 .
:connect_2_2_2_3_3_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_2_2_3_3 ;
  x3do:nodeField 'maxAngle' ;
  x3do:protoField 'maxAngle' .
:II a owl:NamedIndividual, x3do:OrientationInterpolator ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:DEF 'II' ;
  x3do:key ( 0 0.25 0.5 0.75 1 ) ;
  x3do:keyValue ( 0 0 1 0 0 0 1 1.57 0 0 1 3.14 0 0 1 1.57 0 0 1 0 ) .
:ROUTE_2_2_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'TT' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'II' .
:ROUTE_2_2_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'II' ;
  x3do:toField 'set_rotation' ;
  x3do:toNode 'FF' .
:ROUTE_2_2_2_7 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_2_2 ;
  x3do:fromField 'rotation' ;
  x3do:fromNode 'SS' ;
  x3do:toField 'set_keyValue' ;
  x3do:toNode 'II' .
:Transform_2_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :ProtoInstance_2_3_1 ;
  x3do:translation ( -3 0 0 ) .
:ProtoInstance_2_3_1 a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_3 ;
  x3do:hasFieldValue :fieldValue_2_3_1_1, :fieldValue_2_3_1_2, :fieldValue_2_3_1_3 ;
  x3do:name 'Pendulum' .
:fieldValue_2_3_1_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :ProtoInstance_2_3_1 ;
  x3do:name 'rate' ;
  x3do:value '3' .
:fieldValue_2_3_1_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :ProtoInstance_2_3_1 ;
  x3do:name 'maxAngle' ;
  x3do:value 6.28 .
:fieldValue_2_3_1_3 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :ProtoInstance_2_3_1 ;
  x3do:hasChildren :Shape_2_3_1_3_1 ;
  x3do:name 'children' .
:Shape_2_3_1_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :fieldValue_2_3_1_3 ;
  x3do:hasGeometry :Cylinder_2_3_1_3_1_1 ;
  x3do:hasAppearance :Appearance_2_3_1_3_1_2 .
:Cylinder_2_3_1_3_1_1 a owl:NamedIndividual, x3do:Cylinder ;
  x3do:hasParent :Shape_2_3_1_3_1 ;
  x3do:height 5 .
:Appearance_2_3_1_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_1_3_1 ;
  x3do:hasMaterial :Material_2_3_1_3_1_2_1 .
:Material_2_3_1_3_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_1_3_1_2 ;
  x3do:diffuseColor ( 0.8 0.1 0 ) .
:Transform_2_4 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :ProtoInstance_2_4_1 .
:ProtoInstance_2_4_1 a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Transform_2_4 ;
  x3do:hasFieldValue :fieldValue_2_4_1_1, :fieldValue_2_4_1_2 ;
  x3do:name 'Shuttle' .
:fieldValue_2_4_1_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :ProtoInstance_2_4_1 ;
  x3do:name 'rate' ;
  x3do:value '2' .
:fieldValue_2_4_1_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :ProtoInstance_2_4_1 ;
  x3do:hasChildren :Shape_2_4_1_2_1 ;
  x3do:name 'children' .
:Shape_2_4_1_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :fieldValue_2_4_1_2 ;
  x3do:hasGeometry :Sphere_2_4_1_2_1_1 ;
  x3do:hasAppearance :Appearance_2_4_1_2_1_2 .
:Sphere_2_4_1_2_1_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_4_1_2_1 .
:Appearance_2_4_1_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4_1_2_1 ;
  x3do:hasMaterial :Material_2_4_1_2_1_2_1 .
:Material_2_4_1_2_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_1_2_1_2 ;
  x3do:diffuseColor ( 0.1 0.8 0 ) .
