The workflow could be

a) User enters natural language
b) The JavaScript calls a servlet that turns that language into SPARQL via a GET request c) The JavaScript takes this SPARQL and sends it to tbl/sparql?query=... via GET
d) The JavaScript parses the resulting JSON or XML to display result rows

I don't see SWP involved here at all.

Holger


On 7/29/15 9:14 PM, Shreelakshmi G.M wrote:
I cant enter sparql query directly in the SPARQL endpoint. User will enter the question in natural language, which will be converted to SPARQL query and shows the results.

Can this be done by invoking the SPARQL endpoint from SWA application.

Thanks,
Shreelakshmi


On Wed, Jul 29, 2015 at 3:50 PM, Shreelakshmi G.M <shree...@gmail.com <mailto:shree...@gmail.com>> wrote:

    Hello Holger,

    How can I send query to TopBraid's SPARQL endpoint. Is it through
    ui:CreateLink? I am getting error if I use ui:CreateLink.

    Thanks,
    Shreelakshmi


    On Monday, 27 July 2015 16:25:31 UTC+5:30, Shreelakshmi G.M wrote:

        To try the above solution I checked the this blog entry
        
http://www.topquadrant.com/products/FAQ_Examples/LiveSPARQLendpoint.html.
        in page
        
http://www.topquadrant.com/2010/05/07/how-to-publish-your-linked-data-with-topbraid-live-sparql-endpoints/
 which
        is not opening.

        On Mon, Jul 27, 2015 at 2:29 PM, Shreelakshmi G.M
        <shree...@gmail.com <mailto:shree...@gmail.com>> wrote:

            Thanks Holger, I will try this.

            On Mon, Jul 27, 2015 at 2:06 PM, Holger Knublauch
            <hol...@topquadrant.com <mailto:hol...@topquadrant.com>>
            wrote:

                I am afraid there is no built-in alternative in SWP
                before 4.5. However you could in principle send the
                query to TopBraid's SPARQL endpoint and then parse the
                result set in JavaScript.

                Holger


                On 7/27/2015 17:43, Shreelakshmi G.M wrote:
                Is there any solution apart from updating. can I use
                ui:query ?

                On Mon, Jul 27, 2015 at 12:58 PM, Holger Knublauch
                <hol...@topquadrant.com
                <mailto:hol...@topquadrant.com>> wrote:

                    You may need to update your TopBraid version.
                    ui:queryString was added with version 4.5.

                    Holger



                    On 7/27/2015 17:26, Shreelakshmi G.M wrote:
                    Thanks for the reply Holger.
                    I need the same scenario, but I am getting
                    error, when I tried the solution above, at line,
                     <ui:call ui:queryString="{= ?queryString }"
                    ui:varName="results">
                    as "Undefined SWP property ui:queryString". I
                    even changed this to ui:query, then I am getting
                    the error as "Malformed qname".

                    Thanks in advance,
                    Shreelakshmi

                    On Friday, 24 July 2015 16:55:13 UTC+5:30,
                    Shreelakshmi G.M wrote:

                        I want to display sparql query result,
                        onclick of a button.
                        how can I do this ?

-- You received this message because you are
                    subscribed to the Google Group "TopBraid Suite
                    Users", the topics of which include Enterprise
                    Vocabulary Network (EVN), Reference Data Manager
                    (RDM), TopBraid Composer, TopBraid Live,
                    TopBraid Insight, SPARQLMotion, SPARQL Web Pages
                    and SPIN.
                    To post to this group, send email to
                    topbraid-users@googlegroups.com
                    <mailto:topbraid-users@googlegroups.com>
                    ---
                    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
                    topbraid-users+unsubscr...@googlegroups.com
                    <mailto:topbraid-users+unsubscr...@googlegroups.com>.
                    For more options, visit
                    https://groups.google.com/d/optout.

-- You received this message because you are
                    subscribed to the Google Group "TopBraid Suite
                    Users", the topics of which include Enterprise
                    Vocabulary Network (EVN), Reference Data Manager
                    (RDM), TopBraid Composer, TopBraid Live, TopBraid
                    Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
                    To post to this group, send email to
                    topbraid-users@googlegroups.com
                    <mailto:topbraid-users@googlegroups.com>
                    ---
                    You received this message because you are
                    subscribed to a topic in the Google Groups
                    "TopBraid Suite Users" group.
                    To unsubscribe from this topic, visit
                    
https://groups.google.com/d/topic/topbraid-users/6IP1cH7hpnk/unsubscribe.
                    To unsubscribe from this group and all its
                    topics, send an email to
                    topbraid-users+unsubscr...@googlegroups.com
                    <mailto:topbraid-users+unsubscr...@googlegroups.com>.
                    For more options, visit
                    https://groups.google.com/d/optout.


-- You received this message because you are subscribed
                to the Google Group "TopBraid Suite Users", the
                topics of which include Enterprise Vocabulary Network
                (EVN), Reference Data Manager (RDM), TopBraid
                Composer, TopBraid Live, TopBraid Insight,
                SPARQLMotion, SPARQL Web Pages and SPIN.
                To post to this group, send email to
                topbraid-users@googlegroups.com
                <mailto:topbraid-users@googlegroups.com>
                ---
                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
                topbraid-users+unsubscr...@googlegroups.com
                <mailto:topbraid-users+unsubscr...@googlegroups.com>.
                For more options, visit
                https://groups.google.com/d/optout.

-- You received this message because you are subscribed
                to the Google Group "TopBraid Suite Users", the topics
                of which include Enterprise Vocabulary Network (EVN),
                Reference Data Manager (RDM), TopBraid Composer,
                TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL
                Web Pages and SPIN.
                To post to this group, send email to
                topbraid-users@googlegroups.com
                <mailto:topbraid-users@googlegroups.com>
                ---
                You received this message because you are subscribed
                to a topic in the Google Groups "TopBraid Suite Users"
                group.
                To unsubscribe from this topic, visit
                
https://groups.google.com/d/topic/topbraid-users/6IP1cH7hpnk/unsubscribe.
                To unsubscribe from this group and all its topics,
                send an email to
                topbraid-users+unsubscr...@googlegroups.com
                <mailto:topbraid-users+unsubscr...@googlegroups.com>.
                For more options, visit
                https://groups.google.com/d/optout.




--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
---
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 topbraid-users+unsubscr...@googlegroups.com <mailto:topbraid-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid 
Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), 
Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, 
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
--- 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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to