Hi,

I am wondering if it is possible to set attributes on properties , so
that when returned in rdf/xml format, via a http request, I can
uniquely identify them

For example,

If I have an instance with a property, "hasText" which contains text
from part of a document, if parts of this text refer to other
instances, I add a "makesReferenceTo" property, with the object being
the instance the text refers to. My problem is that one section of
text can have multiple references to other instances resulting in the
following rdf/xml

<TextExtract>
      <makesReferenceTo rdf:resource="http://.......object1........";></
makesReferenceTo>
      <makesReferenceTo rdf:resource="http://.......object2........";></
makesReferenceTo>
       <makesReferenceTo
rdf:resource="http://.......object3........";></makesReferenceTo>
</TextExtract>

 which although I can easily parse in my custom app, I have no way of
tying what part of the original text references what. Basically what I
am looking to achieve is an export like the following

<TextExtract>
      <makesReferenceTo ATTRIB1
rdf:resource="http://.......instance1........";></makesReferenceTo>
      <makesReferenceTo  ATTRIB2
rdf:resource="http://.......instance2........";></makesReferenceTo>
       <makesReferenceTo ATTRIB3
rdf:resource="http://.......instance3........";></makesReferenceTo>
</TextExtract

with the attribs ideally being a short string of text from the
original hasText property.

I probably have not explained myself very well as usual, but if you
could point me in the right direction it would be much appreciated.

Thanks for your continued support

Regards

John

-- 
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