[tbc-users] Re: import a javascript library

2009-04-17 Thread mwz
:54 pm, mwz mingzhen@gmail.com wrote: Scott, I guess I did not make myself clear. What I try to do is to include a JavaScript library so I do not need to code functions defined in the library again. For example, I can use Math.sin(x) directly from the library. Mingzhen On Apr

[tbc-users] import a javascript library

2009-04-16 Thread mwz
Hi, I am having problem to import a JavaScript library so I can use functions defined in them. I looked at the project properties (by right clicking on the project), there is no 'JavaScript' bar to expand as shown in the help section of advanced javascript topic. What could I do for the system

[tbc-users] Re: import a javascript library

2009-04-16 Thread mwz
for spinx:javaScriptFile The details are if arguments are passed and defining the return type. -- Scott On Apr 16, 10:54 am, mwz mingzhen@gmail.com wrote: Hi, I am having problem to import a JavaScript library so I can use functions defined in them. I looked at the project properties

[tbc-users] Re: import a javascript library

2009-04-16 Thread mwz
you need is a valid way to address the file.  For example, it can be a URL to a file on a remote server. -- Scott On Apr 16, 2:55 pm, mwz mingzhen@gmail.com wrote: Hi Scott, I got the function part work for me. My question is: how I can add a javaScript library so I can use

[tbc-users] Re: still cannot make the javascript function work as expected

2009-04-15 Thread mwz
from the example I presented on my blog? Thanks Holger On Apr 15, 2009, at 8:45 AM, mwz wrote: Scott, I added the argument, and I still got error says 'failed to retrieve all query results'. Mingzhen- Hide quoted text - - Show quoted text

[tbc-users] Re: user defined javascript access

2009-04-14 Thread mwz
file and   point to that file using spinx:javaScriptFile. The file either needs   to contain a JavaScript function called testFunction, or you can call   any other function from that file using spinx:javaScriptCode. Holger On Apr 13, 2009, at 1:30 PM, mwz wrote: Hi Everyone, I am

[tbc-users] views in oracle databases

2009-04-13 Thread mwz
Scott, I had problem to send you a message on the original one. So, it took long to send you this feedback. Thank you for your suggestion, but I went through the following steps and still cannot solve the problem. 1. open -Mapping.owl file and edit it, and make the classMap for the

[tbc-users] Re: views in oracle databases

2009-04-13 Thread mwz
Scott, I got it! The reason is that I used Item_ID instead of ITEM_ID. I should be aware of that. Plus, I found I'd better to close the application and re-open it to see the change. Thank you very much. Mingzhen On Apr 13, 8:48 am, mwz mingzhen@gmail.com wrote: Scott, I had problem

[tbc-users] Re: properties assigned to super class

2009-04-13 Thread mwz
...@l-3com.com wrote: Is this so because the Ontology is not a true-classical OO model? Narsim Ganti -Original Message- From: topbraid-composer-users@googlegroups.com [mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of mwz Sent: Monday, April 13, 2009 10:13 AM

[tbc-users] Re: properties assigned to super class

2009-04-13 Thread mwz
RDF/S and OWL standards) are data modeling technologies, not programming technologies. This is all by design by the standards. -- Scott On Apr 13, 9:55 am, mwz mingzhen@gmail.com wrote: Thanks for all responses for discussion. So do we have to assign the properties to every class

[tbc-users] user defined javascript access

2009-04-13 Thread mwz
Hi Everyone, I am testing how TopBraid can access a user defined javascript file and therefore the functions in the file. For example, I am defining a subclass of spin:Function, there are options like spinx:javaScriptCode and spinx:javaScriptFile. If I want to use the second option, where should

[tbc-users] Re: views in oracle databases

2009-04-10 Thread mwz
, seehttp://www4.wiwiss.fu-berlin.de/bizer/d2rq/spec/#specification -- Scott On Apr 10, 10:52 am, mwz mingzhen@gmail.com wrote: I am using D2RQ to generate a rdf view for contents in an oracle database. I found out TopBraid or D2RQ cannot process 'view' in oracle correctly. The view

[tbc-users] Re: topbraid running problem

2009-04-09 Thread mwz
get an error. Could you please tell us which is the specific error you refer to? -- Scott On Apr 9, 10:35 am, mwz mingzhen@gmail.com wrote: Hi, I see the problem when I import another piece of ontological model and try to set up relationships of classes and properties: basically