|
Dejan; A couple of other things to note with SWP files. First is
that if the ui:responseType is set to ui:JSON, then it will return a
JSON mime type. Also see swon:object and swon:Array in http://uispin.org/swon.html Also, SWP is a text formatting templating language, so you can simply put you own JSON strings in the ui:prototype. I.e. SWON is just a set of convenience funcitons. In addition, you can also create a standalone .swp file that returns json and of the name ends with .json.swp it will return the JSON mime type (see Composer Help > TopBraid Composer > TopBraid Live Integration > SWP with TopBraid Live). Between these, it seems possible to create JSON in the form you want. And as stated the JSON version of a SPARQL Endpoint result set is supported in SPIN Template, SPARQL Endpoint, and SPARQLMotion, all out-of-the-box. -- Scott On 8/18/2014, 5:09 PM, Scott Henninger
wrote:
Dejan, have you looked into SPIN Templates (Composer Help > TopBraid Composer > TopBraid Live Integration > SPIN Template Service), which are services for SPARQL queries can be returned as standard SPARQL result sets in JSON by setting the parameter _format to 'json'? -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. |
- [topbraid-users] How to Return SINGLE JSON Object Within... Dejan Veselinovic
- Re: [topbraid-users] How to Return SINGLE JSON Obje... Scott Henninger
- Re: [topbraid-users] How to Return SINGLE JSON ... Scott Henninger
- RE: [topbraid-users] How to Return SINGLE JSON Obje... Irene Polikoff
- [topbraid-users] Re: How to Return SINGLE JSON Obje... Dejan Veselinovic
- Re: [topbraid-users] Re: How to Return SINGLE J... Holger Knublauch
- Re: [topbraid-users] Re: How to Return SING... Dejan Veselinovic
- Re: [topbraid-users] Re: How to Return ... Scott Henninger
- Re: [topbraid-users] Re: How to Re... Holger Knublauch
- Re: [topbraid-users] Re: How t... Dejan Veselinovic
