jstl - How to execute sparql query in jsp for rdf? -


this code of jsp in which, have insert sparql query retrieve information out of give errors in code. please tell me possible solution solve problem.

<%@ page language="java" contenttype="text/html; charset=iso-8859-1" pageencoding="iso-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://www.semanticweb.org/shahrukh/ontologies/2017/4/"  prefix="sparql" %>  <!doctype html public "-//w3c//dtd html 4.01 transitional//en"  "http://www.w3.org/tr/html4/loose.dtd">  <sparql:sparql>  <html > <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>insert title here</title> </head> <body> <h1>research papers of 2017</h1>  <!-- <sparql:select var="modules">  -->  <!-- retrieve data of research paper --> <sparql:select var="mod" model="tb">     select ?title ?publisher     {              ?m rdf:title ?title .             ?m rdf:publisher ?publisher .      }   </sparql:select> </body> </html> </sparql:sparql> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -