<commit_before>package ons.solubility.rdf.sparql;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;

import com.hp.hpl.jena.query.Query;
import com.hp.hpl.jena.query.QueryExecution;
import com.hp.hpl.jena.query.QueryExecutionFactory;
import com.hp.hpl.jena.query.QueryFactory;
import com.hp.hpl.jena.query.ResultSet;
import com.hp.hpl.jena.query.ResultSetFormatter;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;

public class QueryRDF {

    public static void main(String[] args) throws Exception {
        InputStream in = new FileInputStream(new File("ons.rdf"));
        Model model = ModelFactory.createMemModelMaker().createDefaultModel();<commit_msg>Updated for Jena 2.6<commit_after>package ons.solubility.rdf.sparql;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;

import com.hp.hpl.jena.graph.query.Query;
import com.hp.hpl.jena.rdf.model.Model;
import com.hp.hpl.jena.rdf.model.ModelFactory;
import com.hp.hpl.jena.vocabulary.ResultSet;

public class QueryRDF {

    public static void main(String[] args) throws Exception {
        InputStream in = new FileInputStream(new File("ons.rdf"));
        Model model = ModelFactory.createMemModelMaker().createDefaultModel();
{'fraction_non_alphanumeric': 0.12102404965089217, 'fraction_numerical': 0.0015515903801396431, 'mean_word_length': 4.758928571428571, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6613450', 'n_tokens_mistral': 444, 'n_tokens_neox': 436, 'n_words': 78}