Re: [topbraid-users] Model loading...taking forever

2014-05-28 Thread Scott Henninger
Jack; There are a number of models that fail to assert "root" classes, i.e. all classes that are subclasses of owl:Thing. While technically correct, these are difficult to process, as the system has to find all of the class definitions that have no subClassOf definitions. This is the "Applying

[topbraid-users] Model loading...taking forever

2014-05-28 Thread Jack Hodges
I added an import into a model I am constructing. This import is the FMA (anatomy ontology) and has tens of thousands of classes. It took a couple of minutes to add it. I later had to exit TBC and when I reopened the application the Progress Information dialog said the app was "Applying Supercl

Re: [topbraid-users] sml:PostRequest gives "Authentication error" even if reality is "Connectino refused/cannot connect"

2014-05-28 Thread Mark Graham
Hello Nicolae, Thank you for the recommendation. A JIRA ticket has been opened for this and being reviewed by the developer for the sml:PostRequest function. Thanks, Mark Thanks, Mark Mark Graham TopQuadrant Support *PRODUCT SUPPORT:* supp...@topquadrant.com http://www.topquadrant.com/produc

Re: [topbraid-users] Re: sml:FilterByConstruct does not filter

2014-05-28 Thread Scott Henninger
Nicolae; One way to verify the outcome of a module is to click on the module so it is highlighted and click the green run button to run up to the selected module.  When the dialog appears to display the resulting triples, choose that.  The triples available after executin

Re: [topbraid-users] "2014-05-27T14:06:11+0300" is not an xsd:dateTime value?

2014-05-28 Thread Scott Henninger
Nicolae; I would suggest using SPARQL string functions to remove the ":".  You may also find spif:regex() and spif:replaceAll() useful. For the latter two, see Composer Help > Reference > SPARQL Functions Reference. -- Scott On 5/28/2014, 6:15 AM, Nicol

Re: [topbraid-users] typing issue

2014-05-28 Thread Scott Henninger
Michel; Currently there is no way to clear the SPARQL results.  Executing a query that gets different (or no) results is one work-around.  Another is to create a new SPARQL window (click the orange star in the SPARQL View icon var) -- Scott On 5/28/2014, 1:4

[topbraid-users] Re: sml:FilterByConstruct does not filter

2014-05-28 Thread Nicolae Marasoiu
Ok, it does filter sorry! I was confused that i saw subgraphs in debug under the TreadSafeGraph, i just that they are just some kind of history? On Wednesday, May 28, 2014 4:26:49 PM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > I have a FilterByConstruct with: > > CONSTRUCT { > ?s ?p ?o . > } >

[topbraid-users] sml:FilterByConstruct does not filter

2014-05-28 Thread Nicolae Marasoiu
Hi, I have a FilterByConstruct with: CONSTRUCT { ?s ?p ?o . } WHERE { ?s ?p ?o . } My understanding was that it would filter all the matching triplets: all, in this case. However I see the incoming graph as unfiltered after the module has passed the filter. Please advice, Nicu -- --

[topbraid-users] sml:PostRequest gives "Authentication error" even if reality is "Connectino refused/cannot connect"

2014-05-28 Thread Nicolae Marasoiu
Hi, I access an HTTP endpoint with Basic Authentication using sml:PostRequest. It would be natural for the error message to accurately indicate the cause of miscommunication such as: - connection refused (typically the peer OS got the TCP CONNECT but no service is listening on that port) - conn

Re: [topbraid-users] "2014-05-27T14:06:11+0300" is not an xsd:dateTime value?

2014-05-28 Thread Nicolae Marasoiu
Hi, Just to clarify, I use a sparql expression to bind an argument to PostReqest. Putting directly sparql expression "string" + now +"string2" does not work. Putting a formatting explicitly does not give the timezone in the format wanted by xsd, because Java until recently in Java 8 yields +030

RE: [topbraid-users] typing issue

2014-05-28 Thread Bohms, H.M. (Michel)
Forgot: also saw after this action the query was de-abbreviated which i assume is a feature… Dr. ir. H.M. (Michel) Bohms Sr. Research Scientist Structural Reliability T +31 (0)88 866 31 07 M +31 (0)63 038 12 20 E michel.bo...@tno.nl Location

Re: [topbraid-users] "2014-05-27T14:06:11+0300" is not an xsd:dateTime value?

2014-05-28 Thread Nicolae Marasoiu
Hi, The cause is that the timezone as represented by java "Z" format is +0300 not +03:00. Can you please advice a way to output an xsd:dateTime compatible string representation of the now()? I tried this but fails (with unkown error): spif:dateFormat(now(), "-MM-dd")) + "T") + spif:dateFor

Re: [topbraid-users] typing issue

2014-05-28 Thread Holger Knublauch
How did you "attach" the query? It needs to be via spin:rule Sent from my iPad > On May 28, 2014, at 20:04, "Bohms, H.M. (Michel)" wrote: > > Hi Holger, > Works perfect now in sparqltab > > Next I attach the query to Neighbourhood class. > I configured inferencing: > > > When I then execut

RE: [topbraid-users] typing issue

2014-05-28 Thread Bohms, H.M. (Michel)
Hi Holger, Works perfect now in sparqltab Next I attach the query to Neighbourhood class. I configured inferencing: [cid:image001.png@01CF7A6C.F453C120] When I then execute I get no inferences with error: No SPIN rules found in the current model. You may want to use the Ontology Profile tab to a

Re: [topbraid-users] {E201} Multiple children of property element

2014-05-28 Thread Holger Knublauch
On 5/28/2014 17:11, Nicolae Marasoiu wrote: Hi, I have a module of type sml:ConvertTextToRDF with sm:XML serialization type, The payload to parse / deserialize into RDF / sparql restult set is: http://www.w3.org/2005/sparql-results#";> sml:ConvertTextToRDF can only be used to parse RDF sto

[topbraid-users] Re: {E201} Multiple children of property element

2014-05-28 Thread Nicolae Marasoiu
The XML payload was generated using sml:SerializeSPARQLResults. The same error occurs when i bind ?error correctly (as a sparql expression, as input to the function generating rdf with sparql and the serializing) On Wednesday, May 28, 2014 10:11:36 AM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > I

[topbraid-users] {E201} Multiple children of property element

2014-05-28 Thread Nicolae Marasoiu
Hi, I have a module of type sml:ConvertTextToRDF with sm:XML serialization type, The payload to parse / deserialize into RDF / sparql restult set is: http://www.w3.org/2005/sparql-results#";> http://www.w3.org/2001/XMLSchema#string";>Error: ?error