Re: [topbraid-users] discriminating for context

2014-05-26 Thread Holger Knublauch
Hi Michel, just a meta-response: for general modeling advice that is unrelated to TopBraid, you may want to post your question to http://answers.semanticweb.com/ where you should also get a wider range of viewpoints. HTH Holger On 5/27/2014 0:34, Bohms, H.M. (Michel) wrote: Dear all,

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

2014-05-26 Thread Scott Henninger
Nicolae, a string is an rdf:XmlLiteral, so you should have no problems passing the XML string from for PostRequest to sml:ConvertXMLToRDF.  Do see the section on Semantic XML to understand the raw XML-to-RDF transformation:   Composer Help > TopBraid Composer> Workin

[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] discriminating for context

2014-05-26 Thread Bohms, H.M. (Michel)
Dear all, I'd like your advice on a specific modelling pattern. In our taxonomies we use as much as possible "discriminators" that are datatype properties that get a class-level value (hasValue) relevant for all individuals. Sometimes however, we want to discriminate according to something lik

[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 one way? > > Where can I

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

2014-05-26 Thread Nicolae Marasoiu
Hi, In order to send out 1 POST parameter with string template value: do I use the content, or do I need to create a subclass PostRequest and add any parameters for the post as spin contraints? Manually sending the content did not work: it did not send it apparently and the server could not fo