RE: [topbraid-users] typing issue

2014-05-28 Thread Bohms, H.M. (Michel)
Hi Holger, That :: is very special: no error in tbc! Guess is has some meaning :) I will experiment with smf:cast as you suggest. @Scott: the catula def. of the e-Production property is (already) given as: depc:e-Production aowl:DatatypeProperty ; rdfs:range

[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: ?xml version=1.0? sparql xmlns=http://www.w3.org/2005/sparql-results#; head variable name=returnStatus/ variable name=resourceId/

[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

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: ?xml version=1.0? sparql xmlns=http://www.w3.org/2005/sparql-results#; sml:ConvertTextToRDF can

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

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) michel.bo...@tno.nl wrote: Hi Holger, Works perfect now in sparqltab Next I attach the query to Neighbourhood class. I configured inferencing: image001.png

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) +

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.nlmailto:michel.bo...@tno.nl

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 +0300

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

[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] 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 . } WHERE {

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

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,

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

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

[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

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