I could make a query to show it on a page with jsp with the information on
the following page:
https://www.codementor.io/isaib.cicourel/sparql-query-using-endpoints-101-du10884g8


Now it is still possible to format the presentation with html, and a search
box, we will see how it is going

2017-11-21 11:52 GMT-07:00 John A. Fereira <ja...@cornell.edu>:

> I have done something like this but it’s a bit too complex to describe on
> a mailing list.  It’s basically a Spring MVC java web application that uses
> JSP (and JSTL) at a view layer for the results.  Paul Tysons suggestion to
> use a javascript library rather than JSP is a good one.  Basically, you’ll
> need some server code that executes the SPARQL against the Fuseki endpoint,
> then maps the result set to a list of objects.  The mapping piece has to
> account for results which have multiple values (e.g. subject uri has
> multiple instances of a predicate.  For example,  a Person uri may have
> multiple research areas, but only one “given name”.   The mapper has to
> know which properties are multivalued and which have a single result.
>  Once the result set has been mapped to an object, it can be passed to the
> JSP, or transformed to JSON using a library such as Jackson.
>
> On 11/21/17, 1:21 PM, "Manuel Quintero Fonseca" <man...@uas.edu.mx> wrote:
>
>     Yes, I want to make a query with sparql in fuseki, to show the result
> in a
>     web. what has been researched, happens to use java for web pages JSP is
>     used in tomcat.
>
>     2017-11-21 6:55 GMT-07:00 ajs6f <aj...@apache.org>:
>
>     > Are you asking about the use of Fuseki from JSP pages? That is,
> using JSP
>     > pages to send queries to Fuseki?
>     >
>     > ajs6f
>     >
>     > > On Nov 20, 2017, at 9:56 PM, Manuel Quintero Fonseca <
> man...@uas.edu.mx>
>     > wrote:
>     > >
>     > > Hello, there is a tutorial on the use of fuseki on jsp (JavaServer
>     > Pages),
>     > > to be able to consult about the web platform
>     > >
>     > > Information on this subject is very scarce, and in the official
>     > > documentation or say, is unclear.
>     > >
>     > > Thank you
>     >
>     >
>
>
>

Reply via email to