From 4d7c31b1020b046bc46443767810f56eba822eda Mon Sep 17 00:00:00 2001 From: Bohdan Odintsov Date: Fri, 21 Feb 2025 17:44:58 +0200 Subject: [PATCH] Refactored link and link text as separate variables --- trove/vocab/osfmap.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/trove/vocab/osfmap.py b/trove/vocab/osfmap.py index 1d3c7902c..9fd814301 100644 --- a/trove/vocab/osfmap.py +++ b/trove/vocab/osfmap.py @@ -145,7 +145,12 @@ literal('affiliation', language='en'), }, DCTERMS.description: { - literal('Please select an institution to apply to your search. Only OSF Institutions member affiliations are discoverable. Learn more about OSF Institutions.', language='en') + literal( + 'Please select an institution to apply to your search. Only OSF Institutions member affiliations are discoverable.', + language='en') + }, + OSFMAP.link_text: { + literal('Learn more about OSF Institutions.', language='en') }, OSFMAP.link: { literal('https://www.cos.io/products/osf-institutions', language='en') @@ -616,6 +621,12 @@ literal('shortFormLabel', language='en'), }, }, + OSFMAP.link_text: { + RDF.type: {RDF.Property}, + JSONAPI_MEMBERNAME: { + literal('link_text', language='en'), + }, + }, OSFMAP.link: { RDF.type: {RDF.Property}, JSONAPI_MEMBERNAME: {