From 7885f30013c029b56248ea1f4bde3407a403a5ae Mon Sep 17 00:00:00 2001 From: Steffen Neumann Date: Thu, 18 Jan 2024 09:48:05 +0100 Subject: [PATCH] Add property examples and fix expected_types for DefinedTerm --- pages/_profiles/DefinedTerm/0.1-DRAFT.html | 43 ++++++++++++++++++---- pages/_useCases/DefinedTerm.md | 2 +- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/pages/_profiles/DefinedTerm/0.1-DRAFT.html b/pages/_profiles/DefinedTerm/0.1-DRAFT.html index b5ea4d73..12065871 100644 --- a/pages/_profiles/DefinedTerm/0.1-DRAFT.html +++ b/pages/_profiles/DefinedTerm/0.1-DRAFT.html @@ -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: '' @@ -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 @@ -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: '' @@ -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 @@ -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 @@ -89,4 +116,4 @@ spec_type: Profile status: revision use_cases_url: /useCases/DefinedTerm ---- \ No newline at end of file +--- diff --git a/pages/_useCases/DefinedTerm.md b/pages/_useCases/DefinedTerm.md index cc26cd0a..a85441ca 100644 --- a/pages/_useCases/DefinedTerm.md +++ b/pages/_useCases/DefinedTerm.md @@ -1,7 +1,7 @@ --- layout: use-case name: DefinedTerm -group: Dataset +group: data active: true redirect_from: - "/useCases/DefinedTerm/"