thanks - I put the image under docs and it works

-david

                                                                                
  David Petrovich                                                               
  Senior Principal Systems Engineer                                             
  Command And Control Systems, Security Solutions                               
  Network Centric Systems                                                       
  Raytheon Company                                                              
                                                                                
                                                                                
                                                                                
                                                                                
  (business)                                                                    
                                                                +1.727.302.3176 
  (cell)                                                                        
                                                                +1.727.252.9231 
  (fax)                                                                         
                                                                +1.727.768.8699 
                                                                                
  [email protected]                                                
                                                                                
                                                                                
                                                                                
  8333 Bryan Dairy Rd.                                                          
  Largo, Florida 33777   United States                                          
  www.raytheon.com                                                              
                                                                                
                                                                                
  Raytheon Sustainability                                                       
                                                                                
  This message contains information that may be confidential and privileged.    
  Unless you are the addressee (or authorized to receive mail for the           
  addressee), you should not use, copy or disclose to anyone this message or    
  any information contained in this message. If you have received this message  
  in error, please so advise the sender by reply e-mail and delete this         
  message. Thank you for your cooperation.                                      
                                                                                
                                                                                





                                                                                
                                                                 
  From:       "Bob Ducharme" <[email protected]>                        
                                                                 
                                                                                
                                                                 
  To:         <[email protected]>                                 
                                                                 
                                                                                
                                                                 
  Cc:         <[email protected]>                                 
                                                                 
                                                                                
                                                                 
  Date:       07/20/2011 04:05 PM                                               
                                                                 
                                                                                
                                                                 
  Subject:    RE: [topbraid-users] representing a jpg                           
                                                                 
                                                                                
                                                                 
  Sent by:    [email protected]                                   
                                                                 
                                                                                
                                                                 





David,

A good model for this is the kennedys:photo property in the
Examples/kennedys.rdf model, which is an owl:ObjectProperty. If you look at
this property's value for the kennedys:JohnKennedy resource, you'll see
that
it's
<
http://www.topbraidcomposer.org/demos/kennedys/images/204px-John_F._Kennedy
,_White_House_color_photo_portrait.jpg>. When look select him in the TBE
default app, you'll see that the image itself appears and not the URL.

If you store the JPEG image files locally, they still need to be accessible
to TBE via some sort of web server, but you can use the web server built
into TBC for that by using the special tbl-www directory. For example, in a
project called sandbox, if you have a mypic.jpg file stored in the
sandbox/tbl-www directory, you can access it with a browser as
http://localhost:8083/tbl/data/sandbox/mypic.jpg, which means that a value
of <http://localhost:8083/tbl/data/sandbox/mypic.jpg> in the property that
points to the picture (i.e. in your own equivalent of the kennedys.rdf
model's kennedys:photo property) will get TBE to display that picture.

Another nice example for the use of the tbl-www directory is the TBE online
help, because it demonstrates the use of tbl-www subdirectories. The
index.html table of contents file for the help is stored in
/server.topbraidlive.org/tbl-www/docs/tbe, so you can access the help with
your browser as
http://localhost:8083/tbl/data/server.topbraidlive.org/docs/tbe/index.html
.
If you want to group your JPEGs into subdirectories, the URLs for
referencing them from within your data would follow a similar pattern.

Bob DuCharme
TopQuadrant

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, July 20, 2011 2:10 PM
To: TopBraid Suite Users
Subject: [topbraid-users] representing a jpg

I am attempting to try and add a jpg in an ontology so I can pop up
the image in Ensemble as well as TBC. I have the image stored locally
and am currently running the TBC ME. I'm not sure what the string or
path should be. I already created an object property

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

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

<<inline: 2A535924.gif>>

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

Reply via email to