[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: [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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Re: RDF to CSV

2010-01-28 Thread Holger Knublauch
Hi Zoe, the file may be invalid or corrupted. In any case, you should copy all your .rdf files into the Eclipse workspace and open them from there. Since I found that your use case may also be a good example for others, I have prepared a quick demo SPARQLMotion script that does the following:

Re: [tbc-users] Re: semantic xml error

2010-01-28 Thread Holger Knublauch
On Jan 28, 2010, at 2:11 AM, Bohms, H.M. (Michel) wrote: When I export explicitly the big file as RDF/XML (ie non-abbrev.) things go well (resulting in a 130 MB .owl file, now rdf/xml). But now I have another problem: Fragment of top: ?xml version=1.0? rdf:RDF

Re: [tbc-users] piping xslt transformations

2010-01-28 Thread Holger Knublauch
Paul, there is no need to go through files at all. Can't you just rename the output variable of the previous step to xml? Or use sml:CloneVariable to do this renaming. Another issue is that the SPARQLMotion engine is generally able to pass data as DOM trees, and only does the String

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] Different behaviour with smf:countMatches

2010-01-27 Thread Holger Knublauch
Hi Paul, I have tracked this problem down and it has to do with the way that Jena uses to calculate statistics on certain Graph types. The difference is that in SM the input graph may have a different type than when you run the query against the current graph in the SPARQL view. I am not sure

Re: [tbc-users] Select clause disappears after clicking OK on SPIN Rule

2010-01-27 Thread Holger Knublauch
On Jan 26, 2010, at 12:43 PM, Arthur Keen wrote: Holger, Thanks for the pointers. FYI: I tried my other work-around which expresses the quantity in the select statement as a function of sum and count and SPIN ate this part of the SELECT as well. Is this part of the same problem? So

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

2010-01-27 Thread Holger Knublauch
Matt, we will set up a MS SQL server here to reproduce these issues. It may take a while though, and in the meantime I don't think there is a work-around. Thanks, Holger On Jan 26, 2010, at 1:39 PM, Matt wrote: Well I installed MySQL and managed to create a MySQL SDB file that I then

Re: [tbc-users] semantic xml error

2010-01-27 Thread Holger Knublauch
In order to use this functionality you will need to wait for 3.3 - this is coded in Java not the ontology. Regards, Holger BTW: could you verify your email client settings so that your own text is an indentation level higher than the quoted text? It is very unclear (at least on the Mac email

Re: [tbc-users] Re: semantic xml error

2010-01-27 Thread Holger Knublauch
Yes I can reproduce this out of memory problem. Seems to happen when you try to save this (large) model to .rdf or .owl, i.e. RDF/XML syntax. I was able to save it to .n3 easily though, so this will hopefully work for you as well. Since similar problems (with large XML files) have been reported

Re: [tbc-users] Re: semantic xml error

2010-01-27 Thread Holger Knublauch
Disclaimer -Original Message- From: topbraid-composer-users@googlegroups.com [mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: woensdag 27 januari 2010 15:10 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] Re

Re: [tbc-users] Re: RDF to CSV

2010-01-27 Thread Holger Knublauch
And if you have thousands of files to convert, then you can use tops:files to iterate over them. Using SPARQLMotion you can define an sml:IterateOverSelect with a query such as the following: SELECT ?file WHERE { ?file tops:files (Demos true) . } Holger On Jan 27, 2010, at 8:02 AM, Scott

Re: [tbc-users] semantic xml error

2010-01-26 Thread Holger Knublauch
Hi Michel, this could simply be a real out of memory error. Try increasing the -Xmx value in the eclipse.ini. From the file that you have sent me off-list I saw that a lot of instances are being created. How large is the file that has those symptoms? Theoretically the writer may also enter an

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

2010-01-26 Thread Holger Knublauch
The SPARQLMotion module (that is also used in the .sdb files) should be able to handle those. I haven't tested it, but the local name of the sml:databaseType must match the string that Jena uses to resolve database types. According to our source code, this will use the JDTS driver. If you want

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

2010-01-26 Thread Holger Knublauch
, Matt wrote: So you don't support their TTL files? I know you could kind of hack the old jenadb files once you knew the structure. I'm guessing that won't work here? On Jan 26, 1:59 pm, Holger Knublauch hol...@topquadrant.com wrote: The SPARQLMotion module (that is also used in the .sdb

Re: [tbc-users] Re: export spreadsheet with latest Sparql Motion

2010-01-22 Thread Holger Knublauch
... and if you need to get this as an Excel file, you could try to save it .tsv and then sml:ImportRDFFromWorkspace (this will use the Semantic Tables importer). The resulting model can then be written to Excel using sml:ExportToRDFFile. Holger On Jan 22, 2010, at 9:38 AM, Scott Henninger

Re: [tbc-users] Re: swrl implementation

2010-01-21 Thread Holger Knublauch
Yes. You have two other options than SWRL in TopBraid: - Jena Rules engine, which is built into TBC and includes operators such as greaterThan http://jena.sourceforge.net/inference/#rules - SPIN, the SPARQL based rules and constraint language, which is even included in the Free

Re: [tbc-users] child derivation advanced

2010-01-20 Thread Holger Knublauch
Try ?whole rdfs:subClassOf* ?restriction The star operator will walk up the superclass hierarchy, transitively. Cheers, Holger On Jan 20, 2010, at 1:38 AM, Michel Bohms wrote: Hi Holger, Your solution for 'child' derivation worked perfect: PREFIX bim:

Re: [tbc-users] better derivation of childs

2010-01-19 Thread Holger Knublauch
Yes, have a look at list:member as described here: http://jena.sourceforge.net/ARQ/extension.html#propertyFunctions You will need to add the prefix for the list namespace to make those queries readable. Regards, Holger On Jan 19, 2010, at 4:34 AM, Bohms, H.M. (Michel) wrote: Anyone

Re: [tbc-users] Spreadsheet import instance names

2010-01-19 Thread Holger Knublauch
Hi Arthur, as far as I can tell there is currently no way to specify blank nodes in this spreadsheet importer. I think we should add this option. However, you should look at the Semantic Tables back-end, that allows you to open .tsv, .csv or .xls files directly and will turn them into RDF

Re: [tbc-users] concatenating strings across rows of a result set with spin and sparql?

2010-01-13 Thread Holger Knublauch
Hi Andrew, under certain conditions you could solve this with a recursive SPIN function. Assuming you have a way of accessing the sub-strings with an index, then you could define a function that takes the index and the partial solution as arguments, and then recursively calls itself (with

Re: [tbc-users] TBC open xml with semantic xml document not working

2010-01-13 Thread Holger Knublauch
Hi Pim, in order to open .xml files with the Semantic XML back-end of TBC (you need the Maestro Edition): - locate the .xml file in the Navigator - Right-click on the .xml file and select Open With TopBraid (Semantic XML) This will convert the XML on the fly to an OWL ontology with one class

Re: [tbc-users] localname function on some dbpedia uri's

2010-01-12 Thread Holger Knublauch
Yes, you already gave the explanation yourself. This function is based on the Jena IRI splitting algorithm, which starts at the right and stops at the first separator character. If you dislike this behavior, you could look for the index of the last '/' character and return the substring from

Re: [tbc-users] multiple domains?

2010-01-07 Thread Holger Knublauch
On Jan 6, 2010, at 11:53 PM, Bohms, H.M. (Michel) wrote: Ok, what we will do in our owl-generation: - if range is different: change propertyname (make it globally unique) - if range is the same: merge domains via union Guess this is the way to handle it? (we are coming from languages that

Re: [tbc-users] Re: Eclipse External Tools

2010-01-07 Thread Holger Knublauch
On Jan 7, 2010, at 7:48 AM, pohara60 wrote: I am using 3.0.1. I have now tested with 3.2.2. The prefixes are in order. The order differences are: 1. random order of restrictions 2. owl:imports in a random order - but it is only one line These will all be sorted if the corresponding option is

Re: [tbc-users] tbc update?

2010-01-05 Thread Holger Knublauch
Hi Michel, I believe the Eclipse update mechanism is still broken for TBC 3.2.x. You will need to download the installer for 3.2.2 Apologies for the inconvenience Holger On Jan 5, 2010, at 1:56 AM, Bohms, H.M. (Michel) wrote: Hi Holger, I am running 3.2.1. I see there is a 3.2.2 on

Re: [tbc-users] tbc update?

2010-01-05 Thread Holger Knublauch
@googlegroups.com [mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: dinsdag 5 januari 2010 11:05 To: topbraid-composer-users@googlegroups.com Cc: Helm, P.W. (Pim) van den Subject: Re: [tbc-users] tbc update? Hi Michel, I believe the Eclipse update mechanism

Re: [tbc-users] Max card of datatype props

2010-01-05 Thread Holger Knublauch
Yes, any owl:Datatype property can have any number of values by default. You would need to declare it owl:FunctionalProperty or add an owl:maxCardinality restriction otherwise. In my experience most datatype properties take at most one value, so that making them owl:FunctionalProperties is

Re: [tbc-users] Max card of datatype props

2010-01-05 Thread Holger Knublauch
@googlegroups.com [mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: dinsdag 5 januari 2010 13:37 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] Max card of datatype props Yes, any owl:Datatype property can have any number of values

Re: [tbc-users] Re: Eclipse External Tools

2010-01-04 Thread Holger Knublauch
http://groups.google.com/group/topbraid-composer-users/browse_thread/thread/b7fcb5edd7db2bd8/a8fea7258532957b?lnk=gstq=n3+order#a8fea7258532957b. On Jan 4, 12:58 pm, Holger Knublauch hol...@topquadrant.com wrote: Out of interest: how would you like to see the writer changed to meet your

Re: [tbc-users] Re: Semantic XML: null pointer exception on opening .XML (uppercase) files

2009-12-31 Thread Holger Knublauch
Fixed for the 3.3 release. The problem was that parts of the Eclipse infrastructure tolerated uppercase extensions, while TBC did not. This is now better aligned. Thanks for the report Holger On Dec 30, 2009, at 2:37 PM, Scott Henninger wrote: Arthur; Yes, there does seem to be an issue

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-23 Thread Holger Knublauch
- compute the class-to-rule mapping only once (walking the SPIN RDF syntax expressions might be slow on a DB). Are you talking specifically about this call in SPINInferences.run: MapResource,ListQueryWrapper cls2Query = SPINQueryFinder.getClass2QueryMap(queryModel, queryModel,

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-23 Thread Holger Knublauch
I haven't looked at exactly how the optimizations work. Might the SDB and TDB models be even faster than purely in-memory models? This might be the case with TDB, where you can instruct TDB to use some optimizations based on statistics. http://openjena.org/wiki/TDB/Optimizer These

Re: [tbc-users] Simpler sparql result names?

2009-12-22 Thread Holger Knublauch
Michel, this does not appear to be a TopBraid related question, but rather an issue for Joseki's result rendering. Please ask the jena-dev list. Thanks Holger On Dec 22, 2009, at 7:08 AM, Bohms, H.M. (Michel) wrote: When I do a Sparql query on Joseki/TDB I always get the full URI's in

Re: [tbc-users] Magic Properties vs Spin Rules

2009-12-22 Thread Holger Knublauch
On Dec 22, 2009, at 10:16 AM, Arthur Keen wrote: Thanks for the tip. I would prefer making one rule for all magic properties. Would it be a good idea to create a specialization of spin:MagicProperties, e.g., my:InferredMagicProperty for properties that I would like to have behave in

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-21 Thread Holger Knublauch
On Dec 20, 2009, at 3:49 PM, Jeffrey Schmitz wrote: Just a quick point before I look into how to use union graphs. The SDB backed model I was using wasn't an OntModel, it was just produced by copying the OntModel into it. e.g. _store = SDBFactory.connectStore(sdb.ttl);

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-19 Thread Holger Knublauch
, at 11:14 PM, Holger Knublauch wrote: I am glad to hear that. If you have any lessons learnt on the dumb things then we would appreciate if you could share them with others on this mailing list. For example, changing the order of clauses can reduce many orders of magnitude off query

Re: [tbc-users] registerAllSPINModules exception

2009-12-19 Thread Holger Knublauch
Hi Jeff, could you send me the spl.spin.owl file from your distribution? Also, which Jena version are you using? Thanks Holger On Dec 19, 2009, at 7:06 AM, Jeffrey Schmitz wrote: Hello, I'm getting an exception on the call to registerAllSPINModules (stack trace below). Stepping

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-18 Thread Holger Knublauch
Hard to say without more details. You may want to step through the code with a debugger to inspect the class2Query map. Rules attached to owl:Thing or rdfs:Resource count as global and should always be executed OK. Make sure the OntModel handles the imports correctly (in particular SPIN

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-18 Thread Holger Knublauch
Anyway, these rules take quite a long time (about 90 seconds) to execute on my OWL_MEM model, which isn't all that big at about 3000 triples including all the imported models. Does that sound plausible? If so, I'm thinking I may need to add these inferences in a more targeted way. In

Re: [tbc-users] Magic Properties vs Spin Rules

2009-12-18 Thread Holger Knublauch
Hi Arthur, by default, magic properties are not available as inferred triples while browsing a model in TopBraid. They are computed on demand in SPARQL queries only. However, you can add a SPIN rule such as CONSTRUCT { ?a my:magicProperty ?b . } WHERE { ?a my:magicProperty ?b . } to

Re: [tbc-users] Re: Auto add spin subclass inferences

2009-12-18 Thread Holger Knublauch
buys much since inferences are now running in under a second, even with those in. Jeff On Dec 18, 2009, at 12:24 PM, Holger Knublauch wrote: Anyway, these rules take quite a long time (about 90 seconds) to execute on my OWL_MEM model, which isn't all that big at about 3000 triples

Re: [tbc-users] SparqlMotion script not retrieving all subclasses from an ontology that imports other ontologies

2009-12-18 Thread Holger Knublauch
Please make sure that the file explicitly asserts all rdfs:subClassOf triples. When you open files in TBC, the system will add trivial inferences to make sure that each named class has at least one named superclass. These are then inferred triples, which would not be available by default if

Re: [tbc-users] results error=true message=Undefined service with script FindGemeente/

2009-12-17 Thread Holger Knublauch
Hi Paul, if you have started creating a new .sms. file with new spin:Functions, then you will first need to make sure they are registered using Scripts Refresh/Display SPARQLMotion scripts. Apart from that I cannot see an error (yet). Regards, Holger On Dec 17, 2009, at 4:40 AM, PaulZH

Re: [tbc-users] Re: results error=true message=Undefined service with script FindGemeente/

2009-12-17 Thread Holger Knublauch
, 1:47 pm, Holger Knublauch hol...@topquadrant.com wrote: Hi Paul, if you have started creating a new .sms. file with new spin:Functions, then you will first need to make sure they are registered using Scripts Refresh/Display SPARQLMotion scripts. Apart from that I cannot see an error (yet

Re: [tbc-users] Re: results error=true message=Undefined service with script FindGemeente/

2009-12-17 Thread Holger Knublauch
. I expect to receive the results in SPARQL XML format. Does the date need to be encoded otherwise? Paul On Dec 17, 3:08 pm, Holger Knublauch hol...@topquadrant.com wrote: Paul, you have set the function to spin:abstract = true. Abstract functions cannot be executed

Re: [tbc-users] export without spin-stuff?

2009-12-16 Thread Holger Knublauch
[mailto:topbraid-composer-us...@googlegroups.com] On Behalf Of Holger Knublauch Sent: dinsdag 15 december 2009 13:40 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] export without spin-stuff? Hi Michel, I cannot reproduce this - I went through the whole list of classes

Re: [tbc-users] Partial imports

2009-12-15 Thread Holger Knublauch
Hi Peter, yes this is possible, although the syntax is a bit verbose. First, the main purpose of the built-in rdfex support is to make sure that any imports starting with http://rdfex.org/ are not going against the RDFex web service, but instead use local copies of the namespaces (such as

Re: [tbc-users] Re: Inference not working in getting started example with free version

2009-12-10 Thread Holger Knublauch
Yes, the owlrl-all.rdf file was missing in the library of the previous releases (I have added it recently). In the meantime, it needs to be imported from its URL http://topbraid.org/spin/owlrl-all Please keep in mind that the SPIN-based OWL RL implementation is not meant to be a real-world

Re: [tbc-users] Anyone using Jena RDB database?

2009-12-08 Thread Holger Knublauch
them on SDB than have to start on them on RDB and then transition them to SDB. Jeff From: topbraid-composer-users+ow...@googlegroups.com [mailto:topbraid-composer-users+ow...@googlegroups.com] On Behalf Of Holger Knublauch Sent: Tuesday, December 08, 2009 2:26 PM To: topbraid

Re: [tbc-users] SPIN Attributes and Form view

2009-12-07 Thread Holger Knublauch
Hi Jeff, this already works, and spl:Attributes will be handled the same way that rdfs:domains and OWL restrictions will. However, I noticed after the recent change (to make spl:Attribute use a CONSTRUCT instead of an ASK as you requested), that CONSTRUCT templates are not handled the same

Re: [tbc-users] geospatial encoding with allegrograph and topbraid composer

2009-12-07 Thread Holger Knublauch
Hi Christoph, On Dec 7, 2009, at 7:29 AM, Christoph wrote: I like to use Allegrograph together with Topbraid Composer. Allegrograph suggests to store latitude and longitude not in seperate triples but for example, using ISO6709: http://ex.com#HQ geo:isAt +37.45-123.27^^geo:ISO6709 . How

Re: [tbc-users] [SPIN API] Access SPIN cardinality contraint violation messages

2009-12-03 Thread Holger Knublauch
with a built in message when using the spl:Attribute template :-) Jeff Work: 314-232-1997 Cell: 636-448-5990 From: Holger Knublauch [mailto:hol...@topquadrant.com] Sent: Thursday, December 03, 2009 11:55 AM To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] [SPIN API

Re: [tbc-users] [SPIN API] Access SPIN cardinality contraint violation messages

2009-12-02 Thread Holger Knublauch
Hi Jeff, On Dec 2, 2009, at 2:14 PM, Schmitz, Jeffrey A wrote: Hello, I currently have a model in which I've defined Cardinality constraints on some Class attributes using the Create from SPIN template tool. Which SPIN template did you use for cardinality checking? If this is under

Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1

2009-11-27 Thread Holger Knublauch
and Geosciences Van Mourik Broekmanweg 6 | PO Box 49 2600 AA | Delft | The Netherlands Tel +31 15 2763107 E-mail michel.bo...@tno.nl Webhttp://www.linkedin.com/in/michelbohms Skype name michelbohms Disclaimer -Original Message- From: Holger Knublauch [mailto:hol

Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1

2009-11-26 Thread Holger Knublauch
Web http://www.linkedin.com/in/michelbohms Skype name michelbohms Disclaimer -Original Message- From: Holger Knublauch [mailto:hol...@topquadrant.com] Sent: woensdag 25 november 2009 18:06 To: topbraid-composer-users@googlegroups.com Subject: Re

Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1

2009-11-25 Thread Holger Knublauch
://www.linkedin.com/in/michelbohms Skype name michelbohms Disclaimer -Original Message- From: Holger Knublauch [mailto:hol...@topquadrant.com] Sent: dinsdag 24 november 2009 22:57 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] Re

Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1

2009-11-25 Thread Holger Knublauch
- From: Holger Knublauch [mailto:hol...@topquadrant.com] Sent: dinsdag 24 november 2009 22:57 To: topbraid-composer-users@googlegroups.com Subject: Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1 Hi Michel, yes this change was motivated by the clarification that we received from the OWL

Re: [tbc-users] Re: ANN: TopBraid Suite 3.2.1

2009-11-25 Thread Holger Knublauch
Otherwise they should show up on top level, under rdfs:Resource. this is what I want! But how can I make them show up? (they do not now...) Just remove the rdfs:subClassOf triple then. Or explicitly add my:Datatype rdfs:subClassOf rdfs:Resource. They are just classes after all, and behave

Re: [tbc-users] Re: Switching primary files with the same namespace

2009-11-25 Thread Holger Knublauch
Yes. On TBL there is no concept of primary files any more. We assume that there is only one copy of each base URI. This case is rare but makes sense in TBC while people are working on multiple copies. But on a deployed setting, managing multiple files with the same base URI would only

Re: [tbc-users] Re: ConvertDataType in SM- Request

2009-11-24 Thread Holger Knublauch
Yes, this is standard behavior of SPARQLMotion - you can leave any argument blank, in which case the system will try to match namesake variables from the predecessors in the script. It's kind of a hidden feature and we need to make it more obvious. Holger On Nov 24, 2009, at 1:22 AM,

Re: [tbc-users] Re: Sparql lib error

2009-11-24 Thread Holger Knublauch
Yes, we may need more details - which version of TBC is this with, and how does your file look like? (Feel free to send it to me off-list). Holger On Nov 24, 2009, at 6:46 AM, Scott Henninger wrote: Michel, it appears you are passing a value to a SPIN query that needs to be parsed to a

Re: [tbc-users] Webservices in TBC 3.2.1

2009-11-24 Thread Holger Knublauch
Hi Kevin, is there any other error message? We have difficulties reproducing this. The Error Log may have more information, or run Eclipse from a command line with the -console option set to get more messages. Regarding the dropins folder, you can just create a new one manually and it should

Re: [tbc-users] Re: ConvertDataType in SM- Request

2009-11-24 Thread Holger Knublauch
On Nov 24, 2009, at 1:53 PM, PhilA wrote: Hi Holger Yes, this is standard behavior of SPARQLMotion - you can leave any argument blank, in which case the system will try to match namesake variables from the predecessors in the script. It's kind of a hidden feature and we need to make it

Re: [tbc-users] Re: ConvertDataType in SM- Request

2009-11-24 Thread Holger Knublauch
I haven't tried the Excel import yet, I should give it a go. Most of the files I am receiving are in delimited format. I could convert them to Excel and set the column types but in several cases I have many 10's of files to import (all in the same format). I also have the problem that some

Re: [tbc-users] decomposition tree, getting it to work

2009-11-23 Thread Holger Knublauch
On Nov 23, 2009, at 6:29 AM, Bohms, H.M. (Michel) wrote: Hi Holger, I tried you sparql query but my association view stays empty.. 1. What inferencing conf. did you use? Probably the missing step is that you need to select all constructed triples (in the SPARQL view) and then (in

Re: [tbc-users] Re: sxml:element data model mappings

2009-11-23 Thread Holger Knublauch
There is a difference between how an undefined class and an undefined property is handled though. When a namespace is used in the xml, the undefined property is created and defined using the base URI of the ConvertXMLToRDF step. However, when a namespace is used on an undefined element, the

Re: [tbc-users] Converting Datatypes from a text file

2009-11-20 Thread Holger Knublauch
Hi Joe, this very much depends on the kind of importer and process you are using: Is this part of a SPARQLMotion script? Which spreadsheet importer are you using? What is the input file format? Thanks Holger On Nov 20, 2009, at 7:25 AM, Joseph Shea wrote: Hello all. I am importing data from

Re: [tbc-users] Problems with ApplyTopSpin Module

2009-11-19 Thread Holger Knublauch
Hi Joe, there are two differences between running TopSPIN from TBC and by running it from SPARQLMotion using sml:ApplyTopSPIN that come to my mind: 1) The file in TBC may contain trivial inferences, i.e. additional rdfs:subClassOf triples that TBC adds to make sure that each named class has at

Re: [tbc-users] Decomposition tree

2009-11-19 Thread Holger Knublauch
Michel, how is your hasPart relationship defined? The Association tree should work on any object property. However, if you are looking for something such as a tree on QCRs, where the filler classes are the tree nodes, then we do not have an out of the box solution. But: you could infer the

Re: [tbc-users] Re: OWL 2 XML Serializtion

2009-11-18 Thread Holger Knublauch
No. Providing the users of TBC with a function to export and import OWL/XML has absolutely no impact of the use and benefit of XML/RDF. None whatsoever. Hi Peter, I actually do anticipate a lot of problems, and supporting OWL/XML may have a large impact on the way that people use our

[tbc-users] Re: Server approaches

2009-11-16 Thread Holger Knublauch
Hi Michel, yes, the Jena server component Joseki might be a good choice. You can combine it with the SPIN API to add SPIN support. You will need to implement any UI stuff yourself, and as Scott indicates no SPARQLMotion or smf functions would exist. But at least it uses the same SPARQL engine

[tbc-users] Re: Error on dataranges in data types

2009-11-16 Thread Holger Knublauch
Hi Michel, this is not a well-formed OWL 2 datatype definition. How did you enter it? For example, owl:DataRange is no longer used by OWL 2. I think what you wanted to say is the following (in N3/Turtle): http://www.bimtoolset.org/ontologies/vabi/datatypes.owl#EnvironmentType a

[tbc-users] Re: no code for userdefined datatypes

2009-11-12 Thread Holger Knublauch
If the datatype definition is imported from some other file, then you need to click the check box at the bottom of the source code tab to also display imported triples. Holger On Nov 12, 2009, at 2:44 AM, Michel Bohms wrote: when I define: rdfs:DataType rdf:ID=PostalCode

[tbc-users] Re: SPIN Questions

2009-11-12 Thread Holger Knublauch
For my first question, I may have not been specific enough. I am creating a function via an eclipse plug-in, which requires me to extend AbstractFunction1, AbstractFunction2 or AbstractFunction3. This is what is limiting the number of arguments. Is there a workaround for this? Ah, yes

[tbc-users] Re: TBC refuses to open a workspace and throws an error

2009-11-12 Thread Holger Knublauch
Hi Paul, thanks for reporting this. The stack trace was actually helpful - I noticed that this particular code might fail if there are cyclic subPropertyOf relations between properties (including ?p rdfs:subPropertyOf ?p). Many inference engines would create such triples. I am fixing

[tbc-users] Re: Beginner SPARQL Motion and SPIN questions

2009-11-11 Thread Holger Knublauch
Hi Ray, Hi. I've been experimenting with SPARQL Motion and SPIN and have a couple of questions. Fyi, I'm using TopBraid ME v3.1.1. - Can you access a SPARQL endpoint from within a SPIN rule? For example, consider a BasicPerson class with first name and last name properties. Is it possible

[tbc-users] Re: SPIN Questions

2009-11-11 Thread Holger Knublauch
CONSTRUCT{ ?entity ont2:property ?member. } WHERE { ?entity ont1:property ?class ?item owl:oneOf ?list . ?list http://jena.hpl.hp.com/ARQ/list#member ?member . FILTER (xsd:string(?class) = xsd:string(?member)) . } Seems like you want to copy all ?class values that are

[tbc-users] Re: SparqlMotion, Apply Jena Inferencing Module Issue

2009-11-10 Thread Holger Knublauch
Thanks Paul, for pointing this out. This is fixed for the upcoming 3.2.1 release. The combo box widget used to edit enumerated values (here: the Jena inferencing types) was not handling spl:Argument definitions correctly. Holger On Nov 10, 2009, at 8:30 AM, Scott Henninger wrote:

[tbc-users] Re: small GUI issues

2009-11-10 Thread Holger Knublauch
with the width of the dialog itself. I do not have problems to resize the window. It's only that resizing the window doesn't make a difference since the text itself is truncated at a certain length. Paul On Nov 6, 8:10 pm, Holger Knublauch hol...@topquadrant.com wrote: Yes, it's a trade-off that I

[tbc-users] Re: TBC 3.2 Glitches

2009-11-09 Thread Holger Knublauch
that are also owl:InverseFunctionalProperties, and the Create restriction dialog in Group by namespaces mode. Our plan is to wait a week or so to see if other critical bugs are reported and then do a proper 3.2.1 update. Thanks for your patience, Holger On Nov 6, 2009, at 8:40 AM, Holger Knublauch

[tbc-users] Re: Double Namespaces

2009-11-05 Thread Holger Knublauch
Hi Joe, if you have unneeded prefix declarations in an import, then just delete them from the imported file. Open the file separately and delete the prefixes there. Then reload. Why does that not work, and what is the problem if the namespaces are imported? Holger On Nov 5, 2009, at

[tbc-users] Re: Double Namespaces

2009-11-05 Thread Holger Knublauch
problems at the moment, but I am hoping to get a fix in place to prevent a problem in the future. On Nov 5, 5:28 pm, Holger Knublauch hol...@topquadrant.com wrote: Hi Joe, if you have unneeded prefix declarations in an import, then just delete them from the imported file. Open the file separately

  1   2   3   4   >