<commit_before># Sparql queries go here


queries:
    -   name: "Name of Query"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Writer .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

        name: "Athletes"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Athlete .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

        name: "Politicians"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Politician .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

        name: "Musicians"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:MusicalArtist .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

        name: "Countries"
                description:
                discovery_map:
                    - name: "country"
                namespaces:
                    - ont: "http://dbpedia.org/ontology/"
                query: |
                    SELECT * WHERE {
                        ?Country a dbpedia-owl:Country.
                        ?Country a yago:Country108544813.
                        ?Country dbpedia-owl:foundingDate ?date.
                        FILTER(
                            ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                            ( regex(str(?date), "[0-9]{4}-12-05") )
                        )
                    }
<commit_msg>yaml cleanup<commit_after># Sparql queries go here


queries:
    -   name: "Name of Query"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            PREFIX ont: <http://dbpedia.org/ontology/>
            PREFIX prop: <http://dbpedia.org/prop/>
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Writer .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50
    -   name: "Athletes"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            PREFIX ont: <http://dbpedia.org/ontology/>
            PREFIX prop: <http://dbpedia.org/prop/>
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Athlete .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

    -   name: "Politicians"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            PREFIX ont: <http://dbpedia.org/ontology/>
            PREFIX prop: <http://dbpedia.org/prop/>
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:Politician .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

    -   name: "Musicians"
        description:
        discovery_map:
            - name: "name"
            - creator: "person"
            - about: "person"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            PREFIX ont: <http://dbpedia.org/ontology/>
            PREFIX prop: <http://dbpedia.org/prop/>
            SELECT DISTINCT ?person ?date  WHERE {
              ?person ont:birthDate ?date .
              ?person a dbpedia-owl:MusicalArtist .
              ?person prop:name ?name
              FILTER(
                ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                ( ?date <= "2014-12-02"^^xsd:dateTime ) &&
                ( regex(str(?date), "[0-9]{4}-12-02") )
              )
            }
            LIMIT 50

    -   name: "Countries"
        description:
        discovery_map:
            - name: "country"
        namespaces:
            - ont: "http://dbpedia.org/ontology/"
        query: |
            SELECT * WHERE {
                ?Country a dbpedia-owl:Country.
                ?Country a yago:Country108544813.
                ?Country dbpedia-owl:foundingDate ?date.
                FILTER(
                    ( ( datatype(?date) = xsd:date ) || ( datatype(?date) = xsd:dateTime ) ) &&
                    ( regex(str(?date), "[0-9]{4}-12-05") )
                )
            }

{'fraction_non_alphanumeric': 0.13631522896698617, 'fraction_numerical': 0.022364217252396165, 'mean_word_length': 1.1783125543635837, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 11, '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': '1291419', 'n_tokens_mistral': 2397, 'n_tokens_neox': 2143, 'n_words': 409}