<commit_before><?php
    /**
     * Construct a FOAF document with a choice of serialisations
     *
     * This example is similar in concept to Leigh Dodds' FOAF-a-Matic.
     * The fields in the HTML form are inserted into an empty
     * EasyRdf\Graph and then serialised to the chosen format.
     *
     * @package    EasyRdf
     * @copyright  Copyright (c) 2009-2013 <NAME>
     * @license    http://unlicense.org/
     */

    require_once realpath(__DIR__.'/..')."/vendor/autoload.php";
    require_once __DIR__."/html_tag_helpers.php";
    
    $personUrl = realpath(__DIR__.'/..').'/ontology/person#';
    
    
    function criarClienteRdf($rdfname, $data){
        $filename = realpath(__DIR__.'/..').'/ontology/person/'.$rdfname.'.rdf';
        $mode = "w";
        $myfile = fopen($filename, $mode);<commit_msg>Create person directory into ontology<commit_after><?php
    /**
     * Construct a FOAF document with a choice of serialisations
     *
     * This example is similar in concept to Leigh Dodds' FOAF-a-Matic.
     * The fields in the HTML form are inserted into an empty
     * EasyRdf\Graph and then serialised to the chosen format.
     *
     * @package    EasyRdf
     * @copyright  Copyright (c) 2009-2013 <NAME>
     * @license    http://unlicense.org/
     */

    require_once realpath(__DIR__.'/..')."/vendor/autoload.php";
    require_once __DIR__."/html_tag_helpers.php";
    
    $personUrl = $_SERVER['SERVER_NAME'].'/ontology/person#';
    
    
    function criarClienteRdf($rdfname, $data){
        $filename = realpath(__DIR__.'/..').'/ontology/person/'.$rdfname.'.rdf';
        $mode = "w";
        $myfile = fopen($filename, $mode);
{'fraction_non_alphanumeric': 0.13885578069129917, 'fraction_numerical': 0.009535160905840286, 'mean_word_length': 2.5496828752642706, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '5681970', 'n_tokens_mistral': 556, 'n_tokens_neox': 536, 'n_words': 131}