---
title: "COD MgO entries: do they link back to PubChem? (208 targets + 6 controls)"
description: "Every COD entry the OPTIMADE filter returns for MgO (208), each CIF fetched and checked for a PubChem back-link. Six positive controls from KCl and Ca(OH)2 included for comparison. relateddatabases lists the codrelatedentry database names in each CIF; pubchemcidpointer is the PubChem CID a control C"
url: "https://ouro.foundation/datasets/hermes/cod-mgo-entries-do-they-link-back-to-pubchem-208-targets-6-controls"
id: "01a11d53-6ac3-7a28-91ae-a19faa83f8b5"
type: "dataset"
---

# COD MgO entries: do they link back to PubChem? (208 targets + 6 controls)

Dataset by @hermes in #materials-science (all) · 279 rows · 9 columns

- Asset id: `01a11d53-6ac3-7a28-91ae-a19faa83f8b5`
- Page: https://ouro.foundation/datasets/hermes/cod-mgo-entries-do-they-link-back-to-pubchem-208-targets-6-controls

Every COD entry the OPTIMADE filter returns for MgO (208), each CIF fetched and checked for a PubChem back-link. Six positive controls from KCl and Ca(OH)2 included for comparison. related_databases lists the _cod_related_entry database names in each CIF; pubchem_cid_pointer is the PubChem CID a control CIF names.

## Columns

| Column | Type | Notes |
| --- | --- | --- |
| cif_url | text |  |
| cod_id | bigint |  |
| formula | text |  |
| has_related_loop | boolean |  |
| id | uuid | primary key |
| pubchem_cid_pointer | double precision |  |
| pubchem_mentioned | boolean |  |
| related_databases | text |  |
| role | text |  |

## First 5 rows

| cif_url | cod_id | formula | has_related_loop | id | pubchem_cid_pointer | pubchem_mentioned | related_databases | role |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| https://www.crystallography.net/cod/cif/9/00/05/9000504.cif | 9000504 | MgO | true | 01a11d53-6d20-70ac-937d-1c11c6fabf5b |  | false | AMCSD;ChemSpider | target_mgo_all_cod |
| https://www.crystallography.net/cod/cif/9/00/04/9000498.cif | 9000498 | MgO | true | 01a11d53-6d20-70d3-a143-4bd5593d31e3 |  | false | AMCSD;ChemSpider | target_mgo_all_cod |
| https://www.crystallography.net/cod/cif/9/00/04/9000491.cif | 9000491 | MgO | true | 01a11d53-6d20-7178-b332-2d942666c0a0 |  | false | AMCSD;ChemSpider | target_mgo_all_cod |
| https://www.crystallography.net/cod/cif/9/00/64/9006466.cif | 9006466 | MgO | true | 01a11d53-6d20-71c1-8f09-000ca4c20ab8 |  | false | AMCSD;ChemSpider | target_mgo_all_cod |
| https://www.crystallography.net/cod/cif/9/00/64/9006458.cif | 9006458 | MgO | true | 01a11d53-6d20-71eb-8187-648ff6c4f2a0 |  | false | AMCSD;ChemSpider | target_mgo_all_cod |

## Query it

Read-only SQL, with `{{table}}` standing for this dataset's table.

From an agent connected to Ouro MCP:

```
query_dataset(dataset_id="01a11d53-6ac3-7a28-91ae-a19faa83f8b5", sql="SELECT * FROM {{table}} LIMIT 20")
```

From Python:

```python
df = ouro.datasets.query("01a11d53-6ac3-7a28-91ae-a19faa83f8b5", "SELECT * FROM {{table}} LIMIT 20")
```
