Skip to content

Commit b5df720

Browse files
authored
fix: ensure yaml examples are valid and conform to format expectations (#2812)
1 parent 60901ca commit b5df720

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

principles/fp-009-users.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ scientific area and does so in a usable and sustainable fashion.
2020
It is important to be able to illustrate usage outside of the immediate circle of ontology developers and stakeholders. Demonstrations of usage MUST be publicly available. Preferred indicators of usage are those that directly demonstrate such, including:
2121

2222
- Use of the target ontology's term IRIs in an external ontology. Indicators of this type MUST include one or more IRIs for a term _within the external ontology_ that uses a term from the target ontology.
23-
23+
2424
- Documentation of requests from multiple users. Indicators of this type MUST link to specific requests in the issue tracker, OR link to an issue tracker search (for example, showing new term requests), OR link to an email thread or other mechanism _if publicly viewable_.
2525

2626
- Publications showing the ontology being used in research by external users. Indicators of this type MUST provide citation details for the publications (link to PubMed or full text) and MUST include a sentence demonstrating the use (preferably taken from the title, abstract, or full text of the cited reference). Note that if citing full text that is behind a paywall, it may be necessary to provide a PDF for the paper.
@@ -42,7 +42,7 @@ Other indicators are currently possible as well:
4242
within some community (mere mention of the existence is not enough
4343
to warrant inclusion).
4444

45-
Note that the ontology can still be listed on the OBO Foundry website while publicising your resource in appropriate channels and searching for users with needs you can meet.
45+
Note that the ontology can still be listed on the OBO Foundry website while publicising your resource in appropriate channels and searching for users with needs you can meet.
4646

4747
## Implementation
4848

@@ -51,58 +51,58 @@ use within your ontology [metadata file](https://github.com/OBOFoundry/OBOFoundr
5151

5252
```yaml
5353
usages:
54-
- user: http://www.informatics.jax.org/disease (link to group)
55-
description: MGI disease model annotations use DO (description of group)
54+
- description: MGI disease model annotations use DO (description of group)
5655
examples:
57-
- url: http://www.informatics.jax.org/disease/DOID:4123 (link to specific example)
58-
description: Human genes and mouse homology associated with nail diseases (description of specific example)
56+
- description: Human genes and mouse homology associated with nail diseases (description of specific example)
57+
url: "http://www.informatics.jax.org/disease/DOID:4123" # link to specific example)
58+
user: "http://www.informatics.jax.org/disease" # link to group
5959
```
6060
61-
You may have multiple examples for each user, and mulitple users under the `usages` tag.
61+
You may have multiple examples for each user, and multiple users under the `usages` tag.
6262

6363
## Examples
6464

6565
Use of PSI-MOD term IRI (in the form of a CURIE) in the PR ontology:
6666
```yaml
67-
- user: http://purl.obolibrary.org/obo/pr
68-
description: Protein Ontology
67+
- description: Protein Ontology
6968
examples:
70-
- url: https://proconsortium.org/app/export/obo/PR:000027653/
71-
description: OBO Format stanza showing use of PSI-MOD term in logical definition
69+
- description: OBO Format stanza showing use of PSI-MOD term in logical definition
70+
url: "https://proconsortium.org/app/export/obo/PR:000027653/"
71+
user: "http://purl.obolibrary.org/obo/pr"
7272
```
7373
Term requests to PR from multiple users:
7474
```yaml
75-
- user: (multiple)
76-
description: Term requests made via the Protein Ontology GitHub tracker
75+
- description: Term requests made via the Protein Ontology GitHub tracker
7776
examples:
78-
- url: https://github.com/PROconsortium/PRoteinOntology/issues?q=is%3Aissue+label%3A%22Term+Request%22
79-
description: List of issues tagged with 'Term Request' to PRO
77+
- description: "List of issues tagged with 'Term Request' to PRO"
78+
url: "https://github.com/PROconsortium/PRoteinOntology/issues?q=is%3Aissue+label%3A%22Term+Request%22"
79+
user: (multiple)
8080
```
8181
Publication showing the Disease Ontology being used in research by external users
8282
```yaml
83-
- user: https://pubmed.ncbi.nlm.nih.gov/36860337/
84-
description: Machine learning-based prediction of candidate gene biomarkers correlated with immune infiltration in patients with idiopathic pulmonary fibrosis
83+
- description: Machine learning-based prediction of candidate gene biomarkers correlated with immune infiltration in patients with idiopathic pulmonary fibrosis
8584
examples:
86-
- url: https://pubmed.ncbi.nlm.nih.gov/36860337/
87-
description: In abstract, "Functional annotation, pathway enrichment, Disease Ontology and gene set enrichment analyses revealed..."
85+
- description: 'In abstract, "Functional annotation, pathway enrichment, Disease Ontology and gene set enrichment analyses revealed..."'
86+
url: "https://pubmed.ncbi.nlm.nih.gov/36860337/"
87+
user: "https://pubmed.ncbi.nlm.nih.gov/36860337/"
8888
```
8989
Use of terms from GO for annotation:
9090
```yaml
91-
- user: https://www.uniprot.org
92-
description: UniProt
91+
- description: UniProt
9392
examples:
94-
- url: https://www.uniprot.org/uniprotkb/Q15796/entry#function
95-
description: Functional annotation using GO (see subsection entitled "GO annotations")
93+
- description: Functional annotation using GO (see subsection entitled "GO annotations")
94+
url: "https://www.uniprot.org/uniprotkb/Q15796/entry#function"
95+
user: "https://www.uniprot.org"
9696
```
9797
OBI terms imported into external ontologies
9898
```yaml
99-
- user: (multiple)
100-
description: Ontologies using OBI terms
99+
- description: Ontologies using OBI terms
101100
examples:
102-
- url: http://dashboard.obofoundry.org/dashboard/obi/dashboard.html
103-
description: List of ontologies using at least one OBI term (See section entitled "Info: Which ontologies use it?")
104-
- url: https://ontobee.org/ontology/OBI?iri=http://purl.obolibrary.org/obo/OBI_0000691
105-
description: List of ontologies using the term 'ABI 377 automated sequencer' (See section entitled "Ontologies that use the Class")
101+
- description: 'List of ontologies using at least one OBI term (See section entitled "Info: Which ontologies use it?")'
102+
url: "http://dashboard.obofoundry.org/dashboard/obi/dashboard.html"
103+
- description: 'List of ontologies using the term "ABI 377 automated sequencer" (See section entitled "Ontologies that use the Class")'
104+
url: "https://ontobee.org/ontology/OBI?iri=http://purl.obolibrary.org/obo/OBI_0000691"
105+
user: (multiple)
106106
```
107107

108108
## Counter-Examples

0 commit comments

Comments
 (0)