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
Post a Comment