<commit_before><?php
    set_include_path(get_include_path() . PATH_SEPARATOR . '../lib/');
    require_once "EasyRdf/Graph.php";
    require_once "html_tag_helpers.php";

    $serialiser_options = array(
      'Builtin' => 'Builtin',
      'ARC 2' => 'Arc',
      'Rapper' => 'Rapper',
    );

    $output_options = array(
      'N-Triples' => 'ntriples',
      'RDF/PHP' => 'php',
      'RDF/JSON' => 'json',
      'RDF/XML' => 'rdfxml',
      'Turtle' => 'turtle',
    );
?>
<html>
<head><title>FOAF Maker</title></head>
<body>
<h1>FOAF Maker</h1>

<?= form_tag(null,array('method' => 'POST')) ?>

<h2>Your Identifier</h2>
<?= labeled_text_field_tag('uri', 'http://www.example.com/joe#me', array('size'=>40)) ?><br />

<h2>Your details</h2>
<?= labeled_text_field_tag('title', 'Mr', array('size'=>8)) ?><br />
<?= labeled_text_field_tag('given_name', 'Joseph') ?><br />
<?= labeled_text_field_tag('family_name', 'Bloggs') ?><br />
<?= labeled_text_field_tag('nickname', 'Joe') ?><br />
<?= labeled_text_field_tag('email', '<EMAIL>') ?><br />
<?= labeled_text_field_tag('homepage', 'http://www.example.com/', array('size'=>40)) ?><br />

<h2>People you know</h2>
<?= labeled_text_field_tag('person_1', 'http://www.example.com/dave#me', array('size'=>40)) ?><br /><commit_msg>Added poshRDF as an output option<commit_after><?php
    set_include_path(get_include_path() . PATH_SEPARATOR . '../lib/');
    require_once "EasyRdf/Graph.php";
    require_once "html_tag_helpers.php";

    $serialiser_options = array(
      'Builtin' => 'Builtin',
      'ARC 2' => 'Arc',
      'Rapper' => 'Rapper',
    );

    $output_options = array(
      'N-Triples' => 'ntriples',
      'RDF/PHP' => 'php',
      'RDF/JSON' => 'json',
      'RDF/XML' => 'rdfxml',
      'poshRDF' => 'poshrdf',
      'Turtle' => 'turtle',
    );
?>
<html>
<head><title>FOAF Maker</title></head>
<body>
<h1>FOAF Maker</h1>

<?= form_tag(null,array('method' => 'POST')) ?>

<h2>Your Identifier</h2>
<?= labeled_text_field_tag('uri', 'http://www.example.com/joe#me', array('size'=>40)) ?><br />

<h2>Your details</h2>
<?= labeled_text_field_tag('title', 'Mr', array('size'=>8)) ?><br />
<?= labeled_text_field_tag('given_name', 'Joseph') ?><br />
<?= labeled_text_field_tag('family_name', 'Bloggs') ?><br />
<?= labeled_text_field_tag('nickname', 'Joe') ?><br />
<?= labeled_text_field_tag('email', '<EMAIL>') ?><br />
<?= labeled_text_field_tag('homepage', 'http://www.example.com/', array('size'=>40)) ?><br />

<h2>People you know</h2>
<?= labeled_text_field_tag('person_1', 'http://www.example.com/dave#me', array('size'=>40)) ?><br />
{'fraction_non_alphanumeric': 0.24769585253456222, 'fraction_numerical': 0.013056835637480798, 'mean_word_length': 4.5073995771670194, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 96, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 2}, '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': '6163285', 'n_tokens_mistral': 1061, 'n_tokens_neox': 1023, 'n_words': 151}