Michel,

this does not appear to be a TopBraid related question, but rather an issue for 
Joseki's result rendering. Please ask the jena-dev list.

Thanks
Holger


On Dec 22, 2009, at 7:08 AM, Bohms, H.M. (Michel) wrote:

>  
> When I do a Sparql query on Joseki/TDB I always get the full URI's in the 
> result set. Is tehre a way to just get the last part of it?
>  
> Example:
> At: http://www.bimtoolset.org:2020/sparql.html
> when I do:
>  
> prefix pmo: <http://www.bimtoolset.org/ontologies/pmo-lite.owl#>
> prefix imo: <http://www.bimtoolset.org/ontologies/IrMonitoringOutput.owl#>
>  
> select ?room ?sensor ?xposition
> where {
> ?room a imo:MonitoredRoom .
> ?room pmo:hasPart_directly ?sensor .
> ?sensor a imo:IrSensor .
> ?sensor pmo:hasPart_directly ?position .
> ?position a imo:PositionInMonitoredRoom .
> ?position imo:xCoordinate ?xposition .
> }
> the result is:
> room  sensor  xposition
> <http://www.bimtoolset.org/ontologies/IrMonitoringOutput.owl#MonitoredRoom_1>
> etc.
>  
> What I would like to see is just: MonitoredRoom _1 or imo:MonitoredRoom....
> (just like in TBC internal query...)
>  
> Guess must be something simple in the query ? .....
>  
> thx Michel
>  
>  
>  
>  
>    TNO.NL
>  
> Michel Böhms
> Consultant Building Innovation
>  
> TNO Built Environment and Geosciences
> Van Mourik Broekmanweg 6 | PO Box 49
> 2600 AA | Delft | The Netherlands
>  
>  
> Tel +31 15 2763107
> E-mail  [email protected]
> Web http://www.linkedin.com/in/michelbohms
> Skype name michelbohms
>  
>  
> Disclaimer        
>  
>  
>  
>  
>  
>  
>  
>  
> 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.

--

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