I think I understand better now. A URL of
http://Cyber.org/CyberTools/docs/Screencapture/PRA.JPG makes it look like
PRA.JPG is hosted on the public web site Cyber.org, but it's not, right? I
don't see anything there, so I'm wondering how you can see the image in
TBCME.

 

To make a non-RDF resource like that available through the TBL server, put
it in a tbl-www subdirectory of the project. For example, I created
subdirectories under the tbl-www directory of a Cyber.org project to make it
look more like your URL, and then put PRA.JPG in that. Then, from a browser,
I could access the image using TBCME as the server with the URL
http://localhost:8083/tbl/data/Cyber.org/CyberTools/docs/Screencapture/PRA.J
PG . Don't forget the /data/ part of the URL, and adjust everything before
it to account for your own server, e.g.
http://145.14.198.133:8080/tbl/tbl/data/Cyber.org/CyberTools/docs/Screencapt
ure/PRA.JPG . If this works from a browser, it will work from your
application. 

 

Bob DuCharme

 

 

From: David M Petrovich [mailto:[email protected]] 
Sent: Monday, September 19, 2011 9:40 AM
To: [email protected]
Subject: RE: [topbraid-users] accessing a jpg, pdf and a ms word doc in
TBLive

 

1. stored in an object property

2. when I put the path in my browser - I won't see, I get an error.

My thought is that my path is not correct because I'm not sure how to access
the image through the tomcat / TB Live service.
 <http://cyber.org/CyberTools/docs/Screencapture/PRA.JPG>
http://Cyber.org/CyberTools/docs/Screencapture/PRA.JPG

My path to the application is (I've change the ip so you won't be able to
access the app)
http://145.14.198.133:8080/tbl/tbl/app/Cyber.org/user-applications/CODE%20Ce
nter%20Collaboration%20Version%209.n3/-/Cyber.org/Cyber/Cyber4.ttl#
<http://145.14.198.133:8080/tbl/tbl/app/Cyber.org/user-applications/CODE%20C
enter%20Collaboration%20Version%209.n3/-/Cyber.org/Cyber/Cyber4.ttl> 

When in TB ME - I can see the image.


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


 <mailto:[email protected]> [email protected]

8333 Bryan Dairy Rd.
Largo, Florida 33777 United States
 <http://www.raytheon.com/> 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.



Inactive hide details for "Bob Ducharme" ---09/19/2011 09:29:01
AM---David,"Bob Ducharme" ---09/19/2011 09:29:01 AM---David,



From:


"Bob Ducharme" <[email protected]>



To:


<[email protected]>



Date:


09/19/2011 09:29 AM



Subject:


RE: [topbraid-users] accessing a jpg, pdf and a ms word doc in TBLive



Sent by:


[email protected]

  _____  




David,

Is the image stored in an object property or a datatype property? Can you
display the image using the same URL when you just enter the URL in a
browser instead of doing it through the TBE application? 

Thanks,

Bob DuCharme
TopQuadrant

From: [email protected]
[mailto:[email protected]] On Behalf Of David M Petrovich
Sent: Monday, September 19, 2011 9:12 AM
To: [email protected]
Subject: Re: [topbraid-users] accessing a jpg, pdf and a ms word doc in
TBLive

I need more detail in how to get the image and documents viewable in TB
Live.

I sent out a previous email and have not yet received a response.

thx,

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


 <mailto:[email protected]> [email protected]

8333 Bryan Dairy Rd.
Largo, Florida 33777 United States
 <http://www.raytheon.com/> 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.



Inactive hide details for Willie Milnor ---09/15/2011 12:08:13 PM---Hi
David, If TBE sees a URI that ends with a file extensionWillie Milnor
---09/15/2011 12:08:13 PM---Hi David, If TBE sees a URI that ends with a
file extension for an image (i.e., .jpg, 



From:


Willie Milnor <[email protected]>



To:


[email protected]



Date:


09/15/2011 12:08 PM



Subject:


Re: [topbraid-users] accessing a jpg, pdf and a ms word doc in TBLive



Sent by:


[email protected]

  _____  





Hi David,

If TBE sees a URI that ends with a file extension for an image (i.e., .jpg,
.ping, etc.) then TBE will attempt to load the image at that URL; and if the
image cannot be loaded, then TBE will merely display the URI. In the latter
case, if the property is a datatype property then TBE will simply display
the URI as text; however, if the property is an object property (as is
hasScreenCapture), then TBE will display the URI as if it were the URI of
another resource (and clicking the link would redirect the form to that
resource).

[[
When I click on the blue highlighted path, a form pops up without
displaying the image.
]]
Based on my description above, it seems that TBE is unable to load the
image.

[[
I need to do this for pdfs and word docs as well.
]]
If the range of hasDoc is xsd:anyURI, then clicking the URL will open up a
separate browser window/tab to that URL. (But again, if the URI appears to
be for a file, TBE will try to load that image.)

On Wed, Sep 14, 2011 at 2:29 PM,  <mailto:[email protected]>
[email protected] < <mailto:[email protected]>
[email protected]> wrote: 

I've created project Cyber.org and then several directories under that
project to store jpg, pdf and word docs. The intent is to access them
through an TPLive application. In TBC-ME, I ctreated two properties.
One for images then the other for the pdf and word doc.
hasScreenCapture is an object property The hasDoc is an object
property with a range of xsd:anyURI.

The path value of the hasScreenCapture property is <
<http://cyber.org/CyberTools/docs/Screencapture/PRA.JPG> http://Cyber.org/
CyberTools/docs/Screencapture/PRA.JPG>

Within TBC-ME I can see the globe and when I click on it the jpg
appears.

I've deployed the project in TBLive. When I click on the data instance
that has the hasScreenCapture poperty I see the following value:
 <http://cyber.org/CyberTools/docs/Screencapture/PRA.JPG>
http://Cyber.org/CyberTools/docs/Screencapture/PRA.JPG

When I click on the blue highlighted path, a form pops up without
displaying the image.

I need to do this for pdfs and word docs as well.

--
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
 <mailto:[email protected]> [email protected]
To unsubscribe from this group, send email to
 <mailto:topbraid-users%[email protected]>
[email protected]
For more options, visit this group at
 <http://groups.google.com/group/topbraid-users?hl=en>
http://groups.google.com/group/topbraid-users?hl=en




-- 
Willie Milnor
Sr. Semantic Solutions Developer

TopQuadrant, Inc.
330 John Carlyle Street
Suite 180
Alexandria, VA 22314
703.299.9330
 <http://www.topquadrant.com/> www.topquadrant.com 

Cell: 410.971.7788 

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

<<image001.gif>>

<<image002.gif>>

<<image004.png>>

<<image005.png>>

<<image006.png>>

<<image007.png>>

Reply via email to