Hi Gerrrick

a clean way to do this would be to use a data URI.
Unfortunately I don't believe there is any support for the data scheme within TopBraid Suite.

Within triples using literal values with datatype xsd:hexBinary or xsd:base64Binary may work.
Again, I don't believe we offer much coding support for these ....

Jeremy


Gerrick Bivins wrote:
Hi Holger, I only want to store the string. I'm can encode/decode via my client (flex/java).
What I was concerned mostly about was:
1) the length of my encoded string being too long
2) the string getting mangled since it's being simply passed as a string rather than wrapped in xml or something.

Otherwise would something like this work?
biv

On Mon, Jun 21, 2010 at 5:26 PM, Holger Knublauch <[email protected] <mailto:[email protected]>> wrote:

    Hi Gerrick,

    no sorry I am not aware of a solution to that inside of TopBraid.
    Maybe with external tools that can encode binaries, but even then
    those would not be understood by the TopBraid UIs.

    Holger


    On Jun 22, 2010, at 5:13 AM, Gerrick Bivins wrote:

    Hello,
    Is it possible to add an image to an instance in my ontology?
    For instance, the kennedy's example has a link to a photo that
    exists at a url but what I'd like to do is embed the image data,
    maybe as an encoded string.
    I thought about trying to send it as a parameter to a
    sparqlmotion script but I'm not sure of the length of the string
    I'll be sending so I backed off of that.
    How about as xml data? Can I send it to SM via a "POST" (ala html)?
    TIA
    Gerrick

-- You received this message because you are subscribed to the Google
    Group "TopBraid Suite Users", the topics of which include
    TopBraid Composer,
    TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/topbraid-users?hl=en

-- You received this message because you are subscribed to the Google
    Group "TopBraid Suite Users", the topics of which include TopBraid
    Composer,
    TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
    To post to this group, send email to
    [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:topbraid-users%[email protected]>
    For more options, visit this group at
    http://groups.google.com/group/topbraid-users?hl=en


--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to