@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ColorInterpolatorExample.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 'Interchange' ;
  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 'ColorInterpolatorExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings example: ColorInterpolator demonstration modifies Material color.' ;
  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.12 Colour interpolator' ;
  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#ColourInterpolator' ;
  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/ColorInterpolatorExample.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 "ColorInterpolatorExample.x3d" .
:meta dcterms:description "X3D encodings example: ColorInterpolator demonstration modifies Material color." .
: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/ColorInterpolatorExample.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, :myColor, :myClock, :Shape_2_4 ;
  x3do:hasROUTE :ROUTE_2_5, :ROUTE_2_6 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'ColorInterpolatorExample.x3d' .
:myColor a owl:NamedIndividual, x3do:ColorInterpolator ;
  x3do:hasParent :Scene ;
  x3do:DEF 'myColor' ;
  x3do:key ( 0.0 0.333 0.666 1.0 ) ;
  x3do:keyValue ( 1 0 0 0 1 0 0 0 1 1 0 0 ) .
:myClock a owl:NamedIndividual, x3do:TimeSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'myClock' ;
  x3do:cycleInterval '10.0' ;
  x3do:loop true .
:Shape_2_4 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Scene ;
  x3do:hasGeometry :Sphere_2_4_1 ;
  x3do:hasAppearance :Appearance_2_4_2 .
:Sphere_2_4_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_4 .
:Appearance_2_4_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_4 ;
  x3do:hasMaterial :myMaterial .
:myMaterial a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_4_2 ;
  x3do:DEF 'myMaterial' .
:ROUTE_2_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'fraction_changed' ;
  x3do:fromNode 'myClock' ;
  x3do:toField 'set_fraction' ;
  x3do:toNode 'myColor' .
:ROUTE_2_6 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Scene ;
  x3do:fromField 'value_changed' ;
  x3do:fromNode 'myColor' ;
  x3do:toField 'diffuseColor' ;
  x3do:toNode 'myMaterial' .
