@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/development/MaterialExample.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.1.xsd#> .
@prefix x3do:    <https://www.web3d.org/specifications/X3dOntology4.1#> .

:X3D a owl:NamedIndividual, x3do:X3D ;
  x3do:hasHead :head ;
  x3do:hasScene :Scene ;
  x3do:profile 'Immersive' ;
  x3do:version '3.2' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.2.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 'MaterialExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Material node example for X3D-Edit MaterialEditor, which uses Scene Access Interface (SAI) externally to select/deselect different shapes, axes and lights while modifying Material values.' ;
  x3do:name 'description' .
: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 '17 December 2006' ;
  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 'X3D-Edit example' ;
  x3do:name 'subject' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/development/MaterialExample.x3d' ;
  x3do:name 'identifier' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'src/www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/templates/MaterialExample.x3d' ;
  x3do:name 'reference' .
:meta_1_9 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_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "MaterialExample.x3d" .
:meta dcterms:description "Material node example for X3D-Edit MaterialEditor, which uses Scene Access Interface (SAI) externally to select/deselect different shapes, axes and lights while modifying Material values." .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:created "17 December 2006" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:subject "X3D-Edit example" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/development/MaterialExample.x3d" .
:meta dcterms:reference "src/www.web3d.org/x3d/tools/X3dEdit3.3/X3D/src/org/web3d/x3d/templates/MaterialExample.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, :ViewpointNode, :NavigationInfo_2_3, :BackgroundNode, :DirectionalLightNode, :ShapeNode, :AxesSwitch, :LightDirectionVectorSwitch .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'MaterialExample.x3d' .
:ViewpointNode a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:DEF 'ViewpointNode' ;
  x3do:description 'default' ;
  x3do:position ( 0 0 4 ) .
:NavigationInfo_2_3 a owl:NamedIndividual, x3do:NavigationInfo ;
  x3do:hasParent :Scene ;
  x3do:headlight false ;
  x3do:type '"EXAMINE"' .
:BackgroundNode a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:DEF 'BackgroundNode' .
:DirectionalLightNode a owl:NamedIndividual, x3do:DirectionalLight ;
  x3do:hasParent :Scene ;
  x3do:DEF 'DirectionalLightNode' ;
  x3do:direction ( -0.707 0 -0.707 ) .
:ShapeNode a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Scene ;
  x3do:hasGeometry :Sphere_2_6_1 ;
  x3do:hasAppearance :Appearance_2_6_2 ;
  x3do:DEF 'ShapeNode' .
:Sphere_2_6_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :ShapeNode .
:Appearance_2_6_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :ShapeNode ;
  x3do:hasMaterial :MaterialNode .
:MaterialNode a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_6_2 ;
  x3do:DEF 'MaterialNode' .
:AxesSwitch a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Group_2_7_1 ;
  x3do:DEF 'AxesSwitch' ;
  x3do:whichChoice 0 .
:Group_2_7_1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :AxesSwitch ;
  x3do:hasChildren :xAxis, :yAxis, :zAxis .
:xAxis a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Group_2_7_1 ;
  x3do:hasChildren :Shape_2_7_1_1_1, :Transform_2_7_1_1_2 ;
  x3do:DEF 'xAxis' .
:Shape_2_7_1_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :xAxis ;
  x3do:hasGeometry :IndexedLineSet_2_7_1_1_1_1 ;
  x3do:hasAppearance :AppearanceRed .
:IndexedLineSet_2_7_1_1_1_1 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :Shape_2_7_1_1_1 ;
  x3do:hasCoord :Coordinate_2_7_1_1_1_1_1 ;
  x3do:coordIndex ( 0 1 ) .
:Coordinate_2_7_1_1_1_1_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_7_1_1_1_1 ;
  x3do:point ( 0 0 0 1.25 0 0 ) .
:AppearanceRed a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_1_1 ;
  x3do:hasMaterial :Material_2_7_1_1_1_2_1 ;
  x3do:DEF 'AppearanceRed' .
:Material_2_7_1_1_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppearanceRed ;
  x3do:diffuseColor ( 0 0 0 ) ;
  x3do:emissiveColor ( 0.8 0 0 ) .
:Transform_2_7_1_1_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :xAxis ;
  x3do:hasChildren :Billboard_2_7_1_1_2_1 ;
  x3do:translation ( 1.4 0 0 ) .
:Billboard_2_7_1_1_2_1 a owl:NamedIndividual, x3do:Billboard ;
  x3do:hasParent :Transform_2_7_1_1_2 ;
  x3do:hasChildren :Shape_2_7_1_1_2_1_1 .
:Shape_2_7_1_1_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Billboard_2_7_1_1_2_1 ;
  x3do:hasGeometry :Text_2_7_1_1_2_1_1_1 ;
  x3do:hasAppearance :AppearanceRed-USE-1 .
:Text_2_7_1_1_2_1_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1_1_2_1_1 ;
  x3do:hasFontStyle :LabelStyle ;
  x3do:string '"x"' .
:LabelStyle a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_1_2_1_1_1 ;
  x3do:DEF 'LabelStyle' ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.3 .
:AppearanceRed-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_1_2_1_1 ;
  owl:sameAs :AppearanceRed . # DEF matching this USE
:yAxis a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Group_2_7_1 ;
  x3do:hasChildren :Shape_2_7_1_2_1, :Transform_2_7_1_2_2 ;
  x3do:DEF 'yAxis' .
:Shape_2_7_1_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :yAxis ;
  x3do:hasGeometry :IndexedLineSet_2_7_1_2_1_1 ;
  x3do:hasAppearance :AppearanceGreen .
:IndexedLineSet_2_7_1_2_1_1 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :Shape_2_7_1_2_1 ;
  x3do:hasCoord :Coordinate_2_7_1_2_1_1_1 ;
  x3do:coordIndex ( 0 1 ) .
:Coordinate_2_7_1_2_1_1_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_7_1_2_1_1 ;
  x3do:point ( 0 0 0 0 1.25 0 ) .
:AppearanceGreen a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_2_1 ;
  x3do:hasMaterial :Material_2_7_1_2_1_2_1 ;
  x3do:DEF 'AppearanceGreen' .
:Material_2_7_1_2_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppearanceGreen ;
  x3do:diffuseColor ( 0 0 0 ) ;
  x3do:emissiveColor ( 0 0.8 0 ) .
:Transform_2_7_1_2_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :yAxis ;
  x3do:hasChildren :Billboard_2_7_1_2_2_1 ;
  x3do:translation ( 0 1.4 0 ) .
:Billboard_2_7_1_2_2_1 a owl:NamedIndividual, x3do:Billboard ;
  x3do:hasParent :Transform_2_7_1_2_2 ;
  x3do:hasChildren :Shape_2_7_1_2_2_1_1 ;
  x3do:axisOfRotation ( 0 0 0 ) .
:Shape_2_7_1_2_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Billboard_2_7_1_2_2_1 ;
  x3do:hasGeometry :Text_2_7_1_2_2_1_1_1 ;
  x3do:hasAppearance :AppearanceGreen-USE-1 .
:Text_2_7_1_2_2_1_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1_2_2_1_1 ;
  x3do:hasFontStyle :LabelStyle-USE-1 ;
  x3do:string '"y"' .
:LabelStyle-USE-1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_2_2_1_1_1 ;
  owl:sameAs :LabelStyle . # DEF matching this USE
:AppearanceGreen-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_2_2_1_1 ;
  owl:sameAs :AppearanceGreen . # DEF matching this USE
:zAxis a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Group_2_7_1 ;
  x3do:hasChildren :Shape_2_7_1_3_1, :Transform_2_7_1_3_2 ;
  x3do:DEF 'zAxis' .
:Shape_2_7_1_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :zAxis ;
  x3do:hasGeometry :IndexedLineSet_2_7_1_3_1_1 ;
  x3do:hasAppearance :AppearanceBlue .
:IndexedLineSet_2_7_1_3_1_1 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :Shape_2_7_1_3_1 ;
  x3do:hasCoord :Coordinate_2_7_1_3_1_1_1 ;
  x3do:coordIndex ( 0 1 ) .
:Coordinate_2_7_1_3_1_1_1 a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_7_1_3_1_1 ;
  x3do:point ( 0 0 0 0 0 1.25 ) .
:AppearanceBlue a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_3_1 ;
  x3do:hasMaterial :Material_2_7_1_3_1_2_1 ;
  x3do:DEF 'AppearanceBlue' .
:Material_2_7_1_3_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :AppearanceBlue ;
  x3do:diffuseColor ( 0 0 0 ) ;
  x3do:emissiveColor ( 0 0 0.8 ) .
:Transform_2_7_1_3_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :zAxis ;
  x3do:hasChildren :Billboard_2_7_1_3_2_1 ;
  x3do:translation ( 0 0 1.4 ) .
:Billboard_2_7_1_3_2_1 a owl:NamedIndividual, x3do:Billboard ;
  x3do:hasParent :Transform_2_7_1_3_2 ;
  x3do:hasChildren :Shape_2_7_1_3_2_1_1 ;
  x3do:axisOfRotation ( 0 0 0 ) .
:Shape_2_7_1_3_2_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Billboard_2_7_1_3_2_1 ;
  x3do:hasGeometry :Text_2_7_1_3_2_1_1_1 ;
  x3do:hasAppearance :AppearanceBlue-USE-1 .
:Text_2_7_1_3_2_1_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_7_1_3_2_1_1 ;
  x3do:hasFontStyle :LabelStyle-USE-2 ;
  x3do:string '"z"' .
:LabelStyle-USE-2 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_7_1_3_2_1_1_1 ;
  owl:sameAs :LabelStyle . # DEF matching this USE
:AppearanceBlue-USE-1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_7_1_3_2_1_1 ;
  owl:sameAs :AppearanceBlue . # DEF matching this USE
:LightDirectionVectorSwitch a owl:NamedIndividual, x3do:Switch ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Transform_2_8_1 ;
  x3do:DEF 'LightDirectionVectorSwitch' ;
  x3do:whichChoice 0 .
:Transform_2_8_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :LightDirectionVectorSwitch ;
  x3do:hasChildren :Shape_2_8_1_1 ;
  x3do:scale ( 1.25 1.25 1.25 ) .
:Shape_2_8_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_8_1 ;
  x3do:hasGeometry :IndexedLineSet_2_8_1_1_1 ;
  x3do:hasAppearance :Appearance_2_8_1_1_2 .
:IndexedLineSet_2_8_1_1_1 a owl:NamedIndividual, x3do:IndexedLineSet ;
  x3do:hasParent :Shape_2_8_1_1 ;
  x3do:hasCoord :LightDirectionCoordinateNode ;
  x3do:coordIndex ( 0 1 ) .
:LightDirectionCoordinateNode a owl:NamedIndividual, x3do:Coordinate ;
  x3do:hasParent :IndexedLineSet_2_8_1_1_1 ;
  x3do:DEF 'LightDirectionCoordinateNode' ;
  x3do:point ( 0.707 0 0.707 0 0 0 ) .
:Appearance_2_8_1_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_8_1_1 ;
  x3do:hasMaterial :LightDirectionLineMaterial .
:LightDirectionLineMaterial a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_8_1_1_2 ;
  x3do:DEF 'LightDirectionLineMaterial' ;
  x3do:diffuseColor ( 0 0 0 ) ;
  x3do:emissiveColor ( 1 1 1 ) .
