Skip to content

Commit

Permalink
Enhanced heatmap functionality (#798)
Browse files Browse the repository at this point in the history
* Enhanced heatmap functionality

* format

* format

* ruff

* fixed sparql queries

* poetry

* Fix for gilda/nltk/punkt. Fixes #802

See nltk/nltk#3293
  • Loading branch information
cmungall committed Aug 29, 2024
1 parent ecfa132 commit d58eede
Show file tree
Hide file tree
Showing 33 changed files with 6,799 additions and 1,505 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: Get Gilda resources
run: |
poetry run python -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')"
poetry run python -c "import nltk; nltk.download('punkt_tab'); nltk.download('stopwords')"
poetry run python -m adeft.download
#----------------------------------------------
Expand Down
35 changes: 28 additions & 7 deletions docs/datamodels/obograph/Axiom.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@


# Class: Axiom
_A generic grouping for any OWL axiom or group of axioms that is not captured by existing constructs in this standard.
_


_A generic grouping for any OWL axiom or group of axioms that is not captured by existing constructs in this standard._

__




Expand All @@ -11,17 +17,32 @@ URI: [owl:Axiom](http://www.w3.org/2002/07/owl#Axiom)



```{mermaid}



```mermaid
classDiagram
class Axiom
click Axiom href "../Axiom"
Axiom <|-- DomainRangeAxiom
click DomainRangeAxiom href "../DomainRangeAxiom"
Axiom <|-- EquivalentNodesSet
click EquivalentNodesSet href "../EquivalentNodesSet"
Axiom <|-- LogicalDefinitionAxiom
click LogicalDefinitionAxiom href "../LogicalDefinitionAxiom"
Axiom <|-- DisjointClassExpressionsAxiom
click DisjointClassExpressionsAxiom href "../DisjointClassExpressionsAxiom"
Axiom <|-- PropertyChainAxiom
click PropertyChainAxiom href "../PropertyChainAxiom"
Axiom : meta
Axiom ..> Meta : meta
Axiom --> "0..1" Meta : meta
click Meta href "../Meta"
```
Expand All @@ -35,6 +56,7 @@ URI: [owl:Axiom](http://www.w3.org/2002/07/owl#Axiom)
* [DomainRangeAxiom](DomainRangeAxiom.md)
* [EquivalentNodesSet](EquivalentNodesSet.md)
* [LogicalDefinitionAxiom](LogicalDefinitionAxiom.md)
* [DisjointClassExpressionsAxiom](DisjointClassExpressionsAxiom.md)
* [PropertyChainAxiom](PropertyChainAxiom.md)


Expand Down Expand Up @@ -69,7 +91,6 @@ URI: [owl:Axiom](http://www.w3.org/2002/07/owl#Axiom)




## Mappings

| Mapping Type | Mapped Value |
Expand All @@ -81,6 +102,8 @@ URI: [owl:Axiom](http://www.w3.org/2002/07/owl#Axiom)





## LinkML Source

<!-- TODO: investigate https://stackoverflow.com/questions/37606292/how-to-create-tabbed-code-blocks-in-mkdocs-or-sphinx -->
Expand All @@ -95,7 +118,6 @@ description: 'A generic grouping for any OWL axiom or group of axioms that is no
'
from_schema: https://github.com/geneontology/obographs
rank: 1000
abstract: true
slots:
- meta
Expand All @@ -114,7 +136,6 @@ description: 'A generic grouping for any OWL axiom or group of axioms that is no
'
from_schema: https://github.com/geneontology/obographs
rank: 1000
abstract: true
attributes:
meta:
Expand Down
28 changes: 21 additions & 7 deletions docs/datamodels/obograph/BasicPropertyValue.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,38 @@


# Class: BasicPropertyValue


_A property value that represents an assertion about an entity that is not a definition, synonym, or xref_





URI: [obographs:BasicPropertyValue](https://github.com/geneontology/obographs/BasicPropertyValue)



```{mermaid}



```mermaid
classDiagram
class BasicPropertyValue
click BasicPropertyValue href "../BasicPropertyValue"
PropertyValue <|-- BasicPropertyValue
click PropertyValue href "../PropertyValue"
BasicPropertyValue : lang
BasicPropertyValue : meta
BasicPropertyValue ..> Meta : meta
BasicPropertyValue --> "0..1" Meta : meta
click Meta href "../Meta"
BasicPropertyValue : pred
Expand Down Expand Up @@ -46,7 +61,7 @@ URI: [obographs:BasicPropertyValue](https://github.com/geneontology/obographs/Ba
| --- | --- | --- | --- |
| [pred](pred.md) | 0..1 <br/> [String](String.md) | the predicate of an edge | [PropertyValue](PropertyValue.md) |
| [val](val.md) | 0..1 <br/> [String](String.md) | the value of a property | [PropertyValue](PropertyValue.md) |
| [xrefs](xrefs.md) | 0..* <br/> [XrefString](XrefString.md) | A list of cross references to other entities represented in other ontologies,... | [PropertyValue](PropertyValue.md) |
| [xrefs](xrefs.md) | * <br/> [XrefString](XrefString.md) | A list of cross references to other entities represented in other ontologies,... | [PropertyValue](PropertyValue.md) |
| [meta](meta.md) | 0..1 <br/> [Meta](Meta.md) | A collection of metadata about either an ontology (graph), an entity, or an a... | [PropertyValue](PropertyValue.md) |
| [valType](valType.md) | 0..1 <br/> [String](String.md) | the datatype of a property value | [PropertyValue](PropertyValue.md) |
| [lang](lang.md) | 0..1 <br/> [String](String.md) | the language of a property value | [PropertyValue](PropertyValue.md) |
Expand Down Expand Up @@ -82,7 +97,6 @@ URI: [obographs:BasicPropertyValue](https://github.com/geneontology/obographs/Ba




## Mappings

| Mapping Type | Mapped Value |
Expand All @@ -94,6 +108,8 @@ URI: [obographs:BasicPropertyValue](https://github.com/geneontology/obographs/Ba





## LinkML Source

<!-- TODO: investigate https://stackoverflow.com/questions/37606292/how-to-create-tabbed-code-blocks-in-mkdocs-or-sphinx -->
Expand All @@ -106,7 +122,6 @@ name: BasicPropertyValue
description: A property value that represents an assertion about an entity that is
not a definition, synonym, or xref
from_schema: https://github.com/geneontology/obographs
rank: 1000
is_a: PropertyValue

```
Expand All @@ -120,7 +135,6 @@ name: BasicPropertyValue
description: A property value that represents an assertion about an entity that is
not a definition, synonym, or xref
from_schema: https://github.com/geneontology/obographs
rank: 1000
is_a: PropertyValue
attributes:
pred:
Expand Down Expand Up @@ -161,13 +175,13 @@ attributes:
close_mappings:
- rdfs:seeAlso
rank: 1000
multivalued: true
alias: xrefs
owner: BasicPropertyValue
domain_of:
- Meta
- PropertyValue
range: XrefString
multivalued: true
meta:
name: meta
description: A collection of metadata about either an ontology (graph), an entity,
Expand Down
28 changes: 21 additions & 7 deletions docs/datamodels/obograph/DefinitionPropertyValue.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,38 @@


# Class: DefinitionPropertyValue


_A property value that represents an assertion about the textual definition of an entity_





URI: [obographs:DefinitionPropertyValue](https://github.com/geneontology/obographs/DefinitionPropertyValue)



```{mermaid}



```mermaid
classDiagram
class DefinitionPropertyValue
click DefinitionPropertyValue href "../DefinitionPropertyValue"
PropertyValue <|-- DefinitionPropertyValue
click PropertyValue href "../PropertyValue"
DefinitionPropertyValue : lang
DefinitionPropertyValue : meta
DefinitionPropertyValue ..> Meta : meta
DefinitionPropertyValue --> "0..1" Meta : meta
click Meta href "../Meta"
DefinitionPropertyValue : pred
Expand Down Expand Up @@ -46,7 +61,7 @@ URI: [obographs:DefinitionPropertyValue](https://github.com/geneontology/obograp
| --- | --- | --- | --- |
| [pred](pred.md) | 0..1 <br/> [String](String.md) | the predicate of an edge | [PropertyValue](PropertyValue.md) |
| [val](val.md) | 0..1 <br/> [String](String.md) | The textual string representing the definition | [PropertyValue](PropertyValue.md) |
| [xrefs](xrefs.md) | 0..* <br/> [XrefString](XrefString.md) | A list of identifiers that support the definition | [PropertyValue](PropertyValue.md) |
| [xrefs](xrefs.md) | * <br/> [XrefString](XrefString.md) | A list of identifiers that support the definition | [PropertyValue](PropertyValue.md) |
| [meta](meta.md) | 0..1 <br/> [Meta](Meta.md) | A collection of metadata about either an ontology (graph), an entity, or an a... | [PropertyValue](PropertyValue.md) |
| [valType](valType.md) | 0..1 <br/> [String](String.md) | the datatype of a property value | [PropertyValue](PropertyValue.md) |
| [lang](lang.md) | 0..1 <br/> [String](String.md) | the language of a property value | [PropertyValue](PropertyValue.md) |
Expand Down Expand Up @@ -82,7 +97,6 @@ URI: [obographs:DefinitionPropertyValue](https://github.com/geneontology/obograp




## Mappings

| Mapping Type | Mapped Value |
Expand All @@ -94,6 +108,8 @@ URI: [obographs:DefinitionPropertyValue](https://github.com/geneontology/obograp





## LinkML Source

<!-- TODO: investigate https://stackoverflow.com/questions/37606292/how-to-create-tabbed-code-blocks-in-mkdocs-or-sphinx -->
Expand All @@ -106,7 +122,6 @@ name: DefinitionPropertyValue
description: A property value that represents an assertion about the textual definition
of an entity
from_schema: https://github.com/geneontology/obographs
rank: 1000
is_a: PropertyValue
slot_usage:
val:
Expand Down Expand Up @@ -138,7 +153,6 @@ name: DefinitionPropertyValue
description: A property value that represents an assertion about the textual definition
of an entity
from_schema: https://github.com/geneontology/obographs
rank: 1000
is_a: PropertyValue
slot_usage:
val:
Expand Down Expand Up @@ -194,14 +208,14 @@ attributes:
a contributing role in the definition.
from_schema: https://github.com/geneontology/obographs
rank: 1000
multivalued: true
alias: xrefs
owner: DefinitionPropertyValue
domain_of:
- Meta
- PropertyValue
role: supporting identifiers
range: XrefString
multivalued: true
meta:
name: meta
description: A collection of metadata about either an ontology (graph), an entity,
Expand Down
Loading

0 comments on commit d58eede

Please sign in to comment.