Display-Lab / knowledge-base

Precision Feedback Knowledge Base
https://display-lab.github.io/knowledge-base/
Creative Commons Attribution Share Alike 4.0 International
1 stars 1 forks source link

create CEDAR message templates for pilot with graph-readable JSON #188

Open zachll opened 7 months ago

zachll commented 7 months ago

Problem: When CEDAR-based message templates are updated automatically as metadata items, data from newer fields are unreadable by rdf lib.

Proposed solution: Recreate/repopulate message templates from the existing CEDAR template completely on an as needed basis

Next steps:

zachll commented 7 months ago

Input from #187

Example tuples generated by rdflib for a message_template: https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://schema.org/nameIn Top 25% https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.org/pav/lastUpdatedOn2023-10-31T15:28:11-07:00 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc https://schema.metadatacenter.org/properties/26450fa6-bb2c-4126-8229-79efda7f863aIn Top 25% http://purl.obolibrary.org/obo/PSDO_0000117 http://www.w3.org/2000/01/rdf-schema#labelpositive performance gap set http://purl.obolibrary.org/obo/PSDO_0000045 http://www.w3.org/2000/01/rdf-schema#labelsocial comparator element https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.obolibrary.org/obo/IAO_0000136http://purl.obolibrary.org/obo/PSDO_0000128 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.org/pav/createdOn2023-06-28T12:28:07-07:00 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237b chttp://purl.obolibrary.org/obo/IAO_0000136http://purl.obolibrary.org/obo/PSDO_0000117 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://schema.org/descriptionspecification for a possible precision feedback message https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.obolibrary.org/obo/IAO_0000136 http://purl.obolibrary.org/obo/PSDO_0000045 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://schema.org/isBasedOn https://repo.metadatacenter.org/templates/707d3573-8ac9-4e2c-b53b-2026a795308c https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.org/pav/createdBy https://metadatacenter.org/users/da882240-ad9e-42ea-a48b-215e54161ad3 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://purl.org/pav/derivedFrom https://repo.metadatacenter.org/template-instances/b7685a3f-5b7b-4291-b194-92e410c99e8d http://purl.obolibrary.org/obo/PSDO_0000128 http://www.w3.org/2000/01/rdf-schema#labelpeer 75th percentile benchmark https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://open-services.net/ns/core#modifiedBy https://metadatacenter.org/users/da882240-ad9e-42ea-a48b-215e54161ad3 https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc https://schema.metadatacenter.org/properties/6b9dfdf9-9c8a-4d85-8684-a24bee4b85a8 You are in the top 25% of providers for the measure [measure name]. Your performance was [recipient performance level], above the top 25% peer benchmark, which was [comparator performance level] this month. https://repo.metadatacenter.org/template-instances/96a74b9d-8781-4b04-bf00-d999830237bc http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://data.bioontology.org/ontologies/PSDO/classes/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FPSDO_0000002

yidanedencao commented 7 months ago

The 4 message templates have been repopulated - they can be found in the Pilot Message Templates folder in CEDAR.