@prefix :        <https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter08UserInteractivity/StringSensorExample.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.3' ;
  x3do:noNamespaceSchemaLocation 'https://www.web3d.org/specifications/x3d-3.3.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 'StringSensorExample.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'A StringSensor example that displays typed text in the world.' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Leonard Daly and Don Brutzman' ;
  x3do:name 'creator' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '7 June 2006' ;
  x3do:name 'created' .
:meta_1_5 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '25 August 2023' ;
  x3do:name 'modified' .
:meta_1_6 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://X3dGraphics.com' ;
  x3do:name 'reference' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dResources.html' ;
  x3do:name 'reference' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Copyright (c) 2006, Daly Realism and Don Brutzman' ;
  x3do:name 'rights' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com' ;
  x3do:name 'subject' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter08UserInteractivity/StringSensorExample.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 "StringSensorExample.x3d" .
:meta dcterms:description "A StringSensor example that displays typed text in the world." .
:meta dcterms:creator "Leonard Daly and Don Brutzman" .
:meta dcterms:created "7 June 2006" .
:meta dcterms:modified "25 August 2023" .
:meta dcterms:reference "https://X3dGraphics.com" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/X3dResources.html" .
:meta dcterms:rights "Copyright (c) 2006, Daly Realism and Don Brutzman" .
:meta dcterms:subject "X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter08UserInteractivity/StringSensorExample.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, :Background_2_2, :Viewpoint_2_3, :GenText, :Transform_2_5 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'StringSensorExample.x3d' .
:Background_2_2 a owl:NamedIndividual, x3do:Background ;
  x3do:hasParent :Scene ;
  x3do:skyColor ( 1 1 1 ) .
:Viewpoint_2_3 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Scene ;
  x3do:description 'Book View' ;
  x3do:position ( -0.02 0.01 6.85 ) .
:GenText a owl:NamedIndividual, x3do:StringSensor ;
  x3do:hasParent :Scene ;
  x3do:DEF 'GenText' .
:Transform_2_5 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Transform_2_5_1, :Transform_2_5_2, :Converter, :Transform_2_5_6 ;
  x3do:hasROUTE :ROUTE_2_5_4, :ROUTE_2_5_5 ;
  x3do:translation ( 0 0.8 0 ) .
:Transform_2_5_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5 ;
  x3do:hasChildren :Shape_2_5_1_1 ;
  x3do:translation ( 0 0 -0.1 ) .
:Shape_2_5_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_1 ;
  x3do:hasAppearance :Appearance_2_5_1_1_1 ;
  x3do:hasGeometry :Box_2_5_1_1_2 .
:Appearance_2_5_1_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_1_1 ;
  x3do:hasMaterial :Material_2_5_1_1_1_1 .
:Material_2_5_1_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_1_1_1 ;
  x3do:diffuseColor ( 1 1 .6 ) .
:Box_2_5_1_1_2 a owl:NamedIndividual, x3do:Box ;
  x3do:hasParent :Shape_2_5_1_1 ;
  x3do:size ( 8 1.5 .01 ) .
:Transform_2_5_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5 ;
  x3do:hasChildren :Shape_2_5_2_1 ;
  x3do:translation ( -3.8 0.2 0 ) .
:Shape_2_5_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_5_2 ;
  x3do:hasAppearance :Appearance_2_5_2_1_1 ;
  x3do:hasGeometry :DisplayText .
:Appearance_2_5_2_1_1 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_2_1 ;
  x3do:hasMaterial :Material_2_5_2_1_1_1 .
:Material_2_5_2_1_1_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_2_1_1 ;
  x3do:diffuseColor ( 0 0 1 ) .
:DisplayText a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_5_2_1 ;
  x3do:hasFontStyle :FontStyle_2_5_2_1_2_1 ;
  x3do:DEF 'DisplayText' .
:FontStyle_2_5_2_1_2_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :DisplayText ;
  x3do:justify '"BEGIN" "MIDDLE"' ;
  x3do:size 0.75 .
:Converter a owl:NamedIndividual, x3do:Script ;
  x3do:hasParent :Transform_2_5 ;
  x3do:hasField :field_2_5_3_1, :field_2_5_3_2, :field_2_5_3_3, :field_2_5_3_4, :field_2_5_3_5 ;
  x3do:DEF 'Converter' ;
  x3do:url '"StringSensorScriptConverter.js" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter08UserInteractivity/StringSensorScriptConverter.js"' .
:field_2_5_3_1 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Converter ;
  x3do:accessType 'inputOnly' ;
  x3do:name 'SFString_MFString' ;
  x3do:type 'SFString' .
:field_2_5_3_2 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Converter ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'MFString_out' ;
  x3do:type 'MFString' .
:field_2_5_3_3 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Converter ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'SFFloat_Xout' ;
  x3do:type 'SFFloat' .
:field_2_5_3_4 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Converter ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'SFFloat_Yout' ;
  x3do:type 'SFFloat' .
:field_2_5_3_5 a owl:NamedIndividual, x3do:field ;
  x3do:hasParent :Converter ;
  x3do:accessType 'outputOnly' ;
  x3do:name 'SFFloat_Zout' ;
  x3do:type 'SFFloat' .
:ROUTE_2_5_4 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_5 ;
  x3do:fromField 'enteredText' ;
  x3do:fromNode 'GenText' ;
  x3do:toField 'SFString_MFString' ;
  x3do:toNode 'Converter' .
:ROUTE_2_5_5 a owl:NamedIndividual, x3do:ROUTE ;
  x3do:hasParent :Transform_2_5 ;
  x3do:fromField 'MFString_out' ;
  x3do:fromNode 'Converter' ;
  x3do:toField 'string' ;
  x3do:toNode 'DisplayText' .
:Transform_2_5_6 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transform_2_5 ;
  x3do:hasChildren :Group_2_5_6_1 ;
  x3do:translation ( 0 -1.25 0 ) .
:Group_2_5_6_1 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Transform_2_5_6 ;
  x3do:hasChildren :Shape_2_5_6_1_1 .
:Shape_2_5_6_1_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Group_2_5_6_1 ;
  x3do:hasGeometry :Text_2_5_6_1_1_1 ;
  x3do:hasAppearance :Appearance_2_5_6_1_1_2 .
:Text_2_5_6_1_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_5_6_1_1 ;
  x3do:hasFontStyle :FontStyle_2_5_6_1_1_1_1 ;
  x3do:string '"StringSensor lets users enter text..." "please type to test"' .
:FontStyle_2_5_6_1_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_5_6_1_1_1 ;
  x3do:family '"SANS"' ;
  x3do:justify '"MIDDLE" "BEGIN"' ;
  x3do:size 0.5 .
:Appearance_2_5_6_1_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_5_6_1_1 ;
  x3do:hasMaterial :Material_2_5_6_1_1_2_1 .
:Material_2_5_6_1_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_5_6_1_1_2 ;
  x3do:diffuseColor ( 0.7 0.7 0.7 ) .
