[tbc-users] [SPIN] Intermittent exception

2009-05-01 Thread Jeff
Hello, I'm at a bit of a loss on this one. For some reason I'm getting the below exception most (but not all) of the time. On one occasion I printed out the triple being added in the org.topbraid.spin.model.SPINFactory.createTriplePattern(Unknown Source) call: getTriplePattern triple: null h

[tbc-users] Re: Searching query in SPARQLpedia

2009-05-01 Thread Holger Knublauch
Yes this is a good suggestion. I need to update SPARQLpedia anyway to use the newest TBL and SPARQLmotion version, and then I could do this change. The reason why this is not implemented yet is that text searching in SPARQL is often quite inefficient - it's basically a matter of walking t

[tbc-users] Searching query in SPARQLpedia

2009-05-01 Thread ol3j
Hi, I have a sugguest. Is possible searching query by name or surname, not full name such as Holger Knublauch but only Holger or Knublauch (In this case I don't have any results) Regards ol3j --~--~-~--~~~---~--~~ You received this message because you are subs

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
I got it to work for now by using the OntDocumentManager: OntDocumentManager.getInstance().addAltEntry( "http://spinrdf.org/spl";, "file:" + config.retrieveTBCOntologyDir() +

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Holger Knublauch
This happens inside the init call of SPINModuleRegistry. I noticed that this call may not work if you have unpacked the jar file and run it locally, due to classloader issues with the sp.owl file. Holger On May 1, 2009, at 12:45 PM, Schmitz, Jeffrey A wrote: > > Looking at SPINParsingExamp

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
I have a feeling it has something to do with the spl.spin.owl model referenced in SPL.getModel: public static Model getModel() { if(model == null) { model = ModelFactory.createDefaultModel(); InputStream is = SPL.class.getRes

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
Looking at SPINParsingExample, I don't see where sp gets imported. It looks like an empty model is being created with no imports, even though the comment indicates the import is happening somehow. // Create an empty OntModel importing SP Model mode

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
Must be something with my setup. When I run SPINParsingExample, I get the same error, even when using the '>'. Jeff -Original Message- From: Holger Knublauch [mailto:hol...@topquadrant.com] Sent: Friday, May 01, 2009 12:46 PM To: topbraid-composer-users@googlegroups.com Subject: [tbc

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
Hmm, I believe it should include the sp graph as it's imported into my test model. Also, I have a user defined function that's defined in another imported model, and it works for that function. I'm trying to put together an example case. I'll send the source and models to your personal accoun

[tbc-users] Re: [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Holger Knublauch
Hi Jeff, I can't reproduce problems there. For example, change the query of the SPINParsingExample class to contain a = and it still appears to work. Could it be that your Model does not contain the SP import graph and therefore does not know that = is a built-in operator? Otherwise, could

[tbc-users] Re: ANN: SPIN 1.0.0

2009-05-01 Thread Holger Knublauch
Ok, done for the next release. Meanwhile I trust you have already changed this in your version :) Holger On Apr 30, 2009, at 12:51 PM, Schmitz, Jeffrey A wrote: > > Hi Holger, > I have another request I think. Unless I'm overlooking something, I > don't see any way to create a QueryExecuti

[tbc-users] [SPIN] ARQ2SPIN.createQuery error

2009-05-01 Thread Schmitz, Jeffrey A
Hello, I'm trying to create a SPIN Query by calling ARQ2SPIN.createQuery. The query contains a FILTER with an equals operator: FILTER (?className = "Neutral") . Somewhere along the line this gets parsed as a Function (E_Equals) with Symbol '='. However, in ARQ2SPIN.createExpression

[tbc-users] Re: Another multi-lingual question

2009-05-01 Thread Scott Henninger
I believe the underlying issue is that drag-drop with properties does not work when the scrollbar is present in the form. You can use the form's "Add widget for property..." instead. -- Scott On May 1, 12:16 pm, Arthur Keen wrote: > Scot > > While I was experimenting with multi-lingual labels,

[tbc-users] Re: Another multi-lingual question

2009-05-01 Thread Holger Knublauch
Yes this is a known difference between Mac and Windows. There are subtle differences in how Eclipse/SWT are implemented on both platforms, and it's tricky to find a solution that works on both. Holger On May 1, 2009, at 10:16 AM, Arthur Keen wrote: > > Scot > > While I was experimenting wi

[tbc-users] DITA Schema in RDF or OWL

2009-05-01 Thread bradleys
I know this is not a Top Braid "problem" but I need to find the full DITA schema in RDF or OWL format so I can import it for my OWL-DL ontology. I have searched Sindice but the DITA RDF files there are mostly hollow shells. If there is a better user group for this question, let me know. Thanks. --

[tbc-users] Re: Another multi-lingual question

2009-05-01 Thread Arthur Keen
Scot While I was experimenting with multi-lingual labels, I noticed that Composer Me 3b2 in OS-X Leopard (10.5.6) will not let you drag and drop annotations onto resources in the forms view. This works perfectly with Composer me 3b2 in Windows (XP 64). I tried changing OS-X's default fr

[tbc-users] Re: import a javascript library

2009-05-01 Thread Holger Knublauch
On Apr 16, 2009, at 9:19 PM, Scott Henninger wrote: > > Oh, my apologies. This is a different story altogether. It seems > that Composer's version of of JavaScript (Mozilla Rhino) is not > providing access to the built-in objects (Math, Boolean, Array, > etc.). We are working to fix this. Th

[tbc-users] ANN: TopBraid Suite 3.0

2009-05-01 Thread Holger Knublauch
Dear users, we are pleased to announce the release of TopBraid Suite 3.0 today. This combined release includes TopBraid Composer, TopBraid Live and TopBraid Ensemble. TBC Maestro edition includes a personal edition of TopBraid Live and TopBraid Ensemble for rapid web application development