Non-Text Literals

Hi, I just subscribed. Is there a way to represent data other than text 
in RDF? For instance, given this,

  <rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns="http://semantic.org/whatever#"
  <Person>
    <name>Ashley Yakeley</name>
    <email>ashley@semantic.org</email>
  </Person>
  </rdf:RDF>

how would I insert a "photograph" property? I thought maybe

  <photograph><something:Literal type="image/jpeg" 
encoding="base64"><![CDATA[
     AAAAAAAfhjeiwlnvlimeibeio etc.
  ]]></something:Literal></photograph>

or maybe this:

  
<photograph><rdf:Resource>data:image/gif;base64,R0lGODlhEAAQAJEAAP///wAAACe
MU//m5iH5BAEAAAAALAAAAAAQABAAAAIrhI+py+1/gpxMDoHFkCmMm2FfEH2gJI6G92Gopq5tCJ
OIFW62MlHQDwwCCwA7</rdf:Resource></photograph>

What's the best way to do this?

-- 
Ashley Yakeley, Seattle WA

Received on Saturday, 31 August 2002 01:22:21 UTC