---
# System prepended metadata

title: '**List annotation cheatsheet**'

---

# **List annotation cheatsheet**

#### Below is a compilation of list annotation examples with brief comments for quick reference

## Simple search

* ### taxonomicName
We can search by an specific genus, or species using @ followed by annotation name or # using the string names order
```
taxonomicName[./@genus='Termitozophilus']
taxonomicName[./#first='Termitozophilus']

taxonomicName[./@species='laetus']
taxonomicName[./#last='laetus']
```
* ### Higher taxa

```
taxonomicName[./@class = 'Insecta']
taxonomicName[./@kingdom = 'Plantae']
```

* ### Specific collectionCode 
```
collectionCode[./#first='NHMB']
```


## Composite search
We can combine different types of annotations to more accurate search

```
> show only taxonomicNames inside nomenclature subSubSection
subSubSection[./@type='nomenclature']/taxonomicName

> looking for specific higher taxa inside a subSubSection
subSubSection[./@type = 'nomenclature']/taxonomicName[./@kingdom = 'Plantae']

> or excluding groups
[./@kingdom != 'Animalia']
```