# Owl Expression Reference Set

## Purpose

An [762676003 |OWL expression type reference set|](http://snomed.info/id/762676003) associates description logic statements with SNOMED CT concept in the OWL functional syntax.

The SNOMED CT International Release contains content in two reference sets that follow the <mark style="color:blue;">|</mark>OWL expression type reference set<mark style="color:blue;">|</mark> pattern:

* The [733073007 |OWL axiom reference set (foundation metadata concept)|](http://snomed.info/id/733073007), in which the OWL expressions represent axioms that form the logical definition of the concept identified by the referencedComponentId.
* The [762103008 |OWL ontology reference set (foundation metadata concept)|](http://snomed.info/id/762103008), in which the OWL expressions represent essential information about an ontology. This information includes, namespaces, ontology URI, ontology version URI, and import statements. The <mark style="color:blue;">|</mark>OWL ontology reference set (foundation metadata concept)<mark style="color:blue;">|</mark> enables the use of prefixes in the ontology.

## Data Structure

An [762676003 |OWL expression type reference set|](http://snomed.info/id/762676003) is structured as shown in the following table.

<table data-full-width="true"><thead><tr><th width="208.015625">Field</th><th width="94.0859375">Data type</th><th width="585.7492065429688">Purpose</th><th width="89.25390625">Mutable</th><th width="144.0390625">PK*</th></tr></thead><tbody><tr><td>id</td><td>UUID</td><td><p>A 128 bit unsigned Integer, uniquely identifying this reference set member.</p><p>Different versions of a <em>reference set member</em> share the same id but have different effectiveTime. This allows a <em>reference set member</em> to be modified or made inactive (i.e. removed from the active set) at a specified time.</p></td><td><strong>NO</strong></td><td><strong>YES</strong><br>(Full /Snapshot)</td></tr><tr><td>effectiveTime</td><td>Time</td><td><p>The inclusive date or time at which this version of the identified reference set member became the current version.</p><p><strong>Note</strong>: In distribution files the effectiveTime should follow the short ISO date format (<em>YYYYMMDD</em>) and should not include the hours, minutes, seconds or timezone indicator.</p><p>The current version of this reference set member at time <em>T</em> is the version with the most recent effectiveTime prior to or equal to time <em>T</em>.</p></td><td><strong>YES</strong></td><td><p><strong>YES</strong><br>(Full)</p><p>Optional (Snapshot)</p></td></tr><tr><td>active</td><td>Boolean</td><td><p>The state of the identified reference set member as at the specified effectiveTime .</p><p>If active = 1 (true) the reference set member is part of the current version of the set, if active = 0 (false) the reference set member is not part of the current version of the set.</p></td><td><strong>YES</strong></td><td><strong>NO</strong></td></tr><tr><td>moduleId</td><td>SCTID</td><td><p>Identifies the SNOMED CT module that contains this reference set member as at the specified effectiveTime.</p><p>The value must be a subtype of <a href="http://snomed.info/id/900000000000443000">900000000000443000 |Module (core metadata concept)|</a> within the metadata hierarchy.</p></td><td><strong>YES</strong></td><td><strong>NO</strong></td></tr><tr><td>refsetId</td><td>SCTID</td><td><p>Identifies the reference set to which this reference set member belongs.</p><p>In this case, a subtype descendant of: <a href="http://snomed.info/id/762676003">762676003 |OWL expression type reference set (foundation metadata concept)|</a></p></td><td><strong>NO</strong></td><td><strong>NO</strong></td></tr><tr><td>referencedComponentId</td><td>SCTID</td><td><p>A reference to the SNOMED CT component to be included in the reference set.</p><p>The concept to which the OWL expression applies. In the case of the <a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set (foundation metadata concept)|</a>, the axiom contributes to the definition of the identified concept.</p></td><td><strong>NO</strong></td><td><strong>NO</strong></td></tr><tr><td>owlExpression</td><td>String</td><td>The text of OWL expression to attach to the component identified by referencedComponentId.</td><td><strong>YES</strong></td><td><strong>NO</strong></td></tr></tbody></table>

{% hint style="info" %}
PK\* indicates if the attribute is part of the primary key for that file/table.
{% endhint %}

## Metadata

***

The following metadata supports this reference set:

> [900000000000454005 |Foundation metadata concept|](http://snomed.info/id/900000000000454005)\
> [900000000000455006 |Reference set|](http://snomed.info/id/900000000000455006)\
> [762676003 |OWL expression type reference set|](http://snomed.info/id/762676003)\
> [762103008 |OWL ontology reference set|](http://snomed.info/id/762103008)\
> [733073007 |OWL axiom reference set|](http://snomed.info/id/733073007)\
> [900000000000457003 |Reference set attribute|](http://snomed.info/id/900000000000457003)\
> [706999006 |Expression|](http://snomed.info/id/706999006)\
> [762677007 |OWL expression|](http://snomed.info/id/762677007)\
> [900000000000459000 |Attribute type|](http://snomed.info/id/900000000000459000)\
> [900000000000465000 |String|](http://snomed.info/id/900000000000465000)\
> [762678002 |OWL 2 language syntax|](http://snomed.info/id/762678002)

***

## Descriptor Template and Examples

The reference set example tables on this page have been revised as follows to aid clarity and understanding:

* The first four columns which are present in all release files are not shown. The omitted columns (id, effectiveTime, active) are used in the same way in all referenced sets to support identification, versioning and packaging. They do not directly affect the specific features of a particular reference set or reference set type.
* Reference set columns that contain SNOMED CT identifiers are expanded to show details of the concept or description referenced by that identifier. In some cases, the term is shown in the same column using the expression syntax, in other cases an additional column with a name suffix '\_term' has been added. In the standard reference set files only the identifier is present in the column and there is no added column for the term. When using reference sets, the term and other details of the component are looked up from the relevant component release files.

#### Descriptor Template

The table below shows the descriptors that define the structure of the [762676003 | OWL expression type reference set|](http://snomed.info/id/762676003) pattern and examples of the descriptors for specific reference sets that follow this pattern.

**Descriptor templates for OWL expression reference rets**

<table data-full-width="true"><thead><tr><th width="236.71484375">refsetId</th><th width="249.48046875">referencedComponentId</th><th width="204.953125">attributeDescription</th><th width="238.406982421875">attributeType</th><th width="93.2249755859375">attributeOrder</th></tr></thead><tbody><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/762676003">762676003 |OWL expression type reference set|</a></td><td><a href="http://snomed.info/id/449608002">449608002 |Referenced component|</a></td><td><a href="http://snomed.info/id/900000000000461009">900000000000461009 |Concept type component|</a></td><td>0</td></tr><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/762676003">762676003 |OWL expression type reference set|</a></td><td><a href="http://snomed.info/id/762677007">762677007 |OWL expression|</a></td><td><a href="http://snomed.info/id/762678002">762678002 |OWL 2 language syntax|</a></td><td>1</td></tr><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/449608002">449608002 |Referenced component|</a></td><td><a href="http://snomed.info/id/900000000000461009">900000000000461009 |Concept type component|</a></td><td>0</td></tr><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/762677007">762677007 |OWL expression|</a></td><td><a href="http://snomed.info/id/762678002">762678002 |OWL 2 language syntax|</a></td><td>1</td></tr><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/449608002">449608002 |Referenced component|</a></td><td><a href="http://snomed.info/id/900000000000461009">900000000000461009 |Concept type component|</a></td><td>0</td></tr><tr><td><a href="http://snomed.info/id/900000000000456007">900000000000456007 |Reference set descriptor|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/762677007">762677007 |OWL expression|</a></td><td><a href="http://snomed.info/id/762678002">762678002 |OWL 2 language syntax|</a></td><td>1</td></tr></tbody></table>

***

### OWL Ontology Reference Set Example

**OWL ontology reference set example**

<table data-full-width="true"><thead><tr><th width="295.567138671875">moduleId</th><th width="211.06640625">refsetId</th><th width="207.78515625">referencedComponentId</th><th width="519.0938110351562">owlExpression</th></tr></thead><tbody><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(:=&#x3C;<a href="http://snomed.info/id/">http://snomed.info/id/</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(owl:=&#x3C;<a href="http://www.w3.org/2002/07/owl">http://www.w3.org/2002/07/owl#</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(rdf:=&#x3C;<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(xml:=&#x3C;<a href="http://www.w3.org/XML/1998/namespace">http://www.w3.org/XML/1998/namespace</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(xsd:=&#x3C;<a href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema#</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734146004">734146004 |OWL ontology namespace|</a></td><td>Prefix(rdfs:=&#x3C;<a href="http://www.w3.org/2000/01/rdf-schema">http://www.w3.org/2000/01/rdf-schema#</a>>)</td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/762103008">762103008 |OWL ontology reference set|</a></td><td><a href="http://snomed.info/id/734147008">734147008 |OWL ontology header|</a></td><td>Ontology(&#x3C;<a href="http://snomed.info/sct/900000000000207008">http://snomed.info/sct/900000000000207008</a>>)</td></tr></tbody></table>

***

### OWL Axiom Reference Set Example

**OWL axiom reference set example**

<table data-full-width="true"><thead><tr><th width="129.6328125">moduleId</th><th width="124.3515625">refsetId</th><th width="208.109375">referencedComponentId</th><th width="203.26953125">owlExpression</th><th width="568.4000854492188">Explanatory Notes</th></tr></thead><tbody><tr><td><a href="http://snomed.info/id/900000000000207008">900000000000207008 |SNOMED CT core module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/404684003">404684003 |Clinical finding (finding)|</a></td><td>SubClassOf(:404684003 :138875005)</td><td><p>Example of SubClassOf, which is equivalent to an <mark style="color:blue;">|</mark>Is a<mark style="color:blue;">|</mark> relationship between most SNOMED CT concepts.</p><p>A different OWL expression is used to represent <mark style="color:blue;">|</mark>Is a<mark style="color:blue;">|</mark> relationships between attributes. This is shown in the row below.</p><ul><li><a href="http://snomed.info/id/404684003">404684003 | Clinical finding (finding)|</a></li><li><a href="http://snomed.info/id/138875005">138875005 | SNOMED CT Concept (SNOMED RT+CTV3)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/774081006">774081006 |Proper part of (attribute)|</a></td><td>SubObjectPropertyOf(:774081006 :733928003)</td><td><p>Example of SubObjectPropertyOf, which is equivalent to an <mark style="color:blue;">|</mark>Is a<mark style="color:blue;">|</mark> relationship between attributes.</p><ul><li><a href="http://snomed.info/id/774081006">774081006 |Proper part of (attribute)|</a></li><li><a href="http://snomed.info/id/733928003">733928003 |All or part of (attribute)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000207008">900000000000207008 |SNOMED CT core module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/90708001">90708001 |Kidney disease (disorder)|</a></td><td>EquivalentClasses(:90708001 ObjectIntersectionOf(:64572001 ObjectSomeValuesFrom(:609096000 ObjectSomeValuesFrom(:363698007 :64033007))))</td><td><p>Example of EquivalentClasses. which is equivalent to stating that a concept is sufficiently defined by a set of necessary relationships.</p><ul><li><a href="http://snomed.info/id/90708001">90708001 |Kidney disease (disorder)|</a></li><li><a href="http://snomed.info/id/64572001">64572001 |Disease|</a></li><li><a href="http://snomed.info/id/609096000">609096000 |Role group (attribute)|</a></li><li><a href="http://snomed.info/id/363698007">363698007 |Finding site (attribute)|</a></li><li><a href="http://snomed.info/id/64033007">64033007 |Kidney structure (body structure)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000207008">900000000000207008 |SNOMED CT core module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 | OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/126516008">126516008 |Neoplasm of skin of upper limb (disorder)|</a></td><td>EquivalentClasses(:126516008 ObjectIntersectionOf(:64572001 ObjectSomeValuesFrom(:609096000 ObjectIntersectionOf(ObjectSomeValuesFrom(:116676008 :108369006) ObjectSomeValuesFrom(:363698007 :371311000)))))</td><td><p>Example of a role group with a conjunction of two relationships as its value.</p><ul><li><a href="http://snomed.info/id/126516008">126516008 |Neoplasm of skin of upper limb (disorder)|</a></li><li><a href="http://snomed.info/id/64572001">64572001 |Disease|</a></li><li><a href="http://snomed.info/id/609096000">609096000 |Role group (attribute)|</a></li><li><a href="http://snomed.info/id/116676008">116676008 |Associated morphology (attribute)|</a></li><li><a href="http://snomed.info/id/108369006">108369006 |Neoplasm (morphologic abnormality)|</a></li><li><a href="http://snomed.info/id/363698007">363698007 |Finding site (attribute)|</a></li><li><a href="http://snomed.info/id/371311000">371311000 |Skin structure of upper limb (body structure)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/774081006">774081006 |Proper part of (attribute)|</a></td><td>TransitiveObjectProperty(:774081006)</td><td><p>Example of a transitive object property.</p><ul><li><a href="http://snomed.info/id/774081006">774081006 |Proper part of (attribute)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000012004">900000000000012004 |SNOMED CT model component module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/127489000">127489000 |Has active ingredient (attribute)|</a></td><td>SubObjectPropertyOf(ObjectPropertyChain(:127489000 :738774007) :127489000))<br></td><td><p>Example of a property chain.</p><ul><li><a href="http://snomed.info/id/127489000">127489000 |Has active ingredient (attribute)|</a></li><li><a href="http://snomed.info/id/738774007">738774007 |Is modification of (attribute)|</a></li></ul></td></tr><tr><td><a href="http://snomed.info/id/900000000000207008">900000000000207008 |SNOMED CT core module|</a></td><td><a href="http://snomed.info/id/733073007">733073007 |OWL axiom reference set|</a></td><td><a href="http://snomed.info/id/703264005">703264005 |Secondary osteoporosis (disorder)|</a></td><td>SubClassOf(ObjectIntersectionOf(:64859006 ObjectSomeValuesFrom(:609096000 ObjectSomeValuesFrom(:255234002 :387713003)) ObjectSomeValuesFrom(:609096000 ObjectSomeValuesFrom(:363698007 :272673000))) :703264005)</td><td><p>Example of a general concept inclusion (GCI).</p><ul><li><a href="http://snomed.info/id/703264005">703264005 | Secondary osteoporosis (disorder)|</a></li><li><a href="http://snomed.info/id/64859006">64859006 | Osteoporosis (disorder)|</a></li><li><a href="http://snomed.info/id/609096000">609096000 | Role group (attribute)|</a></li><li><a href="http://snomed.info/id/255234002">255234002 | After (attribute)|</a></li><li><a href="http://snomed.info/id/387713003">387713003 | Surgical procedure (procedure)|</a></li><li><a href="http://snomed.info/id/363698007">363698007 | Finding site (attribute)|</a></li><li><a href="http://snomed.info/id/272673000">272673000 | Bone structure (body structure)|</a></li></ul></td></tr></tbody></table>

***

## Related Links

* [SNOMED CT OWL Guide](https://app.gitbook.com/o/h8Z6qGxuQrzM9vbx5bPT/s/UVgNFMSypqSsi48DpFEe/)
* [SNOMED CT Logic Profile Specification](https://app.gitbook.com/o/h8Z6qGxuQrzM9vbx5bPT/s/hRUJsLa2ant5L63pkp1O/)

<a href="https://docs.google.com/forms/d/e/1FAIpQLScTmbZIf0UEQwYDkY27EEWBkaiYkHSbR0_9DmFrMLXoQLyL7Q/viewform?usp=pp_url&#x26;entry.1767247133=Release+File+Specification&#x26;entry.670899847=Owl%20Expression%20Reference%20Set" class="button primary">Provide Feedback</a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.snomed.org/snomed-ct-specifications/snomed-ct-release-file-specification/reference-set-release-file-specification/5.2-reference-set-types/5.2.1-content-reference-sets/5.2.1.9-owl-expression-reference-set.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
