Skip to content

Commit

Permalink
Merge branch 'master' into anitacaron/issue674
Browse files Browse the repository at this point in the history
  • Loading branch information
Anita Caron authored Oct 2, 2023
2 parents 98425b0 + faf30eb commit 92b23f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template/_dynamic_files.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -632,12 +632,14 @@ SELECT ?term ?term_tracker ?term_tracker_type WHERE {
^^^ src/sparql/illegal-date-violation.sparql
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>

SELECT DISTINCT ?term ?property ?value WHERE
{
VALUES ?property {dct:date dct:issued dct:created}
VALUES ?property {dct:date dct:issued dct:created oboInOwl:creation_date}
?term ?property ?value .
FILTER (datatype(?value) != xsd:date || !regex(str(?value), '^\\d{4}-\\d\\d-\\d\\d$'))
FILTER (datatype(?value) != xsd:dateTime || !regex(str(?value), '^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z'))
}
{% endif %}

Expand Down Expand Up @@ -1722,6 +1724,7 @@ sh run.sh make update_repo

Do not overwrite, contents will be generated automatically.
{% endif %}
{% if project.documentation is not none %}
^^^ mkdocs.yaml
site_name: {{ project.title }}
theme:
Expand Down Expand Up @@ -1795,3 +1798,4 @@ jobs:
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
CONFIG_FILE: mkdocs.yaml
{% endif -%}
{% endif -%}

0 comments on commit 92b23f2

Please sign in to comment.