<commit_before>from urllib2 import urlopen, Request

from xml.sax.xmlreader import InputSource

from rdflib import __version__

# TODO: add types for n3. text/rdf+n3 ?
headers = {
    'Accept': 'application/rdf+xml,application/xhtml+xml',
    'User-agent':
    'rdflib-%s (http://rdflib.net/; <EMAIL>)' % __version__
    }
<commit_msg>changed quality so rdf+xml is the preferred<commit_after>from urllib2 import urlopen, Request

from xml.sax.xmlreader import InputSource

from rdflib import __version__

# TODO: add types for n3. text/rdf+n3 ?
headers = {
    'Accept': 'application/rdf+xml,application/xhtml+xml;q=0.5',
    'User-agent':
    'rdflib-%s (http://rdflib.net/; <EMAIL>)' % __version__
    }

{'fraction_non_alphanumeric': 0.13314447592067988, 'fraction_numerical': 0.0113314447592068, 'mean_word_length': 4.198529411764706, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 9}, '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': '85275', 'n_tokens_mistral': 262, 'n_tokens_neox': 257, 'n_words': 60}