- From: <Patrick.Stickler@nokia.com>
- Date: Sat, 31 Aug 2002 11:41:50 +0300
- To: <ashley@semantic.org>, <www-rdf-interest@w3.org>
Hi Ashley,
While datatyping is still a work in progress, it is anticipated
that you could express a base64 encoded literal in a form similar to
the following:
<photograph rdf:type="http://www.w3.org/2001/XMLSchema#base64Binary">R0lGODlhEAAQAJ...</photograph>
Hopefully soon there will be a published WD from the RDF Core WG
which will discuss this kind of datatyped literal in detail.
Regards,
Patrick
--
Patrick Stickler Phone: +358 50 483 9453
Senior Research Scientist Fax: +358 7180 35409
Nokia Research Center Email: patrick.stickler@nokia.com
> -----Original Message-----
> From: ext Ashley Yakeley [mailto:ashley@semantic.org]
> Sent: 31 August, 2002 08:22
> To: RDF Interest Group
> Subject: 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,R0lGODlhEAAQAJ
> EAAP///wAAACe
> MU//m5iH5BAEAAAAALAAAAAAQABAAAAIrhI+py+1/gpxMDoHFkCmMm2FfEH2gJ
> I6G92Gopq5tCJ
> OIFW62MlHQDwwCCwA7</rdf:Resource></photograph>
>
> What's the best way to do this?
>
> --
> Ashley Yakeley, Seattle WA
>
>
Received on Saturday, 31 August 2002 04:41:53 UTC