<commit_before>package net.codejva;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
//import com.hp.hpl.jena.rdf.model.Model;
import java.sql.*;

/**
 * Servlet implementation class Melih
 */@WebServlet("/Melih")


public class Melih extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    public Melih() {
        super();
        // TODO Auto-generated constructor stub
    }

	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		//Integer menu = 0;
		PrintWriter out = response.getWriter();
		String my_query = request.getParameter("my_query");
		out.println("<html>");
		out.println("<body>");
		if (my_query == null){out.println("<form action='Melih' method='get'> ASDAFFPasflease enter a query:<br><input type='text' name='my_query'><br><br><input type='submit' value='Submit'></form>");}
		else{out.println("<p>" + my_query + "</p>");}
		out.println("<br>");
		out.println("<form action='https://query.wikidata.org/sparql?query=SELECT ?countryLabel ?capitalLabel WHERE {?country wdt:P31 wd:Q3624078. ?capital wdt:P1376 ?country. SERVICE wikibase:label{bd:serviceParam wikibase:language 'en'. }}' method='get'> Click below to send your query:<input type='submit' value='Submit'></form>");
		out.println("<br>");
		out.println("<form action='Melih' method='get'> Please click here to initialize the database: <input type='submit' value='Click'></form>");
		out.println("</body>");
		out.println("</html>");
	}	
}
<commit_msg>Server tryouts.<commit_after>package net.codejva;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
//import com.hp.hpl.jena.rdf.model.Model;
import java.sql.*;

/**
 * Servlet implementation class Melih
 */@WebServlet("/Melih")


public class Melih extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    public Melih() {
        super();
        // TODO Auto-generated constructor stub
    }

	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		//Integer menu = 0;
		PrintWriter out = response.getWriter();
		String my_query = request.getParameter("my_query");
		out.println("<html>");
		out.println("<body>");
		if (my_query == null){out.println("<form action='Melih' method='get'> ASdfDAFFPasflease enter a query:<br><input type='text' name='my_query'><br><br><input type='submit' value='Submit'></form>");}
		else{out.println("<p>" + my_query + "</p>");}
		out.println("<br>");
		out.println("<form action='https://query.wikidata.org/sparql?query=SELECT ?countryLabel ?capitalLabel WHERE {?country wdt:P31 wd:Q3624078. ?capital wdt:P1376 ?country. SERVICE wikibase:label{bd:serviceParam wikibase:language 'en'. }}' method='get'> Click below to send your query:<input type='submit' value='Submit'></form>");
		out.println("<br>");
		out.println("<form action='Melih' method='get'> Please click here to initialize the database: <input type='submit' value='Click'></form>");
		out.println("</body>");
		out.println("</html>");
	}	
}

{'fraction_non_alphanumeric': 0.16229321163719337, 'fraction_numerical': 0.008556759840273816, 'mean_word_length': 5.458563535911602, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2243853', 'n_tokens_mistral': 1135, 'n_tokens_neox': 1077, 'n_words': 241}