Skip to content

Commit

Permalink
Update DOSDP template and SPARQL qc documentation (#6545)
Browse files Browse the repository at this point in the history
Co-authored-by: nicolevasilevsky <[email protected]>
  • Loading branch information
github-actions[bot] and nicolevasilevsky authored Aug 11, 2023
1 parent 2ea2ece commit c237afe
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions docs/editors-guide/quality-control-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,29 @@ ORDER BY ?entity
```

### qc-obsoletion-reason.sparql

```
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX IAO: <http://purl.obolibrary.org/obo/IAO_>
PREFIX OMO: <http://purl.obolibrary.org/obo/OMO_>
PREFIX MONDO: <http://purl.obolibrary.org/obo/MONDO_>
# description: Checks if a proper obsolesence reason was documented for this class
SELECT ?entity ?property ?value WHERE {
VALUES ?property { IAO:0000231 }
?entity ?property ?value .
FILTER(!isIRI(?value))
FILTER(?value!=OMO:00001000 ||
?value!=IAO:0000423 ||
?value!=IAO:0000229 ||
?value!=MONDO:TermsMerged )
FILTER (isIRI(?entity) && STRSTARTS(str(?entity), "http://purl.obolibrary.org/obo/MONDO_"))
}
```

### qc-owldef-self-reference.sparql

```
Expand Down
2 changes: 1 addition & 1 deletion src/patterns/pattern-merged.owl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
xmlns:terms="http://purl.org/dc/terms/"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/mondo/mondo-pattern.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-07/mondo-pattern.owl"/>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-10/mondo-pattern.owl"/>
</owl:Ontology>


Expand Down
2 changes: 1 addition & 1 deletion src/patterns/pattern-with-imports.owl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
xmlns:terms="http://purl.org/dc/terms/"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/mondo/mondo-pattern.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-07/mondo-pattern.owl"/>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-10/mondo-pattern.owl"/>
</owl:Ontology>


Expand Down
2 changes: 1 addition & 1 deletion src/patterns/pattern.owl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
xmlns:terms="http://purl.org/dc/terms/"
xmlns:oboInOwl="http://www.geneontology.org/formats/oboInOwl#">
<owl:Ontology rdf:about="http://purl.obolibrary.org/obo/mondo/patterns/pattern.owl">
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-07/mondo-pattern.owl"/>
<owl:versionIRI rdf:resource="http://purl.obolibrary.org/obo/mondo/releases/2023-08-10/mondo-pattern.owl"/>
</owl:Ontology>


Expand Down

0 comments on commit c237afe

Please sign in to comment.