I don't understand the problem. You already have the JENA code that
executes the query and returns a result. What is the problem then? When
you're developing a Java GUI indeed you have to run this code once the
button fires the event. Any Java Swing tutorial will show you that,
there is nothing special with JENA code compared to any other backend code.
Lorenz
Try this
http://mvnrepository.com/artifact/org.apache.jena/jena-arq
On Wed, Feb 17, 2016 at 7:58 AM, kumar rohit <[email protected]> wrote:
Hello
Suppose I hava a SPARAL query which extract india flag from dbpedia & I use
this query inside Jena code.
Now how can i use it in my normal Java application using eclipse. Suppose I
have a Java gui program having a button "Show flag" , then how can we use
it here.
Do we need to run the query inside the action handler code of the button or
any thing else.
Please guide me here and if there is any literature available which uses
things like this (I mean implement Jena code in Java application).
I would really appreciate any help.
Regards
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center