Re: [tbc-users] Re: piping xslt transformations

2010-01-28 Thread Holger Knublauch
I think you run into the FAQ about SPARQLMotion, which is how to pass variables from one module to the next, if the name of the output is different from the input. The string pattern matching {?text} sometimes works, but is ugly. Instead, you should leave the input variable field blank at the

Re: [tbc-users] Re: SDB support for MS SQL

2010-01-29 Thread Holger Knublauch
Matt, please try to rename sml:MsSQL to sml:SQLServer. Judging from the Jena (2.6.2) source code, SQLServer is the correct match string. Not sure why it was working for you earlier :) Regards, Holger On Jan 29, 2010, at 5:56 PM, Matt wrote: This is from the error log:

Re: [tbc-users] ideas on possible integration

2010-02-02 Thread Holger Knublauch
Paul, I have read somewhere that Mulgara has a Sesame interface. If that's true then you could access it as remote Sesame graph. Alternatively it may publish a SPARQL end point which you can query using the SPARQL SERVICE keyword. It would also be straight-forward to add a TopBraid back-end

Re: [tbc-users] SPIN Tutorial Question

2010-02-07 Thread Holger Knublauch
Hi Brad, I guess it could be the confusion between spin:Function and spin:Function*s*. To create a user-defined SPIN function, you need to subclass spin:Functions (under spin:Module), which will create you an instance of the metaclass spin:Function. Then you should see the spin:body property.

Re: [tbc-users] Feature request : D2RQ - Agraph progress bar

2010-02-09 Thread Holger Knublauch
Hi Peter, our code is currently using the BulkUpdateHandler associated with the AllegroGraph Jena interface, and specifically the .add(Model) method. Whatever this does is what you see. We need to check whether the method that takes an Iterator behaves differently. If it does not have a

Re: [tbc-users] Re: Importing the DITA DTD

2010-02-12 Thread Holger Knublauch
. Thanks. On Jan 14, 2:28 pm, Holger Knublauch hol...@topquadrant.com wrote: Hi Bradley, I had a similar problem a few days ago. I ended up converting theDTDto XSD using http://www.thaiopensource.com/relaxng/trang.html and then I could import the XSD to TBC

Re: [tbc-users] need to be able to build dbpedia-like URI's containing '()'

2010-02-15 Thread Holger Knublauch
Hi Paul, many thanks for pointing this out - fixed for 3.3 and your test case is now in our library. Holger On Feb 15, 2010, at 6:02 AM, PaulZH wrote: SELECT ?label ?htm WHERE { LET (?fn := 'http://www.test.org/Scott_(writer)') . LET (?li := (smf:lastIndexOf(?fn, /) + 1)) . LET

Re: [tbc-users] Re: Sub-properties of spin:constructor ...

2010-02-15 Thread Holger Knublauch
Thanks, Tim. I have changed this for 3.3 so that sub-properties of spin:constructor will be always recognized as well. Holger On Feb 15, 2010, at 8:15 AM, Tim Darr wrote: Attached is a simple test case. The MyClass class has a property that is a sub-property of spin:constructor that sets

Re: [tbc-users] Generating Java code from owl ontologies

2010-02-17 Thread Holger Knublauch
Hi Hassene, please have a look at JenaBean http://code.google.com/p/jenabean/ Holger On Feb 17, 2010, at 7:45 AM, Hassene Ben Amara wrote: Hi, Is it possible to generate JAVA classes from a given ontology and generate SPARQL queries like the Object Relational Mapping tools

Re: [tbc-users] Graphical Page in TBE

2010-02-23 Thread Holger Knublauch
Hi Andrej, no sorry. TBE does not have any dependencies on Eclipse (UI) specific features such as GEF, and we have no plans to change that. It would also be very difficult to create a Flex-based interface to server-side GEF... Holger On Feb 23, 2010, at 6:22 AM, Andriy Sokolov wrote:

Re: [tbc-users] BIRT or some form of reports/charts in TB Live

2010-02-28 Thread Holger Knublauch
Ideally, what I'd like to do is define a template for a report/chart that is associated with a class in my ontology and when the user selects an instance of this class, the chart/report is available to them in one of the UI forms in TB Live. Yes this is exactly what we have been working on

Re: [tbc-users] Conversion path from EAP to OWL?

2010-02-28 Thread Holger Knublauch
Hi Brad, we are working on exactly this as we speak. We have added a new SPARQLMotion module that makes it possible to load arbitrary XMI/EMF file and then run SPIN mapping rules over them. This will be available for TBC 3.3 in a month. The missing piece is the set of SPIN rules, but we may

Re: [tbc-users] Round Tripping XLS

2010-03-07 Thread Holger Knublauch
Hi Gerrick, the easiest way to understand this mechanism to look at how TopBraid Composer opens an existing .xls file. Right click on it in the Navigator and Open with TopBraid. You will see that each page of Excel file becomes one class. Each row becomes one instance of that class. Those

Re: [tbc-users] Re: Round Tripping XLS

2010-03-08 Thread Holger Knublauch
) at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:226) at org.topbraidcomposer.core.io.TBCIO.loadModel(TBCIO.java:257) at org.topbraidcomposer.core.io.TBCIO$1$1.run(TBCIO.java:298) at java.lang.Thread.run(Thread.java:619) On Mon, Mar 8, 2010 at 12:21 PM, Holger Knublauch hol...@topquadrant.com

Re: [tbc-users] Re: Round Tripping XLS

2010-03-08 Thread Holger Knublauch
The ones with charts are not handled correctly by the Excel API. The following three seem to be fine: BHPCalcs, PVT, WellHistory. Holger -- You received this message because you are subscribed to the Google Groups TopBraid Composer Users group. To post to this group, send email to

Re: [tbc-users] Re: Round Tripping XLS

2010-03-08 Thread Holger Knublauch
or just leave it as is? Gerrick On Mon, Mar 8, 2010 at 3:37 PM, Holger Knublauch hol...@topquadrant.com wrote: The ones with charts are not handled correctly by the Excel API. The following three seem to be fine: BHPCalcs, PVT, WellHistory. Holger -- You received this message

Re: [tbc-users] Re: Is it possible to inspect the constraint violations resulting from an ASK constraint?

2010-03-10 Thread Holger Knublauch
Tim, in SPARQLMotion, the module sml:CheckConstraints will create spin:ConstraintViolation instances for any kind of constraint, including ASK ones. Since this topic came up before, I have just added an option to TBC so that the same behavior will also be available via the Problems view. In

Re: [tbc-users] Question on SPINX (javascript) arguments and return types

2010-03-10 Thread Holger Knublauch
Hi Arthur, this would certainly be possible, but it would help me understand your use case. 1) What data structure would you like to operate on? Result sets of SELECT queries are basically tables, or would you like the JSON objects? 2) What kind of operations would you like to perform over

[topbraid-users] Re: [tbc-users] Question on SPINX (javascript) arguments and return types

2010-03-12 Thread Holger Knublauch
On Mar 11, 2010, at 12:33 PM, Arthur Keen wrote: Did not realize you could use recursion in this way. I like recursion a lot. It makes perfect sense now that we have experienced first hand why the above spin rule was not a good idea. We anticipate on the order of 10,000 measurements,

Re: [topbraid-users] Project Help on XML import

2010-03-24 Thread Holger Knublauch
You can do this, but you need to do an extra step. The default importer (Semantic XML) will turn XML text nodes into RDF instances of the Semantic XML ontology. Those instances can then be post-processed using SPARQL rules (SPIN) into whatever target ontology you want. There is no option to do

Re: [topbraid-users] Re: Import file from users disk to server via SMotion

2010-03-25 Thread Holger Knublauch
Hi Gerrick, this works for me. Please see the attached example. Using sml:ImportRDFFromWorkspace, just specify the file name of the .csv file and leave the base URI blank. Regards, Holger On Mar 26, 2010, at 9:29 AM, Gerrick Bivins wrote: Scott can you be more specific here? What module

Re: [topbraid-users] RE: SPINInferences.run with OntModel

2010-03-26 Thread Holger Knublauch
Yeah, this is a recurring problem that nearly every advanced user (i.e. with large data sets and many merged graphs) runs into sooner or later. It's a matter of re-architecting the Jena graphs to exploit optimizations. You wouldn't expect good performance if you had an application that merged

[topbraid-users] ANN: TopBraid SPIN API 1.1.1

2010-03-28 Thread Holger Knublauch
There is a maintenance release of the SPIN API available from http://topbraid.org/spin/api This is primarily to catch up with various ARQ features for SPARQL 1.1, and to produce a version that is fully compatible with the upcoming 3.3 release of TopBraid. Cheers Holger -- You

Changes to database drivers (was: [topbraid-users] Announcing TopBraid Suite 3.3.0)

2010-03-31 Thread Holger Knublauch
For users upgrading to 3.3 please note: For legal reasons, TopBraid no longer bundles MySQL and jTDS drivers. Please see the following Help file to download and install these database drivers: Help TopBraid Composer Import and Export Import external information Importing Relational

Re: [topbraid-users] Retrieving Spin Rule Explanation for Inferred Value

2010-04-05 Thread Holger Knublauch
On Apr 6, 2010, at 8:58 AM, Arthur Keen wrote: Scott, thanks for the tip, I did not know about spin:reifiedRule and being able to set the the maxIterationCount to 1 - this solves an issue that I was having with another set of rules. We had planned to implement the provenance within

Re: [topbraid-users] Re: missing an API class and an interface in version 3.3

2010-04-05 Thread Holger Knublauch
Andriy, you can extract the javadocs by unzipping the plugins/org.topbraidcomposer.help jar file. I assume that you can then tell your development environment (Eclipse?) to point to those JavaDocs. Holger On Apr 6, 2010, at 7:24 AM, Andriy Sokolov wrote: Thanks, Holger! However I mean

Re: [topbraid-users] UISPIN startup questions ...

2010-04-20 Thread Holger Knublauch
Hi Tim, On Apr 21, 2010, at 2:02 AM, Tim Darr wrote: Two questions: 1 - there seems to be a default HTML view definition for classes (basically a reproduction of the TBC form view). How is this overridden or changed? the default renderings depend on which files you are importing. The

Re: [topbraid-users] Can get access to the file registry from SM?

2010-04-20 Thread Holger Knublauch
On Apr 20, 2010, at 11:15 PM, Gerrick Bivins wrote: If you are taking votes I vote yes on changing the export option! Ok, changed for a future maintenance release. Regards, Holger -- You received this message because you are subscribed to the Google Group TopBraid Suite Users, the topics of

Re: [topbraid-users] Re: how to use some concepts like classes from another ontology

2010-04-22 Thread Holger Knublauch
alredy? On Apr 21, 2:27 pm, Holger Knublauch hol...@topquadrant.com wrote: Aziza, this seems to work for me. Make sure you have TBC 3.3. Then I used the add import button in the Imports View and pasted the URL below. As expected, the class FinancialInstrument shows up. Maybe you have

Re: [topbraid-users] Spin

2010-04-30 Thread Holger Knublauch
John, the documents hosted at spinrdf.org are the official specs aimed at implementors and advanced users. This approach is comparable to the RDF and OWL specifications on the W3C pages - these kinds of specs are not meant to be introductory. If you haven't read them already, you may find the

Re: [topbraid-users] Re: INSERT INTO graph question

2010-05-03 Thread Holger Knublauch
Does this only work for perform update or are there other modules where you can bind to a value to a variable that is named the same as a property on a downstream module? This works everywhere in SPARQLMotion. Holger -- You received this message because you are subscribed to the Google

Re: [topbraid-users] Re: INSERT INTO graph question

2010-05-04 Thread Holger Knublauch
. -- Scott On Apr 21, 6:05 pm, Arthur Keen arthur.a.k...@gmail.com wrote: Holger, Thanks very much for clarifying this. Arthur On Apr 21, 2010, at 5:59 PM, Holger Knublauch wrote: I would not recommend going down this route. Theoretically it might be enough to insert the missing

Re: [topbraid-users] Generating HTML internal links (#label) in UISPIN

2010-05-06 Thread Holger Knublauch
Hi Peter, first, please note that the following does not work: a href=#{= ui:label(?section) } The problem is that attributes (here: href) can only contain {...} expressions if those expressions cover the whole length of the string. So the following would work: a href='{=

Re: [topbraid-users] Re: Generating HTML internal links (#label) in UISPIN

2010-05-07 Thread Holger Knublauch
={= fn:concat(%22#%22, ui:encodeNode(? layer))Business Services/A So, maybe this has turned into a different silly question? Also, can I suppress the inclusion of the link to the tui.css stylesheet? Peter On May 6, 10:43 am, Holger Knublauch hol...@topquadrant.com wrote: Hi Peter, first

Re: [topbraid-users] Semantic tables smf:cast causes datatype error

2010-05-08 Thread Holger Knublauch
Hi Gerrick, I have turned this warning off for 3.3.2 onwards. If you are desperate to get this change immediately, then you would need to write a small TBC plugin that does the following call against the Jena API: // Suppress datatype format exception

Re: [topbraid-users] Re: Generating HTML internal links (#label) in UISPIN

2010-05-08 Thread Holger Knublauch
On May 7, 2010, at 4:57 PM, peter wrote: Also, can I suppress the inclusion of the link to the tui.css stylesheet? Yes, you can suppress this by deleting the tui.css file from your workspace. The system will always include .css files when they have the same name (and the same workspace

Re: [topbraid-users] sparql to get all classes taxonomy

2010-05-17 Thread Holger Knublauch
I see two main options: 1) Get all instances of a metaclass : SELECT ?class WHERE { ?metaClass rdfs:subClassOf* rdfs:Class . ?class a ?metaClass . } 2) Get all subclasses of the root class SELECT ?class WHERE { ?class rdfs:subClassOf* rdfs:Resource . } Regards, Holger On May

Re: [topbraid-users] How to create a type in TBC

2010-05-19 Thread Holger Knublauch
Arthur, one way of doing this is: 1) Create a subclass of rdfs:Resource, e.g. SSNType 2) Change the rdf:type of that to rdfs:Datatype 3) On the owl:equivalentClass field, type in: xsd:string[pattern d{3}-d{2}-d{4}] Or enter this as rdfs:subClassOf. Cheers, Holger On May 20,

Re: [topbraid-users] SM java plugin...compile error following tutorial.

2010-05-25 Thread Holger Knublauch
Please try adding an additional dependency (required plugins): org.topbraid.lib.spin We will double-check the documentation, but where exactly does the compile error occur? Thanks, Holger On May 26, 2010, at 10:36 AM, Gerrick Bivins wrote: I'm trying to build the SM plugin from the

Re: [topbraid-users] Re: TDB Model

2010-05-26 Thread Holger Knublauch
Jeff, we currently do not support multiple named graphs with TDB, if that's what you mean. In general I guess a good strategy is to create what you want manually with TBC, and then mimic the same file structure and connection file in your application. Sorry if these responses are not super

Re: [topbraid-users] SM java plugin...compile error following tutorial.

2010-05-26 Thread Holger Knublauch
. Thanks for the quick response. I'll give this a try. Gerrick On Tue, May 25, 2010 at 7:54 PM, Holger Knublauch hol...@topquadrant.com wrote: Please try adding an additional dependency (required plugins): org.topbraid.lib.spin We will double-check the documentation, but where

Re: [topbraid-users] Re: Help Classes View Dissapearing

2010-05-27 Thread Holger Knublauch
Hi John, there is indeed a small bug in the Classes View. It erases the root class if someone edits a triple rdfs:subClassOf owl:sameAs rdfs:subClassOf. This triple happens to be generated by TopSPIN when OWL RL is used. Fortunately this inference is very redundant and inefficient anyway, so I

Re: [topbraid-users] Re: TDB Model

2010-05-27 Thread Holger Knublauch
architecture. Any plans to support this in the future like it is for SDB? Thanks, Jeff -Original Message- From: topbraid-users@googlegroups.com [mailto:topbraid- us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: Wednesday, May 26, 2010 6:40 PM To: topbraid-users

Re: [topbraid-users] How to add a default value for SPIN Function argument with Value Enumeration Value Type

2010-05-28 Thread Holger Knublauch
Arthur, it could well be that the SPIN template wizard does not handle enumerations well yet. I will look into this on Monday. In the worst case, you can edit those things on a lower level, using nested sub-forms or in the source code. Regards Holger On May 29, 2010, at 8:24 AM, Arthur Keen

Re: [topbraid-users] Re: Accessing large graphs through TBC

2010-05-29 Thread Holger Knublauch
On May 30, 2010, at 1:01 AM, Christian Fuerber wrote: Scott and Holger, thank you so much for the hints! I could dramatically accelerate my queries (e.g. one that used to run 13h finishes now within 20 minutes). I think it would be cool to have a check box or so that enforces the

Re: [topbraid-users] How to add a default value for SPIN Function argument with Value Enumeration Value Type

2010-05-30 Thread Holger Knublauch
how the example in my screenshot differs from your set up? Also, please clarify what TBC version you are using. I am on 3.4 alpha :) Thanks Holger On May 29, 2010, at 9:06 AM, Holger Knublauch wrote: Arthur, it could well be that the SPIN template wizard does not handle enumerations well

Re: [topbraid-users] SPARQL vs SQWRL

2010-06-03 Thread Holger Knublauch
Hi Rita, On Jun 4, 2010, at 2:24 AM, Rita Marnau wrote: The second argument of M. Connor was, that SPARQL has no sound semantics [2]. What's worse, SPARQL does not even have formally sound semantics in terms of RDF. [..] there are no guarantees about the soundness of results returned by

Re: [topbraid-users] My Classes view is empty as soon as I run inferences

2010-06-14 Thread Holger Knublauch
Hi Guil, yes this is a known problem with an (old) version of OWL RL and TopBraid. It has been fixed in the meantime. You can read my original response here: http://groups.google.com/group/topbraid-users/browse_thread/thread/56bd5f97a0094e8d/3785ef3818d7e516?lnk=gstq=topSPIN#3785ef3818d7e516

Re: [topbraid-users] Dynamically generated graph inserts

2010-06-21 Thread Holger Knublauch
Hi Joe, having variables there is not supported (yet?) by the SPARQL syntax, so we had to add a hack to allow this common requirement. The trick is that you need to pre-bind a variable (such as ?myGraph) to the URI resource of the named graph in a previous SM step. Then, you can call this

Re: [topbraid-users] [TopBraid-Users] Convert RDF/XML to a custom XML file

2010-06-21 Thread Holger Knublauch
Hi Brice, I am not aware of a completely built-in solution to your task, but TopBraid has several technologies that might be of help. First, you can generate arbitrary text documents (including XMLs) using our JSP support (sml:CreateTextFromJSP). Depending on the topography of your XML file

Re: [topbraid-users] Add image to model using sparql motion

2010-06-21 Thread Holger Knublauch
). What I was concerned mostly about was: 1) the length of my encoded string being too long 2) the string getting mangled since it's being simply passed as a string rather than wrapped in xml or something. Otherwise would something like this work? biv On Mon, Jun 21, 2010 at 5:26 PM, Holger

Re: [topbraid-users] Add image to model using sparql motion

2010-06-21 Thread Holger Knublauch
On Jun 22, 2010, at 11:47 AM, Gerrick Bivins wrote: Holger, What I mean is, if I call a SM service like this: http://localhost:8083/tbl/actions?action=sparqlmotionid=EmbedEncodedStringarg1=mybase64EncodedString where mybase64EncodedString is the string representing the image encoded, do

Re: [topbraid-users] Add image to model using sparql motion

2010-06-21 Thread Holger Knublauch
. Perhaps I'm missing something. Gerrick On Mon, Jun 21, 2010 at 8:51 PM, Holger Knublauch hol...@topquadrant.com wrote: On Jun 22, 2010, at 11:47 AM, Gerrick Bivins wrote: Holger, What I mean is, if I call a SM service like this: http://localhost:8083/tbl/actions?action=sparqlmotionid

Re: [topbraid-users] Add image to model using sparql motion

2010-06-21 Thread Holger Knublauch
Ah, and I completely forgot that you could even use SPARQLMotion itself (sml:PostRequest) :) Holger On Jun 22, 2010, at 12:59 PM, Holger Knublauch wrote: I don't know which tools and environments you are familiar with, but I believe you will need either HTML forms or a programming language

Re: [topbraid-users] Re: Dynamically generated graph inserts

2010-06-22 Thread Holger Knublauch
pm, Holger Knublauch hol...@topquadrant.com wrote: Hi Joe, having variables there is not supported (yet?) by the SPARQL syntax, so we had to add a hack to allow this common requirement. The trick is that you need to pre-bind a variable (such as ?myGraph) to the URI resource of the named

Re: [topbraid-users] [TopBraid-Users] concatenate multiple label

2010-06-29 Thread Holger Knublauch
On Jun 29, 2010, at 7:16 PM, Brice Sommacal wrote: Thanks Holger for your prompt response. Yesterday, as you adviced me, I made a SpinResultSet and then apply a construct on my results. The aggregator took in parameter was simply defined by a spr:stepFunction fn:concat. But nothing

Re: [topbraid-users] creating a new rdfs:Datatype

2010-06-29 Thread Holger Knublauch
Hi Paul, On Jun 29, 2010, at 3:40 PM, PaulZH wrote: a) When creating a new instance of class rdfs:Datatype, I expected to get when using add existing ... on property owl:onDatatype the list of xsd datatypes, but I see none. Is this influenced by a setting? Seems to work for me, see

Re: [topbraid-users] Re: creating a new rdfs:Datatype

2010-06-29 Thread Holger Knublauch
; owl:unionOf (xsd:date xsd:dateTime) ] . lead to 4 datatypes in my instances overview. Paul -- Scott On Jun 29, 7:07 am, PaulZH p...@proxml.be wrote: Hi Holger, On Jun 29, 12:44 pm, Holger Knublauch hol...@topquadrant.com wrote: Hi Paul, On Jun 29, 2010, at 3:40 PM

Re: [topbraid-users] Subclassing smf:PostRequest...argument binding

2010-07-07 Thread Holger Knublauch
Any version 3.3.0 or above should be fine. Holger On Jul 8, 2010, at 10:12 AM, Gerrick Bivins wrote: Cool! Is that in 3.3.1 or do I need to use the beta (3.3.2) Gerrick On Wed, Jul 7, 2010 at 6:21 PM, Holger Knublauch hol...@topquadrant.com wrote: Add SPARQL Expression -- You

Re: [topbraid-users] Re: Return module for mime type other than text,html and xml

2010-07-08 Thread Holger Knublauch
Hi Gerrick, cool video :) In your PostRequest, you need to specify the sm:outputVariable as a normal string only, i.e. Add empty row and enter PDFResult. The consumer of this variable (your Return module) should then use the SPARQL expression ?PDFResult as you have specified it. Holger On

Re: [topbraid-users] Duplicate input fields when creating spin constraint from template

2010-07-19 Thread Holger Knublauch
John, I have no idea, so let's try to inspect this together. You need to look into the definitions of spl:Argument. Look at its form. Does it declare the same argument twice? If you mouse over the icon the left of the argument node you should see a tool tip that tells you where the blank node

Re: [topbraid-users] UISPIN developments

2010-08-09 Thread Holger Knublauch
Hi Peter, yes, the content negotiation scenario you describe, to create either machine or human-readable representations of RDF data, has been exactly one of the motivations for having UISPIN. UISPIN 1.0 will be included in TBL 3.4 end of September. I need to check how to do the redirects and

Re: [topbraid-users] RE: SPINInferences.run with OntModel

2010-08-09 Thread Holger Knublauch
the submodels in one large graph? regards Arthur On Fri, Mar 26, 2010 at 4:52 PM, Holger Knublauch hol...@topquadrant.com wrote: Yeah, this is a recurring problem that nearly every advanced user (i.e. with large data sets and many merged graphs) runs into sooner or later. It's a matter of re

Re: [topbraid-users] Can TBC query SPARQL end points?

2010-09-03 Thread Holger Knublauch
Yes, through the SERVICE keyword in SPARQL http://jena.sourceforge.net/ARQ/service.html Regards, Holger On Sep 4, 2010, at 8:46 AM, Tim Harsch wrote: Does TBC provide funcitonality to query SPARQL end points directly? Thanks, Tim -- You received this message because you are

Re: [topbraid-users] Inferencing in free version

2010-09-09 Thread Holger Knublauch
Hi David, the Free Edition only includes a single inference engine, for SPARQL Rules [1]. The default inference engine of Maestro is SwiftOWLIM, which is a rule-based OWL engine. If you want to get similar results as the OWLIM engine, you need to select a SPARQL Rule base containing the OWL RL

Re: [topbraid-users] [SPIN API] bugfix for StringPrintContext

2010-09-15 Thread Holger Knublauch
Hi Olaf, many thanks for this detailed bug report. You are 100% right, and I have added the following line to the clone method cl.initialBindings = initialBindings; I believe you have the latest source code so that you can (for now) add this line yourself, but I am overdue to

Re: [topbraid-users] Re: UISPIN developments

2010-09-15 Thread Holger Knublauch
Hi Peter, just following up on this old thread, I have meanwhile added a new servlet /tbl/describe that will do content negotiation in the spirit of the cool URIs linked data movement. Basically, this looks at the incoming request and either returns RDF triples or an HTML rendering, depending

Re: [topbraid-users] [SPIN API] bug (+ fix idea) in printing ORDER BY expressions

2010-09-16 Thread Holger Knublauch
Hi Olaf, I have been trying to reproduce this, but so far without success. Judging from the source code, the variable blank node would have to have an rdf:type while your example below does not have this. You can also try that this works in general if you just enter this with TBC (FE) on some

Re: [topbraid-users] [SPIN API] bug (+ fix idea) in printing ORDER BY expressions

2010-09-16 Thread Holger Knublauch
11:21:45 Holger Knublauch wrote: Hi Olaf, I have been trying to reproduce this, but so far without success. Judging from the source code, the variable blank node would have to have an rdf:type while your example below does not have this. You can also try that this works in general if you just

[topbraid-users] ANN: SPIN API 1.1.2

2010-09-16 Thread Holger Knublauch
There is a new maintenance release of the TopBraid SPIN API available from http://topbraid.org/spin/api/ In addition to several bug fixes, this includes a more complete coverage of the SPARQL 1.1 spec. Regards Holger -- You received this message because you are subscribed to the

Re: [topbraid-users] LARQ

2010-09-22 Thread Holger Knublauch
Hi Paul, I have been trying this (admittedly with 3.4) and it seems to work in principle, after I went to the create index item from the SPARQL view's context menu. Could you elaborate on which version you have and which steps you made? It should create a folder with filename.larq in your

Re: [topbraid-users] Re: Converting Update Query String to RDF

2010-09-23 Thread Holger Knublauch
Fixed for 3.4.0 Thanks for the bug report Holger On Sep 24, 2010, at 2:08 AM, Scott Henninger wrote: Jody, yes it is the case that sml:ConvertStringToSPINRDF doesn't handle SPARQL 1.1 features yet. We're working on this while keeping an eye on SPARQL 1.1 progress and should have this ready

Re: [topbraid-users] Assigning units to range in qudt

2010-09-29 Thread Holger Knublauch
Hi Arthur, I believe you should try to upgrade from 3.2.2 to something more recent. I have tried it with the 3.4 beta and it appears to work fine, so I assume 3.3 has the same behavior. I have added a triple to make qudt:Unit rdfs:subClassOf rdfs:Datatype. Then I could set the range of a

Re: [topbraid-users] incremental TOPSPIN inference use case

2010-09-30 Thread Holger Knublauch
Hi Paul, as you will probably know, incremental inferencing is a non-trivial problem in semantic web languages. It is easier to just add triples than to retract previous triples and redo inferences. The TopSPIN engine has some very basic support for this only - it will re-evaluate all rules

Re: [topbraid-users] [SPIN API] java.lang.StackOverflowError in example src

2010-10-05 Thread Holger Knublauch
Hi Rodolfo, thanks a lot for this bug report. It was indeed a (simple) recursive loop. Since this was a small but rather critical bug, I have just updated the SPIN API that is on the web with a fix. The file has still the same version number etc, but the infinite loop should be gone now. I

Re: [topbraid-users] new dublin core schemas published

2010-10-12 Thread Holger Knublauch
Hi Paul, our build will automatically pick up the latest versions of the external ontologies such as dcterms, meaning that 3.4.0 will include that update. However we do use a local copy of the core DC vocabulary (that is now slowly becoming out of fashion). I checked whether the latest DC

Re: [topbraid-users] Re: Inference 40x faster after TBC restart and save model

2010-10-20 Thread Holger Knublauch
Hi Arthur, many thanks for sending along your example files (off-list). We had a good look into your scenario and found that the performance loss is entirely caused by the user interface. The TopSPIN inferencing always takes less than a second. But then opening the Inferences view takes a few

Re: [topbraid-users] CheckConstrants with selectQuery Performance

2010-10-22 Thread Holger Knublauch
Hi Dean, I assume this is because by selecting each resource, the system needs to ask many many small queries (with ?this pre-bound), and there is some overhead in creating the query executions etc. I will run this through a profiler to see if we can optimize that. If you run all constraints,

Re: [topbraid-users] spin:query DELETE

2010-10-22 Thread Holger Knublauch
On Oct 22, 2010, at 11:13 PM, Schmitz, Jeffrey A wrote: Hello, Just a couple of nits I finally have gotten around to aksing about. First, was wondering if there is an underlying reason a DELETE query can’t be attached in the range of the spin:query property? E.g. the following query

Re: [topbraid-users] Minor SPIN related bug report

2010-11-05 Thread Holger Knublauch
I’ve figured out how to do. Are you saying this is possible using the API toString and print functions? If so, I’ll have to take a closer look. Thanks, Jeff From: topbraid-users@googlegroups.com [mailto:topbraid-us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: Tuesday

Re: [topbraid-users] Changing the default datatype for owl:DatatypeProperty assertions

2010-11-10 Thread Holger Knublauch
Hi Joe, no sorry, there is no such option in TBC. You may either need to change the ranges of those properties, or post-process them, e.g. with a SPARQL construct. May I ask why this distinction is relevant? In my understanding, rdfs:Literal is just meant to be the superclass of all datatypes,

Re: [topbraid-users] SPIN Update Templates ...

2010-11-18 Thread Holger Knublauch
On Nov 19, 2010, at 8:04 AM, Tim Darr wrote: If this is the wrong mailing list for SPIN questions, please let me know where to redirect. That's fine here. It appears that SPIN update templates cannot be assigned to rules. If this is the case, how are they executed? SPIN rules must

Re: [topbraid-users] Support for AllegroGraph 4.1

2010-11-29 Thread Holger Knublauch
Yes, our friends at Franz are working and publishing a separate plugin for AG 4 support. See their web page http://franz.com/agraph/tbc/ Holger On Nov 30, 2010, at 9:35 AM, Matt wrote: Is support for AG4 coming in TBC 3.4? It seems like TBC3.3 supports only AG3.5. -- You received

Re: [topbraid-users] Re: using TBCChangeEngine: continuance to 22.april's posting

2010-11-30 Thread Holger Knublauch
Hi Andriy, I am not sure if I understand you correctly, but if multi-threading of changes is a problem, you could use the variant of the execute method that takes a Runnable as second argument (changeEngine.execute(change, andThen)). The andThen Runnable is executed after the change has been

Re: [topbraid-users] Re: Adding 2 variables and getting the current date

2010-12-02 Thread Holger Knublauch
Hi Pim, the prefix for afn is wrong. In TBC you don't need to specify it at all, and from Jena use PREFIX afn: http://jena.hpl.hp.com/ARQ/function# SELECT ?x ?now WHERE { LET (?x := test). LET (?now := afn:now()). } Note the ARQ in the prefix :) Holger On Dec 2, 2010, at 6:05 PM,

Re: [topbraid-users] Re: Advantages of SPIN SPARQL

2010-12-02 Thread Holger Knublauch
Hi Michel, this is already supported in frameworks such as Jena. In Jena, you can execute SPARQL queries on any Graph. A Graph is a bunch of triples. The Graph Java interface has multiple implementations, and some of those implementations automatically do RDFS or OWL inferencing on the fly.

Re: [topbraid-users] Casting xsd:time in SPARQL

2010-12-03 Thread Holger Knublauch
Hi Daniel, you have found a bug in Jena, which will be fixed in the next ARQ release and folded into TopBraid when available: http://tech.groups.yahoo.com/group/jena-dev/message/46124 Meanwhile, you could use the function smf:cast(?literal, xsd:time). Cheers Holger On Dec 3, 2010,

Re: [topbraid-users] Re: using TBCChangeEngine: continuance to 22.april's posting

2010-12-04 Thread Holger Knublauch
? Andriy On 1 Dez., 04:10, Holger Knublauch hol...@topquadrant.com wrote: Hi Andriy, I am not sure if I understand you correctly, but if multi-threading of changes is a problem, you could use the variant of the execute method that takes a Runnable as second argument (changeEngine.execute

Re: [topbraid-users] FW: syntax question

2010-12-08 Thread Holger Knublauch
Hi Michel, I believe Jena really only supports Turtle. I also believe Turtle is a sub-set of N3, i.e. every Turtle file is also an N3 file, but not necessarily vice versa. In TBC you can use either .ttl (recommended) or .n3 for those files, and since Jena will never use any features that are

Re: [topbraid-users] Own files automatically read only!

2010-12-11 Thread Holger Knublauch
Hi Christian, we have changed the policy so that all files in the (default) TopBraid project will be marked as read-only at start-up. The preferred procedure for customer projects is to create your own Eclipse project(s), and place your files there. Please leave the TopBraid project unchanged

Re: [topbraid-users] Re: Modifying Data with SPARQLMotion Web Services

2010-12-15 Thread Holger Knublauch
I am speculating a bit here, but maybe Dean's use case is that he wants to access a TBE user session, so that http://tb-session (aka urn:x-tb:session) becomes meaningful. This is not supported in stand-alone web service calls. You need to figure out the URI (graph name) of the target graph

Re: [topbraid-users] Tyro TDB question

2010-12-27 Thread Holger Knublauch
Hi Kevin, I believe this question should rather go to the jena mailing list, as it's about programmatic access to TDB. TopBraid's .tdb files are *not* Jena assembler files, but SPARQLMotion files - they look similar though. Regards, Holger On Dec 28, 2010, at 1:06 PM, kptyson wrote:

Re: [topbraid-users] Re: Content of OWL and N-TUPLE files disappears

2010-12-28 Thread Holger Knublauch
On Dec 28, 2010, at 5:02 AM, Benson Margulies wrote: My original problem is that TB reads the model, and immediately complains that I am lacking imports for no apparent reason, and then doesn't show me the actual ontology (unless I pull on 'show local resources' first). It's not a very big

Re: [topbraid-users] spl:defaultValue ignored?

2011-01-04 Thread Holger Knublauch
Hi Daniel, yes both are unimplemented at this stage, but you have reminded me to push it up in the feature requests list. Thanks, Holger On Jan 5, 2011, at 3:09 AM, Daniel Mekonnen wrote: Greetings, I've been unable to get default values working for spl:Arguments when used in spin

Re: [topbraid-users] SWP Problem

2011-01-11 Thread Holger Knublauch
Hi Tim, the system arguments of the SWP/UISPIN servlet have changed from 3.4 on, and now start with an underscore. For example, resource is now _resource. This makes it easier to distinguish those system arguments from other, page-specific arguments. You can see those URLs if you go to

Re: [topbraid-users] Getting prefixes stored with a ...spin.model.Query?

2011-01-14 Thread Holger Knublauch
Hi Jeff, no, the SPIN RDF model does not store the prefixes used in the SPARQL query. Simply use those from the associated Jena Model instead. Regards, Holger On Jan 15, 2011, at 1:46 PM, Schmitz, Jeffrey A wrote: Hello, I’m using org.topbraid.spin.model.SPINFactory to retrieve a stored

Re: [topbraid-users] Re: SPARQLMotion Module Devlopment question

2011-01-21 Thread Holger Knublauch
TBC also has an export wizard to create such a Java file from any currently open ontology. Holger On Jan 22, 2011, at 7:13 AM, Smith, Tim wrote: Hi Gokhan, I think that's the problem - I have not defined my own SM properties in a java class - only in the rdf model. Is there an

Re: [topbraid-users] TopBraind Composer Racer

2011-01-23 Thread Holger Knublauch
Hi Frank, no, we do not support Racer out of the box. If you want to tell us what you are trying to achieve, we may be able to assist with TBC-compliant alternatives. Regards, Holger On Jan 23, 2011, at 6:45 PM, Frank Sonne wrote: Hi, Does TopBraind Composer supports the reasoner

Re: [topbraid-users] How to retrieve a bound variable in an SM module?

2011-01-25 Thread Holger Knublauch
Hi Tim, you are close to the solution. There are various implementations of IVarValue, and one of them is RDFNodeVarValue. So try casting it into that class to get the actual RDFNode: RDFNode rdfNode = ((RDFNodeVarValue)varValue).getRDFNode(); Holger On Jan 26, 2011, at 7:51 AM, Smith, Tim

Re: [topbraid-users] SPIN syntax and reasoning

2011-01-25 Thread Holger Knublauch
Hi, On Jan 26, 2011, at 4:25 AM, Erwachen Hz wrote: Hi, I have some doubts and hope someone explain me :) If we assume i'm adding SPIN rules and constraints to my ontologies and then storing them into a triple store as triples or store the ontology in as an ontology storage system

<    1   2   3   4   5   6   7   8   9   10   >