[topbraid-users] sparql question(s) related to BIND

2014-09-03 Thread Nicolae Marasoiu
Hi, I have an issue understanding BIND keyword I understand it creates a new variable (name, value) pair / binding within a {} scope However, the spec also says it breaks the graph pattern scope {} into 2 {}s but does not clarify what that means (especially when the previous {} does not bring

[topbraid-users] isBound returns false on a ?var with string value!

2014-08-25 Thread Nicolae Marasoiu
Hi, I have a swp like this: .. ..

Re: [topbraid-users] impossible to remove a piece of code from ui:prototype? :(

2014-08-21 Thread Nicolae Marasoiu
8/21/14, 12:33 AM, Nicolae Marasoiu wrote: > > Hi, > > Editing ui:errorPrototype, I remove a piece of code. I refreshed, the > same. Restarted, the same. Reimported fully the project after stopping TBC, > removing workspace, the same. > Where can this state be? I triple checked the

[topbraid-users] impossible to remove a piece of code from ui:prototype? :(

2014-08-20 Thread Nicolae Marasoiu
Hi, Editing ui:errorPrototype, I remove a piece of code. I refreshed, the same. Restarted, the same. Reimported fully the project after stopping TBC, removing workspace, the same. Where can this state be? I triple checked the file content and the piece of code is no longer there. I have been to

[topbraid-users] TBC moving slow - any advices?

2014-08-13 Thread Nicolae Marasoiu
Hi. We all have slow TBC, takes quite many seconds to switch files, ontologies, so on. We use both windows and linux. I had put 4G Xmx and 1G Xms, but did not help. Do you have any suggestions, on the JVM arguments for "fine tune"? Thanks Nicu Marasoiu Computas -- -- You received this message

Re: [topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-15 Thread Nicolae Marasoiu
-client-and-http-proxies/ Thanks On Tuesday, July 15, 2014 2:49:16 PM UTC+3, Nicolae Marasoiu wrote: > > Hi all, > > So I just to reiterate: > > - the only environment where we have the issue (the one proxied with jvm > params to tomcat as per Daniel's details) >

Re: [topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-15 Thread Nicolae Marasoiu
.proxySet=true -Dhttp.proxyHost= > -Dhttp.proxyPort= -Dhttp.nonProxyHosts= should not be accessed through the proxy> $JAVA_OPTS" > > Thanks, > > Daniel > > > On Tuesday, July 15, 2014 8:57:32 AM UTC+2, Nicolae Marasoiu wrote: >> >> Hi, >> >> Proxy setu

Re: [topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-14 Thread Nicolae Marasoiu
u never received this message and then it began to occur at >> times. Is there a way to research that time-frame and if any >> updates occurred around then on the system (per logging)? >> >> Thanks, >> Mark >> >> Thanks, >> Mark >> >&g

Re: [topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-12 Thread Nicolae Marasoiu
s > narrow down possible causes and either verify a defect or find an effective > workaround. > > TIA > -- Scott > > > On Jul 11, 2014, at 5:11 PM, Nicolae Marasoiu > wrote: > > Hi, > > We receive the stack trace below from the container we are using (Tomcat >

Re: [topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-11 Thread Nicolae Marasoiu
On Fri, Jul 11, 2014 at 9:55 AM, Nicolae Marasoiu < > nicolae.maras...@gmail.com> wrote: > >> Hi, >> >> We had 2 instances where a web service over http using basic auth >> reported "Authentication failed", but with "Connection refused" as th

[topbraid-users] Connection refused as reported by TBC/TBL but works from browser

2014-07-11 Thread Nicolae Marasoiu
Hi, We had 2 instances where a web service over http using basic auth reported "Authentication failed", but with "Connection refused" as the stack cause (ConnectException). Restarting TBC solved it. With TBL we did not restart yet. However, "Connection refused" is supposed to be a response fro

[topbraid-users] windows 4.4.1 vs linux 4.4.1

2014-06-24 Thread Nicolae Marasoiu
Hi, We have some SWP code which works as intended on Linux (the dev used 4.4.1 on ubuntu). But when TBC 4.4.1 on windows is refreshed, restarted, resources (top spin, swp, sparql motion) reloaded, etc, it does not work. I find it very hard to say exactly what does not work. Thanks, 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: > > CONSTRUC

[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
tly in Java 8 yields +0300 as Z (the timezone part) instead of the +03:00 wanted by xsd. Please see details in my previous message below/above. Thanks Nicu On Wednesday, May 28, 2014 1:15:19 PM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > The cause is that the timezone as represented by

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

2014-05-28 Thread Nicolae Marasoiu
;"^^xsd:dateTime - not the extra quote that makes > it illegal syntax for xsd:dateTime. > > -- Scott > > On 5/27/2014, 6:10 AM, Nicolae Marasoiu wrote: > > Hi, > > I am trying to generate the currend xsd:dateTime to insert in a dynamic > XML payload with: &g

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

[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

[topbraid-users] both sm:if and sm:else called!

2014-05-27 Thread Nicolae Marasoiu
Hi, Just cloned some modules, and i checked that in the BranchByAsk I only have if and else, no next. However nodes on both if and else branches are hit. This really looks like a bug, can you advice? Thanks Nicu -- -- You received this message because you are subscribed to the Google Group "To

[topbraid-users] Can RDF be returned from a function directly?

2014-05-27 Thread Nicolae Marasoiu
Hi, ReturnRDF has a sml:serialization argument, which suggests me that the RDF triple set need to be serialized in order to be used in the calling function. Can RDF results be shared as "values" without being serialized? Thanks, Nicu -- -- You received this message because you are subscribed

[topbraid-users] Re: how to deserialize RDF from XML?

2014-05-27 Thread Nicolae Marasoiu
Hi, Found, "convert text in one of the serializations formats back to RDF" function. Thanks On Tuesday, May 27, 2014 4:12:07 PM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > I have a sml:SerializeSparqlResults in an external code and i need to > deserialize it back to R

[topbraid-users] how to deserialize RDF from XML?

2014-05-27 Thread Nicolae Marasoiu
Hi, I have a sml:SerializeSparqlResults in an external code and i need to deserialize it back to RDF in another part of the system. How can I do this? thanks Nicu -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include

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

2014-05-27 Thread Nicolae Marasoiu
Hi, I am trying to generate the currend xsd:dateTime to insert in a dynamic XML payload with: spif:dateFormat(now(), "-MM-dd")) + "T" + spif:dateFormat(now(), "HH:mm:ssZ") Sending out content yields XSD validation exception, probably from the remoint endpoint XSD validation: Reason: org.t

[topbraid-users] Re: convert from xsd:string to rdf:XMLLiteral

2014-05-27 Thread Nicolae Marasoiu
11:22:58 AM UTC+3, Nicolae Marasoiu wrote: > > Hi Scott, > > No, unfortunately this happens to me and an experienced colleague who just > worked around it with xpath to avoid the impossible conversion. > > So I have an xsd:string stored in a ?xmlStringResult output variable fr

[topbraid-users] Re: convert from xsd:string to rdf:XMLLiteral

2014-05-27 Thread Nicolae Marasoiu
:06:28 PM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > I use sml:PostRequest and have a resulting xsd:string value, holding an > XML data string payload. > > The next step would be to convert it to RDF. > > But sml:ConvertXMLToRDF takes an rdf:XmlLiteral value. > > H

[topbraid-users] convert from xsd:string to rdf:XMLLiteral

2014-05-26 Thread Nicolae Marasoiu
Hi, I use sml:PostRequest and have a resulting xsd:string value, holding an XML data string payload. The next step would be to convert it to RDF. But sml:ConvertXMLToRDF takes an rdf:XmlLiteral value. How to convert between the 2 types? Thanks, Nicu -- -- You received this message because y

[topbraid-users] Re: how to call a web service from a TopBraid SparqlMotion script?

2014-05-26 Thread Nicolae Marasoiu
Hi, It worked, with subclassing, Thanks! On Thursday, May 22, 2014 2:33:10 PM UTC+3, Nicolae Marasoiu wrote: > > Hi, > > I need to use a SOAP integration from a SparqlMotion function. > > Can you please suggest how to do it? > > I heard about an ImportXMLFromURL, is this

Re: [topbraid-users] how to call a web service from a TopBraid SparqlMotion script?

2014-05-26 Thread Nicolae Marasoiu
in TopBraid Composer-ME, and under Reference open > the SPARQLMotion Module Library Reference section. > > -- Scott > > On 5/22/2014, 6:33 AM, Nicolae Marasoiu wrote: > > Hi, > > I need to use a SOAP integration from a SparqlMotion function. > > Can you pleas

[topbraid-users] how to call a web service from a TopBraid SparqlMotion script?

2014-05-22 Thread Nicolae Marasoiu
Hi, I need to use a SOAP integration from a SparqlMotion function. Can you please suggest how to do it? I heard about an ImportXMLFromURL, is this one way? Where can I find details about them, code snippets, documentation and philosophy underneath? Is it possible to make it work in Java and

[topbraid-users] ErrorHandlerFactory.java:84: Undefined prefix: xsd

2014-05-08 Thread Nicolae Marasoiu
Hi! I receive the following error in TBC 4.4.0 when: 1. Refreshing Top Braid registries, scripts 2. When executing certain scripts Do you have any hints of the reason and solution? Thanks Nicu Marasiou eclipse.buildId=unknown java.version=1.7.0_51 java.vendor=Oracle Corporation BootLoader const

Re: [topbraid-users] TBC throws NPE on adding argument to function

2014-04-17 Thread Nicolae Marasoiu
ion on the exception. Go to > Preferences > TopBraid Composer > Error handling and select "Create longer > stack traces". Be sure to reset that setting after capturing the > exception, as it will have an impact on performance. > > -- Scott > > On 4/17/2014

Re: [topbraid-users] TBC throws NPE on adding argument to function

2014-04-17 Thread Nicolae Marasoiu
manually" create new functions and web services. Look at other > examples on how this is done - essentially like with SPIN functions. > > Thanks > Holger > > > On 4/17/2014 0:51, Nicolae Marasoiu wrote: > > Hi, > > I try to create a new function with TBC 4.

[topbraid-users] TBC throws NPE on adding argument to function

2014-04-16 Thread Nicolae Marasoiu
Hi, I try to create a new function with TBC 4.4. Scenario: Open Scripts/ create function/web service. On adding an argument, I select an URI/IRI to an existing Property type resource with range xsd:string, already used in other functions. Click Ok in add-arg popup. Result: First attempt, NPE.