Re: [topbraid-users] Rename Resources Module

2013-05-05 Thread Holger Knublauch
Hi John, why would the following not work (in a single sml:PerformUpdate step): INSERT { example.com:IEE_GuidanceNote ?p ?o . } WHERE { example.com:IEE_GuidanceNote_Template ?p ?o . } Also, I looked at the Help > TopBraid Composer > Reference > SPARQLMotion Module Library Reference, an

Re: [topbraid-users] [SPIN API] SPARQL syntax error because of superfluous PREFIXes on subquery

2013-05-07 Thread Holger Knublauch
Hi Martynas, I have not been able to reproduce this with the latest code base, so my belief is that this is a legacy bug from the online spinconverter. I can only speculate that it was using an old version of Jena that had this bug, because the code is calling Jena's default string rendering o

Re: [topbraid-users] Executing user defined SPIN Function

2013-05-14 Thread Holger Knublauch
Hi Leo, On 5/14/2013 21:17, Leo Anbarasan wrote: I have tried many options to execute user defined SPIN functions. But i could not succeed. *SPIN Function*: SELECT ?users WHERE { { SELECT ((GROUP_CONCAT(DISTINCT ?user; SEPARATOR=',')) AS ?users) WHERE { ?user a

Re: [topbraid-users] Executing user defined SPIN Function

2013-05-15 Thread Holger Knublauch
Style; /** * Loads the Kennedys SPIN ontology and runs inferences and then * constraint checks on it. * * @author Holger Knublauch */ public class KennedysInferencingAndConstraintsExample { public static void main(String[] args) { // Initialize system functions and temp

Re: [topbraid-users] Creating a Linked-Data cloud with TBL

2013-05-17 Thread Holger Knublauch
Hi Tim, just a pointer to http://www.w3.org/TR/swbp-vocab-pub/ which I found useful recently to copy and paste the query rewriting syntax for TQ's schema.org version (http://topbraid.org/schema/). I guess you can use similar mechanisms to redirect to the swp servlet if the request is f

Re: [topbraid-users] TBC-ME 4.2.1 hangs during ui:instanceView edit

2013-05-17 Thread Holger Knublauch
Hi Tim, does this happen for any edit on that particular file, or only if you replace exactly that ui:instanceView value? Could you at least send me (off-list) the SWP snippet that you are replacing, just so that I get a feel for the size and structure? Anything in the error log (after rest

Re: [topbraid-users] [SPIN API] Checking if Variable was used in the WHERE pattern

2013-05-22 Thread Holger Knublauch
On 5/23/2013 0:53, pu...@xml.lt wrote: Hey, I'm working on a SPIN-based query builder. One of the last things I added is a possibility to specify a Variable or expression to be used in ORDER BY. This is working fine, except that the supplied Variable might not be used in the WHERE pattern, wh

Re: [topbraid-users] [TBC SE v4.2.1] Sesame connector and RDF data store size

2013-05-23 Thread Holger Knublauch
Hi Tomas, could you send us some example SPARQL queries that no longer work? Could it be that the instances don't show up because you are looking at a superclass of the actual rdf:type? Also note that TBC is doing some caching, so whenever you upload new data into a remote store, the local sys

Re: [topbraid-users] [SPIN API] Construct with aggregates

2013-05-26 Thread Holger Knublauch
Hello Heiner, this option seems to work: CONSTRUCT { ?this base:_result ?result . } WHERE { { SELECT ((SUM(?value)) AS ?result) ?this WHERE { ?this base:has/base:_property ?value . } GROUP BY ?this } . } Note the GROUP BY. But in general,

Re: [topbraid-users] [TBC SE v4.2.1] Sesame connector and RDF data store size

2013-05-28 Thread Holger Knublauch
tries to build an initial cache? I've tried clearing caches, restarting both TBC and sesame server numerous times, but to no avail. Regards, Tomas On Friday, May 24, 2013 2:53:32 AM UTC+3, Holger Knublauch wrote: Hi Tomas, could you send us some example SPARQL queries that

Re: [topbraid-users] SPIN integration with Jena

2013-05-29 Thread Holger Knublauch
Hi Matias, I saw your thread on the Jena mailing list, and do believe that the Jena list would be a better place to continue this topic. I have personally never used Fuseki so cannot help you further on this particular topic. Regards, Holger On 5/30/2013 14:41, Matt wrote: Hello, I haven'

Re: [topbraid-users] Naming conflicts and human-readable labels mode

2013-06-02 Thread Holger Knublauch
Hi Rich, sorry but I cannot reproduce this. I tried it by adding a class as shown below and (even with two rdf:types) it does render correctly. Could you send us a small RDF file to help us reproduce this? Also which version of TBC do you use? Thanks Holger On 6/1/2013 4:37, Rich Keller

Re: [topbraid-users] Encoding issue with exported text files

2013-06-05 Thread Holger Knublauch
Hi Jamal, currently, sml:ExportToTextFile always uses the default encoding of the platform. I have just added an optional argument sml:encoding to override that and explicitly set it to UTF-8 if needed. This change will make it into 4.3. When you open the resulting .txt files in Eclipse, mak

[topbraid-users] [ANN] TopBraid Suite 4.3.0 beta 1

2013-06-07 Thread Holger Knublauch
Dear users, we are pleased to announce a (first) beta of TopBraid 4.3. See release notes http://topquadrant.com/products/release_notes/v4.3.html with details at http://topquadrant.com/docs/versions/changes-4.3.0.txt This beta is mainly aimed at EVN and TopBraid platform evaluators to

[topbraid-users] TopQuadrant's Blog, Twitter and Youtube accounts

2013-06-10 Thread Holger Knublauch
For those who would like to stay informed about new features and other announcements, please subscribe to some of the services below: Blogs: http://topquadrantblog.blogspot.com http://composing-the-semantic-web.blogspot.com Twitter: http://twitter.com/TopQuadrant http://twitter.com/HolgerKnubla

Re: [topbraid-users] magic property returning results for all resources even when restricted to a specific resource

2013-06-13 Thread Holger Knublauch
Hi Alison, magic properties always have to use sp:arg1, sp:arg2 etc, so please replace sp:arg with sp:arg1 (and use ?arg1) instead. HTH Holger On 6/14/2013 0:32, Alison Callahan wrote: Hello all, I am using TopBraid Composer 4.2.0 Free Edition, installed using these instructions: http://w

Re: [topbraid-users] calling a SPIN function in body of another function

2013-06-14 Thread Holger Knublauch
It seems to be again an issue of using sp:arg instead of sp:arg1. Admittedly the error message could be better, but please make sure that none of your functions uses sp:arg. We'll make it more robust in the future. HTH Holger On 6/15/2013 1:05, Alison Callahan wrote: Hello all, I have creat

Re: [topbraid-users] calling a SPIN function in body of another function

2013-06-14 Thread Holger Knublauch
On 6/15/2013 10:52, Alison Callahan wrote: Thanks again Holger. Could you point me to any documentation about when certain predicates should/should not be used? Simply use Create spl:Argument... from the context menu next to spin:constraint to create the arguments. This will apply the desi

Re: [topbraid-users] Re: [ANN] TopBraid Suite 4.3.0 beta 1

2013-06-17 Thread Holger Knublauch
On 6/18/2013 1:03, J.REZZOUK wrote: Hello Holger, Maybe I missed something but I don't find any documentation about the following topics : * Added a "default" application for EVN: an editor for general RDFS/OWL Ontologies, not only SKOS-based models. The official documentation in the

Re: [topbraid-users] SPARQL Web Pages without Topbraid Live

2013-06-20 Thread Holger Knublauch
Hello, unfortunately I don't see a way to do that. There is no public evaluation download of TopBraid Live - for most cases testing is covered by TBC-ME which includes its personal (Jetty) server. However that TBC-ME version of TBL cannot be used to host web services including SWP and any req

Re: [topbraid-users] Failed to run constraint check

2013-06-24 Thread Holger Knublauch
Hi Barney, this is hard to debug without seeing the queries that you are running. Could you send me the file or parts of it. You can send it off-list for privacy if you prefer. It looks like Jena cannot even parse the query, possibly with a sub-SELECT? Thanks Holger On 6/24/2013 17:52, Bar

Re: [topbraid-users] Is swp?_viewName still working in 4.3B

2013-06-25 Thread Holger Knublauch
Hi Guil, _viewName should still work, although _viewClass is recommended and preferred. To refresh all SWP, SPIN, SM etc, use System > Refresh TopBraid system registries... HTH Holger On 6/25/2013 21:09, Guilherme Scomparim wrote: Hi all, I just upgraded to the new 4.3B and when tryi

Re: [topbraid-users] Is swp?_viewName still working in 4.3B

2013-06-25 Thread Holger Knublauch
viewClass handles arguments better. I have moved almost all of our own use cases (EVN etc) to use viewClass, but viewName will continue to work. Holger Thanks again, Guil *From:* Holger Knublauch <mailto:hol...@topquadrant.com> *Sent:* Tuesday, June 25, 2013 9:12 PM *To:* topbraid

Re: [topbraid-users] Access to Virtuoso int TBC via Sesame

2013-07-02 Thread Holger Knublauch
Hi Rune, do you see any triples (classes/properties/instances) when you browse through your database with TBC? Also, please make sure you have the corresponding sesame server version installed as the protocol may have changed. We are probably a bit behind with Sesame versions, and currently exp

Re: [topbraid-users] TBC not compatible with Kepler

2013-07-02 Thread Holger Knublauch
Hi Tim, yes we do not officially support some of the new Eclipse versions yet. We will hopefully look into this after 4.3 is finalized, unless some other higher priority items pop up. For example we are also behind with the Jena version. The specific issue you notice is a mismatch in the Git

Re: [topbraid-users] Moving SPARQL queries from Library to Editor

2013-07-03 Thread Holger Knublauch
Hi Rich, the quickest way that I see is to go to the context menu of the spin:query and select Execute as SPARQL query. This will copy it into the SPARQL View's editor area and then also execute it. HTH Holger On 7/4/2013 3:37, Rich Keller wrote: Is there an easy way to move a SPARQL query

Re: [topbraid-users] TpoBraid Composer problem

2013-07-07 Thread Holger Knublauch
On 7/5/2013 15:57, actress wrote: Hi, there, Just wanted to ask :if TopBraid Composer gives an error: Stack unavailable- what dies that mean? This is nothing of concern. If no stack trace is available, then there was a warning or error or (log message) that was not directly caused by a softw

Re: [topbraid-users] Fixing the uri of an ontology file

2013-07-09 Thread Holger Knublauch
Hi Adia, TBC will use a file:/... base URI if it cannot figure out a more meaningful URI. This is the case if the file neither contains an owl:Ontology instance nor an xml:base. Note that TBC cannot know from where you downloaded the file, so it needs to make some guess. To overcome this, us

Re: [topbraid-users] Re: QUDT - issues and prospects?

2013-07-10 Thread Holger Knublauch
On 7/11/2013 12:37, Ralph Hodgson wrote: I am the lead ontologist for QUDT and the NASA QUDT Handbook being produced (using SWP and LaTeX generators) from release 2 of QUDT. This release is substantially larger, having all of ISO 8 domains. Currently we are in an editorial review of the ha

Re: [topbraid-users] Digest for topbraid-users@googlegroups.com - 3 Messages in 1 Topic

2013-07-11 Thread Holger Knublauch
:seeAlso. Holger Knublauch wrote: > Also, for OWL DL compliance just download a copy of QUDT and delete thetriples that you don't want Yes, that is what we have done for now. But we would prefer to refer directly to the web-hosted resource. Clone and modify is not really in the spirit of th

Re: [topbraid-users] Word Wrap in swa:ResultSetGrid

2013-07-24 Thread Holger Knublauch
Hi Chilli, we use jqGrid for the swa:ResultSetGrid component, and the following tip may work (not verified): http://stackoverflow.com/questions/6510144/jqgrid-long-text-wrapping HTH Holger On 7/25/2013 14:36, ChilliPeppers wrote: Hi, I have an SWA application that uses quite a lot of grid

Re: [topbraid-users] Tabs in an SWA Form

2013-07-28 Thread Holger Knublauch
On 7/29/2013 10:31, ChilliPeppers wrote: Hello All, Is there any way to create tabs in an SWA Form? Yes, but SWA does not support tabs out of the box. You are free to wrap any SWP component into your preferred HTML 5 tabs component, and we have done so successfully in the past. For example t

Re: [topbraid-users] Ordering of nodes in a Tree

2013-07-28 Thread Holger Knublauch
On 7/29/2013 10:38, ChilliPeppers wrote: Hi All, By default the order of nodes in a tree is alphabetical. Is there any way to control this? For example, is there any way in the swa:ClassTreeGadget to specify the order for nodes in a tree for an SWA application? Yes you can control this (an

Re: [topbraid-users] Publishing an event to the Gadgets Hub

2013-07-28 Thread Holger Knublauch
On 7/29/2013 10:59, ChilliPeppers wrote: Hi Holger, Thanks for the previous two responses. Very helpful. Going for 3 out of 3 now! I'm still struggling to get the syntax right for publishing a resource to the gadgets hub correctly. The following code is supposed to, onSelect, publish the in

Re: [topbraid-users] EVN - Tagger configuration error ?

2013-08-01 Thread Holger Knublauch
Jamal, this was a temporary issue with beta 1, which has been fixed in the meantime (for the final release). There were a couple of other places with the same symptom - as of 4.3, all externally called SWP views need to declare a ui:responseType. Thanks, Holger On Aug 1, 2013, at 9:26 PM, J.

Re: [topbraid-users] EVN - Tagger configuration error ?

2013-08-02 Thread Holger Knublauch
On 8/2/2013 17:27, J.REZZOUK wrote: Thanks for your answers. Do you know when you intend to deliver the final release ? We intend to deliver the final release of 4.3 in the next two weeks. We have just started the internal QA process. Holger -- -- You received this message because you are s

Re: [topbraid-users] D2RQ and SWA default application - error ?

2013-08-02 Thread Holger Knublauch
Hi Jamal, we can confirm this with the 4.3 beta (not just SWP but also from browsing a D2RQ model with TBC). We will look into this and keep you posted. Thanks Holger On 8/1/2013 18:28, J.REZZOUK wrote: Hello, I have defined a D2RQ mapping with MySQL Database. It works well in TBCME (TBC

Re: [topbraid-users] Deploying SWP applications on TBL

2013-08-06 Thread Holger Knublauch
On 8/6/2013 21:37, ChilliPeppers wrote: Hello, Is there any equivalent to the old /TopBraid Ensemble Application Assembly and Deployment/ capability for deploying an SWP app on TBL? There is no drag-and-drop assembly of components yet in SWP, but the SWA gadgets should be easy to enough to w

Re: [topbraid-users] nbsp (non-breaking space) and cryptic EVN error

2013-08-06 Thread Holger Knublauch
Hi Courtland, do you have access to the error log so that we can see the "real" error? I am not aware of EVN bugs with special characters, so I wonder which element of the stack is broken. I know that RDF/XML writers sometimes choke on special characters, but EVN doesn't use this format. Onc

Re: [topbraid-users] nbsp (non-breaking space) and cryptic EVN error

2013-08-07 Thread Holger Knublauch
Ok. Can you help me reproduce this? I did try to inject a nbsp character into the SDB (by editing the turtle source code from TBC, using \u00A0 to encode the char in Turtle notation), and then edited the resource in EVN but it seems to work fine. Do you have a file that I could import (like you

Re: [topbraid-users] SWA application behaviour

2013-08-07 Thread Holger Knublauch
Hi Terry, I guess I would need to see the source code to be able to help. As a general hint: always run your web applications with debugging help such as FireBug activated. This would show you any JavaScript errors in the Console, that may otherwise go unnoticed and reveal important informati

Re: [topbraid-users] Problem using SPINMap

2013-08-07 Thread Holger Knublauch
On 8/8/2013 8:01, Steve Ray (CMU) wrote: Hi, I'm having trouble mapping two related classes in class A (in this case "json") to two similarly related classes in class B (in this case "cmusc"). I was planning to use the spinmap:targetResource function, but in this case it doesn't seem to allo

Re: [topbraid-users] spif:generateUUID doesn't behave as expected

2013-08-15 Thread Holger Knublauch
Steve, don't forget the () behind the function call - spif:generateUUID() - otherwise it's just the URI resource of the function itself. Cheers Holger On 8/16/2013 12:24, Steve Ray (CMU) wrote: I was going to use this function, but it seems to just return itself (the class spif:generateU

Re: [topbraid-users] 4.3 and Topbraid Insight

2013-08-16 Thread Holger Knublauch
Hi Paul, this works for me (both on Windows and Mac). Could you clarify how you installed TBC - did you reuse an existing workspace or create a new workspace? The system should automatically unpack a project called tbi.topbraidlive.org. Do you see that project? Otherwise, anything in the error

Re: [topbraid-users] D2RQ and SWA default application - error ?

2013-08-20 Thread Holger Knublauch
4.3.0 release...same error. I can query the D2R Dataview graph but only with a single graph pattern. Jamal Le vendredi 2 août 2013 13:34:19 UTC+2, Holger Knublauch a écrit : Hi Jamal, we can confirm this with the 4.3 beta (not just SWP but also from browsing a D2RQ model with TBC).

Re: [topbraid-users] [SPIN API] Recursively walking the WHERE pattern

2013-08-30 Thread Holger Knublauch
On 8/30/2013 19:18, pu...@xml.lt wrote: Hey all, I wonder if there are any convenience methods in the SPIN API to recursively walk the elements of the WHERE pattern in the query Model? Have you tried org.topbraid.spin.model.visitor.ElementWalker? Cheers Holger What I want to do is to fin

Re: [topbraid-users] Error Is not in the workspace

2013-09-02 Thread Holger Knublauch
Hi John, judging from the source code this happens if the variable ?result (encoded as urn:x-var:result) points to a base URI that is not represented by a file in the workspace. does look very suspicious to me: it lacks the http:// and also shouldn't have the part after the # in it. BTW I

Re: [topbraid-users] error importing uml file

2013-09-10 Thread Holger Knublauch
Thanks for the report, Paul. The problem is that the class names contain the invalid character ':' - probably round-tripped from an RDF prefix notation. Needless to say, those class names also wouldn't be valid Java or C++ identifiers, but our code should certainly handle them more gracefully.

Re: [topbraid-users] Embedded Tree Component Behaviour

2013-09-16 Thread Holger Knublauch
Hi Terry, please take a look at swa:ClassTreeGadget for an example of how this is done. Basically, you should wrap your tree into a "gadget" that subscribes to events. Then, if the event to change the selected resource fires, it needs to call swa.selectTreeNode as shown in the source code of

Re: [topbraid-users] EVN 4.3 : "Delete this vocabulary" doesn't work

2013-09-18 Thread Holger Knublauch
Hello Jamal, this seems to work fine for me. Could you clarify what happens when you click on the Delete link: any error message e.g. in the Error Log of TBC? Thanks Holger On 9/18/2013 20:26, J.REZZOUK wrote: Hello, I am currently working with TBCME 4.3 (Windows 7). Using EVN locally, I

Re: [topbraid-users] Complete SPIN reset between Inferences run

2013-09-19 Thread Holger Knublauch
Hi Chris, (and thanks Jerven for responding too). I agree with Jerven that this may be a Java VM optimization. Have you tried running this through a Java profiler to get the "real" numbers? Holger On 9/19/2013 18:38, Jerven Bolleman wrote: Hi Chris, Disclaimer: Not a SPIN developer or rel

Re: [topbraid-users] Issues processing XML files that do not end in ".xml"

2013-09-20 Thread Holger Knublauch
Hi Tim, I see no alternative to pre-processing with a batch process. Holger On 9/21/2013 6:55, Tim Smith wrote: Hi, I have a commercial package that generates XML files. I have a schema for these files and have created a .ttl ontology for said schema so I can easily process these files.

Re: [topbraid-users] swa:SubscribeArgument

2013-09-20 Thread Holger Knublauch
Hi Terry, from the small snippet below I cannot see what the issue could be. It looks fine to me, assuming that ?resourceSelectedEvent is bound (possibly as argument to the gadget itself) and that other gadgets such as the tree send the correct data payload. Each event on the hub can have suc

Re: [topbraid-users] Issues processing XML files that do not end in ".xml"

2013-09-22 Thread Holger Knublauch
processing, 1) what otherextension names are there and 2) we'd need acouple of months for this to percolate to a sufficiently high priority. -- Scott On 9/21/2013 1:17 AM, Holger Knublauch wrote: Hi Tim, I see no alternative to pre-processing with a batch process.

[topbraid-users] [ANN] SPIN API 1.3.1

2013-09-22 Thread Holger Knublauch
There is a new SPIN API version available on the usual site http://topbraid.org/spin/api/ This is primarily a maintenance release to catch up with the newest Jena version 2.11. It also includes support for the VALUES keyword in the SPIN RDF syntax. Regards TopBraid Team -- -- You receiv

Re: [topbraid-users] Issues processing XML files that do not end in ".xml"

2013-09-23 Thread Holger Knublauch
s to .xml. While we could do the processing, 1) what otherextension names are there and 2) we'd need acouple of months for this to percolate to a sufficiently high priority. -- Scott On 9/21/2013 1:17 AM, Holger Knublauch wrote: Hi Tim, I see no alternative to p

Re: [topbraid-users] Can't get cardinality constraint to wor

2013-09-24 Thread Holger Knublauch
Hi Martynas, I tried your example from TBC and the constraint is correctly tested there (although there is an NPE in 4.3 when you look at instances of your class, now fixed for 4.4). I assume you are running this via the API, so I can only guess what else may be wrong. Maybe missing imports i

Re: [topbraid-users] Can't get cardinality constraint to wor

2013-09-24 Thread Holger Knublauch
On 9/25/2013 10:52, pu...@xml.lt wrote: Thanks Holger. Yes I'm running through the API. I would check spl:ObjectCountPropertyConstraint, but I suppose it has to be in the SPL ontology then? Which version are you referring to, since I can't find it in mine (rdf:datatype="http://www.w3.org/2001

Re: [topbraid-users] time

2013-10-06 Thread Holger Knublauch
On 9/27/2013 19:05, Irene Celino wrote: Wow, this is super useful! Thanks for this feature! Just a quick question: does TBC inference suffer from a sort of "cold start" problem? I've just tried running inference on a very small model simply using TopSPIN; the first run lasted for quite long (a

Re: [topbraid-users] Using spin-1.3.1.jar

2013-10-06 Thread Holger Knublauch
On 9/28/2013 20:52, Marco Neumann wrote: just noticed that I could not use the spin-1.3.1.jar file from http://www.topquadrant.com/repository/spin/org/topbraid/spin/1.3.1/spin-1.3.1-distribution.zip I had to download the http://www.topquadrant.com/repository/spin/org/topbraid/spin/1.3.1/spin-1.3

Re: [topbraid-users] SparqlMotion extractData applyConstruct

2013-10-06 Thread Holger Knublauch
On 10/4/2013 22:32, Derek S wrote: I've been following the TopBraid App. Dev. Quickstart guide for creating a sparql motion script. I'm using TBC 4.3 I'm using the Import RDF from Workspace module. Given it the baseURI of the file. 1) The guide states to use the ExtractData module - which I don'

Re: [topbraid-users] Executing groups of constraint Templates (pre-process/post-process)

2013-10-06 Thread Holger Knublauch
Hi Martynas, you may know that for SPIN rules it is possible to use sub-properties of spin:rule. People can define their own properties such as my:prepRule and my:postRule and use this for grouping. The SPIN API exposes this by allowing developers to pass in the rule predicate as an argument.

Re: [topbraid-users] Re: Using spin-1.3.1.jar

2013-10-07 Thread Holger Knublauch
On 9/28/2013 20:57, Marco Neumann wrote: FYI they also move the example ontology (http://www.co-ode.org/ontologies/pizza/2007/02/12/pizza.owl) used in OWLRLExample.java Yes the co-ode.org server has been taken down, I guess after the funding for the original project expired. I have contacted M

Re: [topbraid-users] Getting Version Number from TopBraid (ReST)

2013-10-08 Thread Holger Knublauch
Hi Michael, there is a built-in SPARQL function http://topbraidlive.org/uix#getTBVersion that returns the version number string. I am not sure what your context is, so here are two options: 1) If you are on an SWP page or a SPARQLMotion script that produces the output, you can simply call t

Re: [topbraid-users] Executing groups of constraint Templates (pre-process/post-process)

2013-10-10 Thread Holger Knublauch
a patch then I could turn around a new version quickly. Thanks, Holger Martynas 2013 m. spalis 7 d., pirmadienis 03:47:18 UTC+2, Holger Knublauch rašė: Hi Martynas, you may know that for SPIN rules it is possible to use sub-properties of spin:rule. People can define their

Re: [topbraid-users] HTTP 413 error from long url parameter

2013-10-11 Thread Holger Knublauch
Hi Mark, can you use POST instead of GET for the request? Thanks Holger On Oct 12, 2013, at 7:47 AM, Mark van Berkel wrote: > Hello, > > I was testing a sms webservice that submits around 35 statements in turtle > syntax as a parameter for the script and I encounter the Jetty 413 Error > (F

Re: [topbraid-users] [SPIN API] 1.3.1 About ARQ2SPIN for SPARQL UPDATE keywords

2013-10-11 Thread Holger Knublauch
Hi Yasunori, you can use the following ARQFactory method: public Update createUpdate(com.hp.hpl.jena.update.Update arq, String uri) { HTH Holger On Oct 11, 2013, at 5:27 PM, yayam...@gmail.com wrote: > Hello, > > Now I'm trying to convert SPARQL 1.1 queries in plain text to those in RDF > usi

Re: [topbraid-users] UI request

2013-10-11 Thread Holger Knublauch
Hi Paul, I am afraid you will need to use the global button - we cannot add such an option to each individual dialog. In your case, a simple work-around might be to introduce a prefix for that namespace. Regards, Holger On Oct 11, 2013, at 4:24 PM, PaulZH wrote: > Request to have a button in

Re: [topbraid-users] SPARQLMOTION issue

2013-10-11 Thread Holger Knublauch
Hi Paul, I believe nested sub-selects cannot use pre-bound variables (in general). A work-around is to put the logic of the sub-selects into SPIN functions or magic properties, and call those with the ?_br value are an argument. HTH Holger On Oct 11, 2013, at 10:57 PM, PaulZH wrote: > I have

Re: [topbraid-users] UTF-8

2013-10-13 Thread Holger Knublauch
Paul, we have recorded this as an enhancement request. Thanks, Holger On 10/12/2013 22:53, PaulZH wrote: Scott, My Eclipse Workspace setting for text file encoding is UTF-8. So I'm not satisfied with the answer, surely since the client doesn't want to buy the Maestro Edition, which is neede

Re: [topbraid-users] SPARQL Query Question

2013-10-14 Thread Holger Knublauch
Tim, could you try GRAPH (in the WHERE clause) instead of FROM? That should work consistently. Thanks Holger On Oct 15, 2013, at 6:18 AM, Tim Smith wrote: > I have the following query: > > CONSTRUCT { > ?s ?p ?o . > } > FROM > WHERE { > ?s ?p ?o . > } > > I open the file Rows3 in t

Re: [topbraid-users] Enhancement Request

2013-10-16 Thread Holger Knublauch
Hi Tim, your suggestion makes sense - I have verified that the current implementation picks a "random" sxml:Document instance from the graph. This could become an argument to the module. I have recorded your suggestion on our JIRA. Thanks, Holger On 10/17/2013 0:48, Tim Smith wrote: Hi,

Re: [topbraid-users] Enhancement Request

2013-10-16 Thread Holger Knublauch
On 10/17/2013 10:53, Tim Smith wrote: Thanks Holger! I hope it makes the cut in the near future. I have lots of that kind of processing to do. Yeah it was an easy one and will be part of TopBraid 4.4 scheduled for the end of this year. Holger -- -- You received this message because you ar

Re: [topbraid-users] Executing groups of constraint Templates (pre-process/post-process)

2013-10-21 Thread Holger Knublauch
e the file goes through. Martynas graphityhq.com 2013 m. spalis 11 d., penktadienis 00:53:02 UTC+2, Holger Knublauch ras(e.: On 10/11/2013 1:50, pu...@xml.lt wrote: Yes Holger, that might actually work. Looking forward to the next release! Just checking, have you tried the approach

Re: [topbraid-users] Automated Uploads of Projects with a Script

2013-10-21 Thread Holger Knublauch
On 10/19/2013 0:48, Aaron L. Johnson wrote: I see that there are two ways listed to upload a project to Top Braid Live. One way is through the user interface and the other is using Eclipse to do an export. My question is in regards to automating the deploy with a script (such as Ant). Is the

Re: [topbraid-users] [SPIN API] 1.3.1 About ARQ2SPIN for SPARQL UPDATE keywords

2013-10-23 Thread Holger Knublauch
y is given? > > Regards, > Yasunori > > 2013年10月12日土曜日 8時17分35秒 UTC+9 Holger Knublauch: > > Hi Yasunori, > > you can use the following ARQFactory method: > > public Update createUpdate(com.hp.hpl.jena.update.Update arq, > String uri) { &g

Re: [topbraid-users] Accent in a ui:parse

2013-10-30 Thread Holger Knublauch
Hi Dilan, which version are you using? As Scott also stated, this seems to be working fine with 4.3. Thanks Holger On 10/30/2013 23:06, Dilan Form wrote: Hi, I am trying to insert an XHTML snippet in ui:parse but when an accent is present the parse fails. Is it a bug ? An example :

Re: [topbraid-users] Re: Accent in a ui:parse

2013-10-31 Thread Holger Knublauch
Dilan, in general, HTML escaped characters such as é seem to work fine with ui:parse. I would need more information about your specific scenario to help further, e.g. what is the surrounding servlet call and how to the overall HTML response look like? Using a debugger such as FireBug is recomme

Re: [topbraid-users] Re: Accent in a ui:parse

2013-11-04 Thread Holger Knublauch
Hi Dilan, thanks for those details. I can confirm that this scenario was broken in 4.3.0 but will be fixed in 4.3.1 along with other unicode character issues. In general, ui:parse will return the source code if parsing fails for some reason. 4.3.1 will be out soon. Thanks, Holger On 11/4/2

Re: [topbraid-users] How do we convert SPIN query in RDF to raw SPARQL query with the API?

2013-11-05 Thread Holger Knublauch
Hi, the resource needs to have rdf:type sp:Select (or sp:Ask etc). Could you send me the part of the (Turtle) source code that defines that resource, or (even better) print out the rdf:types of the resource in the Jena model? Thanks, Holger On 11/1/2013 13:38, r.matsum...@syntaxerror.biz wr

Re: [topbraid-users] Git: Problem Opening Wizard

2013-11-06 Thread Holger Knublauch
Hi Oliver, thanks for this report. I can confirm that this even happens in TBC-ME. I guess our build is missing some plugins for the git feature. I have recorded this as a bug. Meanwhile, I recommend TortoiseGit, which is IMHO a better git client anyway. Thanks Holger On 11/7/2013 7:46, Ol

Re: [topbraid-users] Working with Arbitrary XML

2013-11-06 Thread Holger Knublauch
The following works: 1) Open the first .xml 2) Save as .ttl 3) In the Turtle, modify the values of sxml:element to be strings: "Activity" and "Process" (by default they are resources including namespace and this means they won't be reused). 4) Open the second .xml and say yes in the dialog, th

Re: [topbraid-users] How do we convert SPIN query in RDF to raw SPARQL query with the API?

2013-11-07 Thread Holger Knublauch
Ryo > 2013年11月6日水曜日 13時45分20秒 UTC+9 Holger Knublauch: > > Hi, > > the resource needs to have rdf:type sp:Select (or sp:Ask etc). > Could you > send me the part of the (Turtle) source code that defines that > resource, > or (even better) p

Re: [topbraid-users] How do we convert SPIN query in RDF to raw SPARQL query with the API?

2013-11-07 Thread Holger Knublauch
, r.matsum...@syntaxerror.biz wrote: Hi Holger, I got it. I attached the source code. Thanks, Ryo 2013?11?8 9?59?29? UTC+9 Holger Knublauch: Hi Ryo, sorry I cannot see what would be wrong. I would need a complete example (Java code) to reproduce this. Regards, Holger

Re: [topbraid-users] Eclipse 'Run As' in Topbraid Composer

2013-11-12 Thread Holger Knublauch
Hi Paul, thanks for this report. I have recorded this general install issue on our JIRA to verify what's going on before the 4.4 release. We did have issues with the update site before and generally don't recommend it - it's one of those features that cost more to keep alive than they bring b

Re: [topbraid-users] how to adjust the cache size?

2013-11-19 Thread Holger Knublauch
Hi Tim, I am not aware of such a preference. The only thing that can be selected at http://localhost:8083/tbl/swp?_viewClass=tbladmin:ConfigEditor is to activate cache-all which will force the whole database into memory on first access. By default every (Sesame) database is layered by a cach

Re: [topbraid-users] how to adjust the cache size?

2013-11-20 Thread Holger Knublauch
By default, cache-all is off because it is only applicable for medium-sized databases. Note that EVN graphs are always cached-all though, and the preference is ignored for those. Holger On 11/21/2013 3:20, Tim Harsch wrote: That's exactly what I was looking for, thanks. I saw the cached gra

Re: [topbraid-users] How do we convert SPIN query in RDF to raw SPARQL query with the API?

2013-11-22 Thread Holger Knublauch
On 11/21/2013 18:16, Ryo Matsumiya wrote: Hi, Some qustions about this problem came out after that. 1) Are there any ways to detect only non-nested queries? ex) First "SELECT" in http://www.learningsparql.com/2ndeditionexamples/ex143.rq is non-nested queries, and the other "SELECT"s are nested

Re: [topbraid-users] TBC ME Live Personal Server not showing projects

2013-11-24 Thread Holger Knublauch
In addition to this, you can go to Model > Open with SWA Default Application to open a (configurable) web interface for any RDF model in your Eclipse workspace. Holger On 11/24/2013 5:06, Scott Henninger wrote: Derek; It is the case that the application architecture has changed and divided

Re: [topbraid-users] FOAF 0.98 in TopBraid?

2013-11-26 Thread Holger Knublauch
Hi Simon, I will put this on our list, although I am afraid it will be of low priority because you can simply replace the version in your own copy yourself. Furthermore I am not convinced that FOAF is still being used much, as most of its features are also present in schema.org Regards, Holg

Re: [topbraid-users] save button in sparql result pane

2013-11-29 Thread Holger Knublauch
Paul, is there anything in the error log? I don't have this Mac version to reproduce the issue. Thanks, Holger On Nov 29, 2013, at 10:40 PM, PaulZH wrote: > Hi, > > context: TBCME 4.3.1.v20131101-1317R on Mac Mavericks > > about: save button in sparql result pane > I can use this 'save' on

Re: [topbraid-users] "NoSuchMethodError" after migrating the project from SPIN API 1.2.0 to 1.3.1

2013-12-02 Thread Holger Knublauch
Hello SungKu, did you update the Jena version as well? The newest SPIN API requires Jena 2.11 HTH Holger On 11/26/2013 16:14, SungKu Kang wrote: Hello, I've been working with the previous version of SPIN API (1.2.0) and recently migrated my project to SPIN API 1.3.1 (with adding AWT-based

Re: [topbraid-users] SparqlMotion function returning SPARQL result Set

2013-12-02 Thread Holger Knublauch
Hello Thierry, it is not possible to embed a call to a SM function that returns with sml:ReturnSPARQLResults into an SWP component. sml:ReturnSPARQLResults is really just producing the result set serialization. If you want SWP to iterate over some SPARQL result set, you could capture the SPA

Re: [topbraid-users] "NoSuchMethodError" after migrating the project from SPIN API 1.2.0 to 1.3.1

2013-12-02 Thread Holger Knublauch
I cannot tell what is wrong. The method from the exception does exist in Jena 2.11: public static UpdateProcessor create(Update update, GraphStore graphStore, Binding inputBinding) so it seems like your installation is somehow not using the correct Jena binaries. Holger On 12/3/2013

Re: [topbraid-users] SPIN rules vs. direct SPARQL queries in TBC

2013-12-03 Thread Holger Knublauch
Hi Aaron, the TopSPIN engine (and all other TopBraid engines) is indeed using some triples at runtime that are filtered out before they get reported as "inferred" triples. Let's call those "trivial" inferences that are not really interesting to the outside world. These include things like

Re: [topbraid-users] How to define datatype restriction on equivalentClass

2013-12-05 Thread Holger Knublauch
Hi, OWL 2 RL does not include support for user-defined datatypes, so while the syntax is correct, the inference engine cannot make the desired inferences. Anyone could add a general SPIN rule for this, but it's not part of the OWL RL standard. If you want to stay inside OWL, look into other

Re: [topbraid-users] How to define datatype restriction on equivalentClass

2013-12-05 Thread Holger Knublauch
On 12/5/2013 23:12, Wasin wrote: Thank you, for your reply Holger. In first place, i'm sorry for double replay. Because, i think my internet has a problem that why my post don't shows. This mailing list has a moderation queue, which means that any message from a new member needs to be manuall

Re: [topbraid-users] editing issue

2013-12-05 Thread Holger Knublauch
Why don't you just change the ontology. It makes little sense to me to have both rdfs:Literal and xsd:dateTime in the range. Any xsd:dateTime is also a valid rdfs:Literal, so you could make it rdfs:Literal and use Change datatype if you need xsd:dateTime. Holger On 11/29/2013 22:11, PaulZH w

Re: [topbraid-users] Error with SPARQLMotion Tutorial, Exercise 1

2013-12-15 Thread Holger Knublauch
Hello Michael and welcome to the group. The error message looks very surprising and points at missing files in the workspace. Could you double-check that the project TopBraid in the Navigator contains a folder "SPARQLMotion" with a file sparqlmotion.ttl ? You may want to refresh the project be

Re: [topbraid-users] Sorted Turtle and language tags

2013-12-18 Thread Holger Knublauch
This could be a bug in the sorted turtle writer (although I could not reproduce this locally). All editions of 4.4 will use a different sorted turtle writer (previously known as C14N) by default. Previous versions of Standard Edition do not have this feature. Holger On 12/18/2013 0:30, osma.

  1   2   3   4   5   6   7   8   9   10   >