Skip to content

Commit

Permalink
Add property examples and fix expected_types for DefinedTerm
Browse files Browse the repository at this point in the history
  • Loading branch information
sneumann committed Jan 18, 2024
1 parent 0f56835 commit 7885f30
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 9 deletions.
43 changes: 35 additions & 8 deletions pages/_profiles/DefinedTerm/0.1-DRAFT.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,15 @@
cardinality: ONE
controlled_vocab: ''
description: A [[DefinedTermSet]] that contains this term.
example: ''
example: |-
{
"@type": "DefinedTerm",
"inDefinedTermSet": "http://purl.obolibrary.org/obo/ncbitaxon.owl",
"inDefinedTermSet": "http://purl.obolibrary.org/obo/go.owl"
}
expected_types:
- Text
- DefinedTermSet
- URL
marginality: Minimum
property: inDefinedTermSet
type: ''
Expand All @@ -30,7 +36,11 @@
cardinality: ONE
controlled_vocab: ''
description: A code that identifies this [[DefinedTerm]] within a [[DefinedTermSet]]
example: ''
example: |-
{
"@type": "DefinedTerm",
"termCode": "GO:0005515"
}
expected_types:
- Text
marginality: Recommended
Expand All @@ -43,8 +53,17 @@
description: URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official
website.
example: ''
expected_types: []
example: |-
{
"@type": "DefinedTerm",
"sameAs": "http://purl.obolibrary.org/obo/GO_0005515",
"sameAs": "http://purl.bioontology.org/ontology/GO/GO:0005515",
"sameAs": "https://identifiers.org/GO:0005515",
"sameAs": "https://www.ebi.ac.uk/ols4/ontologies/go/terms?obo_id=GO:0005515",
"sameAs": "https://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0005515"
}
expected_types:
- URL
marginality: Recommended
property: sameAs
type: ''
Expand All @@ -53,7 +72,11 @@
cardinality: ONE
controlled_vocab: ''
description: The name of the item.
example: ''
example: |-
{
"@type": "DefinedTerm",
"name": "protein binding"
}
expected_types:
- Text
marginality: Recommended
Expand All @@ -64,7 +87,11 @@
cardinality: ONE
controlled_vocab: ''
description: A description of the item.
example: ''
example: |-
{
"@type": "DefinedTerm",
"description": "Binding to a protein."
}
expected_types:
- Text
marginality: Optional
Expand All @@ -89,4 +116,4 @@
spec_type: Profile
status: revision
use_cases_url: /useCases/DefinedTerm
---
---
2 changes: 1 addition & 1 deletion pages/_useCases/DefinedTerm.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: use-case
name: DefinedTerm
group: Dataset
group: data
active: true
redirect_from:
- "/useCases/DefinedTerm/"
Expand Down

0 comments on commit 7885f30

Please sign in to comment.