Holger,
What I mean is, if I call a SM service like this:

http://localhost:8083/tbl/actions?action=sparqlmotion&id=EmbedEncodedString&arg1=mybase64EncodedString


where "mybase64EncodedString" is the string representing the image encoded,
do I need to worry about it getting truncated/mangled etc?
If not, then I think I can proceed.

Jeremy,
Yes, I considered the data URI, but I could find references on how to set it
up in TBC and it wasn't clear to me what I needed to import to include it's
definitions.

I don't necessarily need to view the data in TBC, I just want to be able to
store it as a property on an instance and then query the model to retrieve
it.
Gerrick
On Mon, Jun 21, 2010 at 6:03 PM, Holger Knublauch <[email protected]>wrote:

> I don't think there are any size limitations, and any RDF serialization
> should preserve the characters. I have not tried this myself, so if you
> encounter problems with that then send us a follow-up. I personally find
> embedding binary data into triples a bit strange because you could also keep
> them as normal Web resources (and reference them via URIs), but I don't know
> your use case, and you may have good reasons for doing that.
>
> Holger
>
>
> On Jun 22, 2010, at 8:59 AM, 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]>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]
>> 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]<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]<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

Reply via email to