@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example16.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_9, :meta_1_10, :meta_1_11, :meta_1_12 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Example16.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D working group' ;
  x3do:name 'creator' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Don Brutzman' ;
  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 '28 October 2019' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'VRML 97 specification example: Chopper. Click chopper to toggle rotor spinning.' ;
  x3do:name 'description' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'originals/exampleD_16.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.16 Chopper' ;
  x3do:name 'specificationSection' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/documents/specifications/14772/V2.0/part1/examples.html#D.16' ;
  x3do:name 'specificationUrl' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example16.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 "Example16.x3d" .
:meta dcterms:creator "X3D working group" .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:created "26 June 2000" .
:meta dcterms:modified "28 October 2019" .
:meta dcterms:description "VRML 97 specification example: Chopper. Click chopper to toggle rotor spinning." .
:meta dcterms:reference "originals/exampleD_16.wrl" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Example16.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, :Viewpoint_2_4, :Group_2_5 ;
  x3do:hasExternProtoDeclare :ExternProtoDeclare_2_2 ;
  x3do:hasProtoDeclare :ProtoDeclare_2_3 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'Example16.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 ;
  x3do:appinfo 'Rotor prototype to spin children geometry' ;
  x3do:name 'Rotor' ;
  x3do:url '"Rotor.x3d#Rotor" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Rotor.x3d#Rotor" "Rotor.wrl#Rotor" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/Rotor.wrl#Rotor"' .
:field_2_2_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:appinfo 'rotation rate' ;
  x3do:name 'rate' ;
  x3do:type 'SFTime' .
:field_2_2_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'initializeOnly' ;
  x3do:appinfo 'children geometry to spin' ;
  x3do:name 'children' ;
  x3do:type 'MFNode' .
:field_2_2_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'exposed TimeSensor field for animation' ;
  x3do:name 'startTime' ;
  x3do:type 'SFTime' .
:field_2_2_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ExternProtoDeclare_2_2 ;
  x3do:accessType 'inputOutput' ;
  x3do:appinfo 'exposed TimeSensor field for animation' ;
  x3do:name 'stopTime' ;
  x3do:type 'SFTime' .
:ProtoDeclare_2_3 a owl:NamedIndividual, x3do:ProtoDeclare ;
  x3do:hasParent :Scene ;
  x3do:hasProtoInterface :ProtoInterface_2_3_1 ;
  x3do:hasProtoBody :ProtoBody_2_3_2 ;
  x3do:name 'Chopper' .
:ProtoInterface_2_3_1 a owl:NamedIndividual, x3do:ProtoInterface ;
  x3do:hasParent :ProtoDeclare_2_3 ;
  x3do:hasField :field_2_3_1_1 .
:field_2_3_1_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :ProtoInterface_2_3_1 ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'rotorSpeed' ;
  x3do:type 'SFTime' ;
  x3do:value '1' .
:ProtoBody_2_3_2 a owl:NamedIndividual, x3do:ProtoBody ;
  x3do:hasParent :ProtoDeclare_2_3 ;
  x3do:hasChildren :Group_2_3_2_1, :RotorScript ;
  x3do:hasROUTE :ROUTE_2_3_2_3, :ROUTE_2_3_2_4, :ROUTE_2_3_2_5 .
:Group_2_3_2_1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :ProtoBody_2_3_2 ;
  x3do:hasChildren :Touch, :Inline_2_3_2_1_2, :Top .
:Touch a owl:NamedIndividual, x3do:TouchSensor ;
  x3do:hasParent :Group_2_3_2_1 ;
  x3do:DEF 'Touch' ;
  x3do:description 'touch to start/stop spinning rotor' .
:Inline_2_3_2_1_2 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :Group_2_3_2_1 ;
  x3do:url '"ChopperBody.x3d" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/ChopperBody.x3d" "ChopperBody.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/ChopperBody.wrl"' .
:Top a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Group_2_3_2_1 ;
  x3do:hasFieldValue :fieldValue_2_3_2_1_3_1, :fieldValue_2_3_2_1_3_2 ;
  x3do:hasIS :IS_2_3_2_1_3_3 ;
  x3do:DEF 'Top' ;
  x3do:name 'Rotor' .
:fieldValue_2_3_2_1_3_1 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Top ;
  x3do:name 'stopTime' ;
  x3do:value '1' .
:fieldValue_2_3_2_1_3_2 a owl:NamedIndividual, x3do:fieldValue ;
  x3do:hasParent :Top ;
  x3do:hasChildren :Inline_2_3_2_1_3_2_1 ;
  x3do:name 'children' .
:Inline_2_3_2_1_3_2_1 a owl:NamedIndividual, x3do:Inline ;
  x3do:hasParent :fieldValue_2_3_2_1_3_2 ;
  x3do:url '"ChopperRotor.x3d" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/ChopperRotor.x3d" "ChopperRotor.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Vrml97Specification/ChopperRotor.wrl"' .
:IS_2_3_2_1_3_3 a owl:NamedIndividual, x3do:IS ;
  x3do:hasParent :Top ;
  x3do:hasConnect :connect_2_3_2_1_3_3_1 .
:connect_2_3_2_1_3_3_1 a owl:NamedIndividual, x3do:connect ;
  x3do:hasParent :IS_2_3_2_1_3_3 ;
  x3do:nodeField 'rate' ;
  x3do:protoField 'rotorSpeed' .
:RotorScript a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :ProtoBody_2_3_2 ;
  x3do:hasField :field_2_3_2_2_1, :field_2_3_2_2_2, :field_2_3_2_2_3, :field_2_3_2_2_4 ;
  x3do:DEF 'RotorScript' ;
  x3do:sourceCode """
ecmascript:

function startOrStopEngine(value) {
	// start or stop engine:
	if (!engineStarted) {
		startEngine = value;
		engineStarted = true;
	}
	else
	{
		stopEngine = value;
		engineStarted = false;
	}
}
""" .
:field_2_3_2_2_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :RotorScript ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'startOrStopEngine' ;
  x3do:type 'SFTime' .
:field_2_3_2_2_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :RotorScript ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'startEngine' ;
  x3do:type 'SFTime' .
:field_2_3_2_2_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :RotorScript ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'stopEngine' ;
  x3do:type 'SFTime' .
:field_2_3_2_2_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :RotorScript ;
  x3do:accessType 'initializeOnly' ;
  x3do:name 'engineStarted' ;
  x3do:type 'SFBool' ;
  x3do:value false .
:ROUTE_2_3_2_3 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_3_2 ;
  x3do:fromField 'touchTime' ;
  x3do:fromNode 'Touch' ;
  x3do:toField 'startOrStopEngine' ;
  x3do:toNode 'RotorScript' .
:ROUTE_2_3_2_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_3_2 ;
  x3do:fromField 'startEngine' ;
  x3do:fromNode 'RotorScript' ;
  x3do:toField 'startTime' ;
  x3do:toNode 'Top' .
:ROUTE_2_3_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :ProtoBody_2_3_2 ;
  x3do:fromField 'stopEngine' ;
  x3do:fromNode 'RotorScript' ;
  x3do:toField 'stopTime' ;
  x3do:toNode 'Top' .
:Viewpoint_2_4 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Example 16' ;
  x3do:position ( 0 0 5 ) .
:Group_2_5 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :MikesChopper .
:MikesChopper a owl:NamedIndividual, x3do:ProtoInstance ;
  x3do:hasParent :Group_2_5 ;
  x3do:DEF 'MikesChopper' ;
  x3do:name 'Chopper' .
