<commit_before><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:func="http://exslt.org/functions"
                xmlns:lf="tag:localhost,2008:exslt-local-functions"
                extension-element-prefixes="func"
                exclude-result-prefixes="lf"
                xmlns:st="http://oort.to/ns/2008/09/sparqltree"
                xmlns="http://www.w3.org/1999/xhtml">

  <xsl:output method="html" indent="yes" encoding="utf-8" omit-xml-declaration="yes"
              doctype-public="-//W3C//DTD XHTML+RDFa 1.0//EN"/>

  <xsl:key name="get-class" match="/st:tree/ontology/class" use="@uri"/>
  <xsl:key name="get-prop" match="/st:tree/ontology/property" use="@uri"/>

  <xsl:template match="/st:tree">
    <html xml:lang="sv">
      <head profile="http://www.w3.org/ns/rdfa/">
        <title>Ontology Viewer</title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <link rel="stylesheet" href="/css/ontology.css" />
      </head>
      <body>
        <div id="main">

        <div class="ontologyInfo" about="{ontology/@uri}">
          <h1><xsl:value-of select="ontology/title | ontology/label"/></h1>
          <xsl:if test="ontology/comment"><commit_msg>Fixed html output title.<commit_after><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:func="http://exslt.org/functions"
                xmlns:lf="tag:localhost,2008:exslt-local-functions"
                extension-element-prefixes="func"
                exclude-result-prefixes="lf"
                xmlns:st="http://oort.to/ns/2008/09/sparqltree"
                xmlns="http://www.w3.org/1999/xhtml">

  <xsl:output method="html" indent="yes" encoding="utf-8" omit-xml-declaration="yes"
              doctype-public="-//W3C//DTD XHTML+RDFa 1.0//EN"/>

  <xsl:key name="get-class" match="/st:tree/ontology/class" use="@uri"/>
  <xsl:key name="get-prop" match="/st:tree/ontology/property" use="@uri"/>

  <xsl:template match="/st:tree">
    <html xml:lang="sv">
      <head profile="http://www.w3.org/ns/rdfa/">
        <title><xsl:value-of select="ontology/title | ontology/label"/></title>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <link rel="stylesheet" href="/css/ontology.css" />
      </head>
      <body>
        <div id="main">

        <div class="ontologyInfo" about="{ontology/@uri}">
          <h1><xsl:value-of select="ontology/title | ontology/label"/></h1>
          <xsl:if test="ontology/comment">
{'fraction_non_alphanumeric': 0.19984859954579864, 'fraction_numerical': 0.02498107494322483, 'mean_word_length': 2.8028776978417267, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 2, '>': 44, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 16}, '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': '1695306', 'n_tokens_mistral': 986, 'n_tokens_neox': 891, 'n_words': 111}