@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/InlineExport.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 '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_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16, :meta_1_17, :meta_1_18 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'InlineExport.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings example: demonstrate reuse and adaptation of content instances through Inline IMPORT, EXPORT statements. This scene does not animate, see InlineImport.x3d for selective animation of scene subgraph EXPORT localDEF=T1 AS=RootTransform' ;
  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 '27 May 2024' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '19 January 2025' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'InlineImportInlineExportAnimation.png' ;
  x3do:name 'Image' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'InlineImportInlineExportAnimation.vsdx' ;
  x3do:name 'drawing' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'InlineExport.png' ;
  x3do:name 'Image' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'InlineImport.x3d' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D Architecture version 4.0 ISO/IEC 19775-1, clause 4 Concepts, 4.4.6 Import/Export semantics' ;
  x3do:name 'specificationSection' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/concepts.html#ImportExportsemantics' ;
  x3do:name 'specificationUrl' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings, ISO/IEC 19776-1, Part 1: XML encoding, clause 4.3.2.6 EXPORT/IMPORT statement syntax' ;
  x3do:name 'specificationSection' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-WD1/Part01/concepts.html#EXPORT_IMPORT_StatementSyntax' ;
  x3do:name 'specificationUrl' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D encodings, ISO/IEC 19776-2, Part 1: ClassicVRML encoding, clause 4.3.2.6 EXPORT/IMPORT statement syntax' ;
  x3do:name 'specificationSection' .
:meta_1_15 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-2v4.0-WD1/Part02/concepts.html#EXPORT_IMPORT_StatementSyntax' ;
  x3do:name 'specificationUrl' .
:meta_1_16 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_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/InlineExport.x3d' ;
  x3do:name 'identifier' .
:meta_1_18 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "InlineExport.x3d" .
:meta dcterms:description "X3D encodings example: demonstrate reuse and adaptation of content instances through Inline IMPORT, EXPORT statements. This scene does not animate, see InlineImport.x3d for selective animation of scene subgraph EXPORT localDEF=T1 AS=RootTransform" .
:meta dcterms:creator "Don Brutzman" .
:meta dcterms:created "27 May 2024" .
:meta dcterms:modified "19 January 2025" .
:meta dcterms:Image "InlineImportInlineExportAnimation.png" .
:meta dcterms:drawing "InlineImportInlineExportAnimation.vsdx" .
:meta dcterms:Image "InlineExport.png" .
:meta dcterms:reference "InlineImport.x3d" .
:meta dcterms:generator "X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/InlineExport.x3d" .
:meta dcterms:license "../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Background_2_2, :T1, :T2 ;
  x3do:hasEXPORT :EXPORT_2_4 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'InlineExport.x3d' .
:Background_2_2 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:skyColor ( 0.8 0.8 0.8 ) .
:T1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_3_1, :Transform_2_3_2, :Transform_2_3_3 ;
  x3do:DEF 'T1' ;
  x3do:translation ( 0 1 0 ) .
:Shape_2_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :T1 ;
  x3do:hasGeometry :Box_2_3_1_1 ;
  x3do:hasAppearance :Appearance_2_3_1_2 .
:Box_2_3_1_1 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_3_1 .
:Appearance_2_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_3_1 ;
  x3do:hasMaterial :Material_2_3_1_2_1 .
:Material_2_3_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_1_2 ;
  x3do:diffuseColor ( 0.8 0.8 0.2 ) .
:Transform_2_3_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :T1 ;
  x3do:hasChildren :SmallerSphere ;
  x3do:translation ( 2 0 0 ) .
:SmallerSphere a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_2 ;
  x3do:hasGeometry :Sphere_2_3_2_1_1 ;
  x3do:hasAppearance :Appearance_2_3_2_1_2 ;
  x3do:DEF 'SmallerSphere' .
:Sphere_2_3_2_1_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :SmallerSphere ;
  x3do:radius 0.2 .
:Appearance_2_3_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :SmallerSphere ;
  x3do:hasMaterial :Material_2_3_2_1_2_1 .
:Material_2_3_2_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_3_2_1_2 ;
  x3do:diffuseColor ( 0.2 0.8 0.8 ) .
:Transform_2_3_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :T1 ;
  x3do:hasChildren :SmallerSphere-USE-1 ;
  x3do:translation ( -2 0 0 ) .
:SmallerSphere-USE-1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_3_3 ;
  owl:sameAs :SmallerSphere . # DEF matching this USE
:EXPORT_2_4 a owl:NamedIndividual, x3do:EXPORT ;
  x3do:hasParent :Scene ;
  x3do:AS 'RootTransform' ;
  x3do:localDEF 'T1' .
:T2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Shape_2_5_1 ;
  x3do:DEF 'T2' ;
  x3do:translation ( 0 -2 0 ) .
:Shape_2_5_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :T2 ;
  x3do:hasGeometry :Text_2_5_1_1 ;
  x3do:hasAppearance :Appearance_2_5_1_2 .
:Text_2_5_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:hasFontStyle :FontStyle_2_5_1_1_1 ;
  x3do:string '"Shapes can rotate if" "animation events are sent" "via Inline IMPORT/EXPORT"' .
:FontStyle_2_5_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_5_1_1 ;
  x3do:family '"SANS"' ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:size 0.6 ;
  x3do:cssStyle 'BOLD' .
:Appearance_2_5_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1 ;
  x3do:hasMaterial :Material_2_5_1_2_1 .
:Material_2_5_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_2 ;
  x3do:diffuseColor ( 0.2 0.2 0.7 ) .
