Tim; As Jeremy suggests, the best way to get it to look like a browser
is to use a browser, hence the reference to TBE 3.0/Ensemble.

In the meantime, this can be done directly in Composer with the help
of Eclipse. Step 1 is to use an object property.

Step 2 is to configure the file types using Preferences > General >
Editors > File Associations.  Choose whatever internal (to Eclipse) or
external application you want.  For example, I have *.pdf set to be
opened with Acrobat Reader.

Step three is to create the property.  For example:
  :MyTaxes :associatedDoc <file:///D:/form1040.pdf>
  :associatedDoc a owl:ObjectProperty

The second triple emphasizing that the object property is used, not a
datatype (Composer won't try to "follow" literals).

This opens Acrobat and displays the document in the middle pane.  Note
that this file is local on my D: drive.  You can use any valid URL
here.

-- Scott

On Feb 11, 3:47 pm, "Smith, Tim" <[email protected]> wrote:
> Hi,
>
> This may be something very simple that I've overlooked or modeled
> incorrectly, but here goes...
>
> I have many instances that have an associated URL.  This URL may point
> to a document on a server or webpage, whatever, doesn't really matter.
> What I need is the ability to open those links from within Composer and
> TBE.  I don't want/need TBC/E to actually display the data at the URL.
> I just need it to open it in the appropriate application just as a web
> browser would do.
>
> For example, I run a SPARQL query that returns a collection of document
> instances and their associated URLs.  
>
> How can I "click" on the URL to open the document?  
>
> I would like to do this from the SPARQL results view, the Form display
> for the instance as well as from within the results view in TBE.
>
> For reference, the range of the "URL" property is xsd:anyURI so TBC can
> determine that it is a URI resource.
>
> Note:  I'm attempting this from TBC/ME 2.6.2.  I have not tried it on
> the new beta version.
>
> Thanks!
>
> Tim
--~--~---------~--~----~------------~-------~--~----~
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