Skip to content

Commit 237f67f

Browse files
authored
Wrong page.
1 parent 3e47398 commit 237f67f

File tree

1 file changed

+0
-80
lines changed

1 file changed

+0
-80
lines changed

OntologyWorkshop/extending.md

-80
Original file line numberDiff line numberDiff line change
@@ -123,86 +123,6 @@ original OWL class snippet:
123123

124124
1. How would you use an OWL Axiom to define a nanomaterial descriptor? <button onclick="toggleAnswer('q1')">Answer</button><span id="q1" style="visibility: hidden">You can define an `owl:equivalentClass` that the thing is a descriptor, but with the restriction that it is only computed for things that are nanomaterials, rather than all chemicals.</span>
125125

126-
## Adding new OWL Classes
127-
128-
A recent paper [[0](https://github.com/NanoSolveIT/10.1021-acsnano.8b07562)] has a nice
129-
supplementary information section with toxicology data extracted from literature. The NanoSolveIT
130-
project is currently making this data available to modellers.
131-
As part of that process, the content needs to be annotated to with ontology terms, for example
132-
for the nanomaterials that are studied.
133-
134-
Because the NanoParticle Ontology has had a limited set of nanoparticles defined, we routinely
135-
have to add nanomaterials to the ontology. That is needed to have a unique ontology identifiers,
136-
allowing us to specifically specify what we are talking about.
137-
138-
But for this paper, the following nanomaterials are still missing:
139-
140-
* Cr nanoparticle
141-
* Co nanoparticle
142-
* Bi nanoparticle
143-
* Mo nanoparticle
144-
* Co3O4 nanoparticle
145-
* CdO nanoparticle
146-
* MnO nanoparticle
147-
148-
Of course, first it must be checked if the NanoParticle Ontology and eNanoMapper Ontology indeed do
149-
not contain these materials (check
150-
[here]() and
151-
[here]() as described in [Exercise 1](browsing.md)), and if they do not, they need to be added.
152-
153-
### Tasks
154-
155-
The goal of this part of the workshop is to develop an OWL Class definition for one of the missing
156-
items (or, if you prefer, for a nanomaterial you worked on yourself and that is missing).
157-
158-
* Step 1: copy/paste the OWL Class definition (see []()):
159-
160-
```xml
161-
<owl:Class rdf:about="http://purl.enanomapper.org/onto/ENM_9000245">
162-
<rdfs:subClassOf rdf:resource="http://purl.bioontology.org/ontology/npo#NPO_1384"/>
163-
<npo-ext:code rdf:datatype="http://www.w3.org/2001/XMLSchema#string">titanium nanoparticle</npo-ext:code>
164-
<rdfs:label xml:lang="en">titanium nanoparticle</rdfs:label>
165-
<owl:equivalentClass>
166-
<owl:Class>
167-
<owl:intersectionOf rdf:parseType="Collection">
168-
<rdf:Description rdf:about="http://purl.bioontology.org/ontology/npo#NPO_707"/>
169-
<owl:Restriction>
170-
<owl:onProperty rdf:resource="http://purl.bioontology.org/ontology/npo#has_component_part"/>
171-
<owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/CHEBI_33341"/>
172-
</owl:Restriction>
173-
</owl:intersectionOf>
174-
</owl:Class>
175-
</owl:equivalentClass>
176-
<synonym rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Ti nanoparticle</synonym>
177-
</owl:Class>
178-
```
179-
180-
* Step 2: update the IRI and replace `ENM_9000245` with `ENM_9000xxx` (the ontology code will be assigned
181-
then your contribution gets incorporated into the released ontology)
182-
* Step 3: replace the `npo-ext:code`, `rdfs:label`, and `synonym`
183-
* Step 4: look up in the eNanoMapper ontology which more general ontology class is suitable for your
184-
materials, e.g. the IRI for
185-
`metal nanoparticle` or `metal oxide nanoparticle` and update the `rdf:subClassOf` line
186-
* Step 5: look up in the ChEBI ontology which term it has for the chemical that is part of this particle
187-
and update the `owl:someValuesFrom` line in the code
188-
189-
When done, explain your solution with your neighbor (peer review) and consider submitting this term
190-
to the eNanoMapper ontology. For this, and this is optional but very much appreciated (and
191-
please do ask for help from the Workshop assistants), do:
192-
193-
* Step 6: Visit https://github.com/ and log in
194-
* Step 7: Go to https://github.com/enanomapper/ontologies (and scan the README text)
195-
* Step 8: Got to https://github.com/enanomapper/ontologies/blob/master/internal/npo-ext.owl
196-
* Step 9: Look for the `Edit this file` link and click it
197-
* Step 10: An editor will open, and you can add your contribution somewhere to this file.
198-
* Step 11: When done, prepare the patch by scrolling to the bottom and adding a description of your work. The section
199-
to look for should look like:
200-
201-
![](../SubmitPatch.png)
202-
203-
* Step 12: After you submitted the patch, make a Pull Request
204-
205-
206126
---
207127

208128
[prev](scholia.md) | [toc](./README.md) | [next](nanomaterial.md)

0 commit comments

Comments
 (0)