Thanks Holger,
This works perfectly. 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Holger
Knublauch
Sent: donderdag 21 januari 2010 12:49
To: [email protected]
Subject: Re: [tbc-users] Getting the URI of instances


Hi Pim, 

in order to convert a resource to its URI (string), you can use the
built-in SPARQL type cast operator xsd:string, e.g.

SELECT *
WHERE {
    ?x a :CartesianPoint . 
    LET (?uri := xsd:string(?x)) .
}

The <CartesianPoint> representation is only on the TBC user interface.

Regards,
Holger


On Jan 21, 2010, at 1:49 AM, Helm, P.W. (Pim) van den wrote:


        How can I get the URI of instances of a semantic xml document. I
noticed in the form each instance has a unique URI, but the instances
are always shown by there class name. 
         
        So in my case sparqling to get all objects of class
CartesianPoint via:
        Select *
        where {
        ?x rdf:type :CartesianPoint
        }
         
        shows a column of elements having all the same name (
<CartesianPoint> ). 
         
        How can a get the actual URI?
         
        Kind regards,
        Pim
        This e-mail and its contents are subject to the DISCLAIMER at
http://www.tno.nl/disclaimer/email.html
        -- 
        You received this message because you are subscribed to the
Google Groups "TopBraid Composer Users" group.
        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-composer-users?hl=en.
        


This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html
--
You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group.
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-composer-users?hl=en.

Reply via email to