@prefix :        <https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldDecrypted.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:hasSignature :Signature_3 ;
  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_11, :meta_1_12, :meta_1_13, :meta_1_14, :meta_1_15, :meta_1_16, :meta_1_17 .
:meta_1_1 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'HelloWorldDecrypted.x3d' ;
  x3do:name 'title' .
:meta_1_2 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'Simple X3D example for XML encryption for security; actual encrypted result is in XML file HelloWorldEncryptionResult.xml' ;
  x3do:name 'description' .
:meta_1_3 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'HelloWorldEncryptionResult.xml' ;
  x3do:name 'reference' .
:meta_1_4 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '2 July 2008' ;
  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 'Don Brutzman, Mike Bailey' ;
  x3do:name 'creator' .
:meta_1_7 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'default attribute values removed after decryption' ;
  x3do:name 'info' .
:meta_1_8 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3dSecurityReadMe.html' ;
  x3do:name 'reference' .
:meta_1_9 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'keystore/SelectSigningSecretKey.png' ;
  x3do:name 'reference' .
:meta_1_10 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'keystore/SecretKey_key.b64' ;
  x3do:name 'reference' .
:meta_1_11 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/HelloWorld.x3d' ;
  x3do:name 'reference' .
:meta_1_12 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionInput.x3d' ;
  x3do:name 'reference' .
:meta_1_13 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionResult.xml' ;
  x3do:name 'reference' .
:meta_1_14 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldDecrypted.x3d' ;
  x3do:name 'identifier' .
:meta_1_15 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_16 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content 'X3D security, XML encryption, secret key' ;
  x3do:name 'subject' .
:meta_1_17 a owl:NamedIndividual, x3do:meta ;
  x3do:hasParent :head ;
  x3do:content '../license.html' ;
  x3do:name 'license' .
:meta dcterms:title "HelloWorldDecrypted.x3d" .
:meta dcterms:description "Simple X3D example for XML encryption for security; actual encrypted result is in XML file HelloWorldEncryptionResult.xml" .
:meta dcterms:reference "HelloWorldEncryptionResult.xml" .
:meta dcterms:created "2 July 2008" .
:meta dcterms:modified "20 October 2019" .
:meta dcterms:creator "Don Brutzman, Mike Bailey" .
:meta dcterms:info "default attribute values removed after decryption" .
:meta dcterms:reference "X3dSecurityReadMe.html" .
:meta dcterms:reference "keystore/SelectSigningSecretKey.png" .
:meta dcterms:reference "keystore/SecretKey_key.b64" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/HelloWorld.x3d" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionInput.x3d" .
:meta dcterms:reference "https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldEncryptionResult.xml" .
:meta dcterms:identifier "https://www.web3d.org/x3d/content/examples/Basic/Security/HelloWorldDecrypted.x3d" .
:meta dcterms:generator "X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit" .
:meta dcterms:subject "X3D security, XML encryption, secret key" .
:meta dcterms:license "../license.html" .
:Scene a owl:NamedIndividual, x3do:Scene ;
  x3do:hasParent :X3D ;
  x3do:hasChildren :WorldInfo_2_1, :Group_2_2 .
:WorldInfo_2_1 a owl:NamedIndividual, x3do:WorldInfo ;
  x3do:hasParent :Scene ;
  x3do:title 'HelloWorldDecrypted.x3d' .
:Group_2_2 a owl:NamedIndividual, x3do:Group ;
  x3do:hasParent :Scene ;
  x3do:hasChildren :Viewpoint_2_2_1, :Transform_2_2_2, :Transform_2_2_3 ;
  x3do:bboxCenter ( 0 0 0 ) ;
  x3do:bboxSize ( -1 -1 -1 ) .
:Viewpoint_2_2_1 a owl:NamedIndividual, x3do:Viewpoint ;
  x3do:hasParent :Group_2_2 ;
  x3do:centerOfRotation ( 0 -1 0 ) ;
  x3do:description 'Hello world!' ;
  x3do:fieldOfView 0.7854 ;
  x3do:jump true ;
  x3do:orientation ( 0 0 1 0 ) ;
  x3do:position ( 0 -1 7 ) ;
  x3do:retainUserOffsets false .
:Transform_2_2_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasChildren :Shape_2_2_2_1 ;
  x3do:bboxCenter ( 0 0 0 ) ;
  x3do:bboxSize ( -1 -1 -1 ) ;
  x3do:center ( 0 0 0 ) ;
  x3do:rotation ( 0 1 0 3 ) ;
  x3do:scale ( 1 1 1 ) ;
  x3do:scaleOrientation ( 0 0 1 0 ) ;
  x3do:translation ( 0 0 0 ) .
:Shape_2_2_2_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_2 ;
  x3do:hasGeometry :Sphere_2_2_2_1_1 ;
  x3do:hasAppearance :Appearance_2_2_2_1_2 ;
  x3do:bboxCenter ( 0 0 0 ) ;
  x3do:bboxSize ( -1 -1 -1 ) .
:Sphere_2_2_2_1_1 a owl:NamedIndividual, x3do:Sphere ;
  x3do:hasParent :Shape_2_2_2_1 ;
  x3do:radius 1 ;
  x3do:solid true .
:Appearance_2_2_2_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_2_1 ;
  x3do:hasMaterial :Material_2_2_2_1_2_1 ;
  x3do:hasTexture :ImageTexture_2_2_2_1_2_2 .
:Material_2_2_2_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_2_1_2 ;
  x3do:ambientIntensity 0.2 ;
  x3do:diffuseColor ( 0 0.5 1 ) ;
  x3do:emissiveColor ( 0 0 0 ) ;
  x3do:shininess 0.2 ;
  x3do:specularColor ( 0 0 0 ) ;
  x3do:transparency 0 .
:ImageTexture_2_2_2_1_2_2 a owl:NamedIndividual, x3do:ImageTexture ;
  x3do:hasParent :Appearance_2_2_2_1_2 ;
  x3do:repeatS true ;
  x3do:repeatT true ;
  x3do:url '"../earth-topo.png" "../earth-topo.jpg" "../earth-topo-small.gif" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"' .
:Transform_2_2_3 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Group_2_2 ;
  x3do:hasChildren :Shape_2_2_3_1 ;
  x3do:bboxCenter ( 0 0 0 ) ;
  x3do:bboxSize ( -1 -1 -1 ) ;
  x3do:center ( 0 0 0 ) ;
  x3do:rotation ( 0 0 1 0 ) ;
  x3do:scale ( 1 1 1 ) ;
  x3do:scaleOrientation ( 0 0 1 0 ) ;
  x3do:translation ( 0 -2 0 ) .
:Shape_2_2_3_1 a owl:NamedIndividual, x3do:Shape ;
  x3do:hasParent :Transform_2_2_3 ;
  x3do:hasGeometry :Text_2_2_3_1_1 ;
  x3do:hasAppearance :Appearance_2_2_3_1_2 ;
  x3do:bboxCenter ( 0 0 0 ) ;
  x3do:bboxSize ( -1 -1 -1 ) .
:Text_2_2_3_1_1 a owl:NamedIndividual, x3do:Text ;
  x3do:hasParent :Shape_2_2_3_1 ;
  x3do:hasFontStyle :FontStyle_2_2_3_1_1_1 ;
  x3do:maxExtent 0.0 ;
  x3do:solid false ;
  x3do:string '"Hello" "world!"' .
:FontStyle_2_2_3_1_1_1 a owl:NamedIndividual, x3do:FontStyle ;
  x3do:hasParent :Text_2_2_3_1_1 ;
  x3do:family '"SERIF"' ;
  x3do:horizontal true ;
  x3do:justify '"MIDDLE" "MIDDLE"' ;
  x3do:leftToRight true ;
  x3do:size 1.0 ;
  x3do:spacing 1.0 ;
  x3do:cssStyle 'PLAIN' ;
  x3do:topToBottom true .
:Appearance_2_2_3_1_2 a owl:NamedIndividual, x3do:Appearance ;
  x3do:hasParent :Shape_2_2_3_1 ;
  x3do:hasMaterial :Material_2_2_3_1_2_1 .
:Material_2_2_3_1_2_1 a owl:NamedIndividual, x3do:Material ;
  x3do:hasParent :Appearance_2_2_3_1_2 ;
  x3do:ambientIntensity 0.2 ;
  x3do:diffuseColor ( 0.1 0.5 1 ) ;
  x3do:emissiveColor ( 0 0 0 ) ;
  x3do:shininess 0.2 ;
  x3do:specularColor ( 0 0 0 ) ;
  x3do:transparency 0 .
:Signature_3 a owl:NamedIndividual, x3do:Signature ;
  x3do:hasParent :X3D ;
  x3do:hasSignedInfo :SignedInfo_3_1 ;
  x3do:hasSignatureValue :SignatureValue_3_2 ;
  x3do:hasKeyInfo :KeyInfo_3_3 .
:SignedInfo_3_1 a owl:NamedIndividual, x3do:SignedInfo ;
  x3do:hasParent :Signature_3 ;
  x3do:hasCanonicalizationMethod :CanonicalizationMethod_3_1_1 ;
  x3do:hasSignatureMethod :SignatureMethod_3_1_2 ;
  x3do:hasReference :Reference_3_1_3 .
:CanonicalizationMethod_3_1_1 a owl:NamedIndividual, x3do:CanonicalizationMethod ;
  x3do:hasParent :SignedInfo_3_1 ;
  x3do:Algorithm 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315' .
:SignatureMethod_3_1_2 a owl:NamedIndividual, x3do:SignatureMethod ;
  x3do:hasParent :SignedInfo_3_1 ;
  x3do:Algorithm 'http://www.w3.org/2000/09/xmldsig#rsa-sha1' .
:Reference_3_1_3 a owl:NamedIndividual, x3do:Reference ;
  x3do:hasParent :SignedInfo_3_1 ;
  x3do:hasTransforms :Transforms_3_1_3_1 ;
  x3do:hasDigestMethod :DigestMethod_3_1_3_2 ;
  x3do:hasDigestValue :DigestValue_3_1_3_3 ;
  x3do:URI '#xpointer(/)' .
:Transforms_3_1_3_1 a owl:NamedIndividual, x3do:Transforms ;
  x3do:hasParent :Reference_3_1_3 ;
  x3do:hasTransform :Transform_3_1_3_1_1, :Transform_3_1_3_1_2 .
:Transform_3_1_3_1_1 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transforms_3_1_3_1 ;
  x3do:Algorithm 'http://www.w3.org/2000/09/xmldsig#enveloped-signature' .
:Transform_3_1_3_1_2 a owl:NamedIndividual, x3do:Transform ;
  x3do:hasParent :Transforms_3_1_3_1 ;
  x3do:Algorithm 'http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments' .
:DigestMethod_3_1_3_2 a owl:NamedIndividual, x3do:DigestMethod ;
  x3do:hasParent :Reference_3_1_3 ;
  x3do:Algorithm 'http://www.w3.org/2000/09/xmldsig#sha1' .
:DigestValue_3_1_3_3 a owl:NamedIndividual, x3do:DigestValue ;
  x3do:hasParent :Reference_3_1_3 .
:SignatureValue_3_2 a owl:NamedIndividual, x3do:SignatureValue ;
  x3do:hasParent :Signature_3 .
:KeyInfo_3_3 a owl:NamedIndividual, x3do:KeyInfo ;
  x3do:hasParent :Signature_3 ;
  x3do:hasX509Data :X509Data_3_3_1 ;
  x3do:hasKeyValue :KeyValue_3_3_2 .
:X509Data_3_3_1 a owl:NamedIndividual, x3do:X509Data ;
  x3do:hasParent :KeyInfo_3_3 ;
  x3do:hasX509Certificate :X509Certificate_3_3_1_1 .
:X509Certificate_3_3_1_1 a owl:NamedIndividual, x3do:X509Certificate ;
  x3do:hasParent :X509Data_3_3_1 .
:KeyValue_3_3_2 a owl:NamedIndividual, x3do:KeyValue ;
  x3do:hasParent :KeyInfo_3_3 ;
  x3do:hasRSAKeyValue :RSAKeyValue_3_3_2_1 .
:RSAKeyValue_3_3_2_1 a owl:NamedIndividual, x3do:RSAKeyValue ;
  x3do:hasParent :KeyValue_3_3_2 ;
  x3do:hasModulus :Modulus_3_3_2_1_1 ;
  x3do:hasExponent :Exponent_3_3_2_1_2 .
:Modulus_3_3_2_1_1 a owl:NamedIndividual, x3do:Modulus ;
  x3do:hasParent :RSAKeyValue_3_3_2_1 .
:Exponent_3_3_2_1_2 a owl:NamedIndividual, x3do:Exponent ;
  x3do:hasParent :RSAKeyValue_3_3_2_1 .
