<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Upload triples</title>
    </head>
    <body>
        
            <form method="post" enctype="multipart/form-data" action="/graph">
				<div>
				<label for="graph">RDF File: </label><input id="graph" type="file" name="graph" /><br/>
				<label for="name">Graph Name: </label>
				<input type="text" id="name" name="name" value="http://tpf.localhost/content.graph" size="80"/><br/>
				<input type="hidden" name="redirection" value="/graph/upload-form" /><br/>
				<input type="submit" />
				</div>
			</form>

    </body>
</html>
<commit_msg>CLEREZZA-142: add append/replace selection on /graph/upload-form<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Upload triples</title>
    </head>
    <body>
        
            <form method="post" enctype="multipart/form-data" action="/graph">
				<div>
				<label for="graph">RDF File: </label><input id="graph" type="file" name="graph" /><br/>
				<label for="name">Graph Name: </label>
				<input type="text" id="name" name="name" value="http://tpf.localhost/content.graph" size="80"/><br/>
				<label for="mode">Insertion Mode (for existing Graphs): </label><select name="mode">
					<option value="append">Append</option>
					<option value="replace">Replace</option>
				</select>
				<input type="hidden" name="redirection" value="/graph/upload-form" /><br/>
				<input type="submit" />
				</div>
			</form>

    </body>
</html>

{'fraction_non_alphanumeric': 0.2189578713968958, 'fraction_numerical': 0.019401330376940133, 'mean_word_length': 3.402439024390244, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '7494130', 'n_tokens_mistral': 727, 'n_tokens_neox': 622, 'n_words': 122}