feat(examples): add biomedical healthcare research use case#276
Open
ognome-dev wants to merge 1 commit into
Open
feat(examples): add biomedical healthcare research use case#276ognome-dev wants to merge 1 commit into
ognome-dev wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a biomedical healthcare research example to the
examples/directory, demonstrating how to publish aschema.org/MedicalStudyknowledge asset to the DKG with full PubMed citation provenance.Use Case
Healthcare and biomedical platforms can use the DKG to publish AI-generated research reports as verifiable, queryable knowledge assets. Each asset carries:
MedicalStudy+MedicalCondition)ScholarlyArticlereferences (source provenance)og:prefix)This pattern enables cross-platform SPARQL queries over biomedical knowledge anchored on the DKG.
What Changed
examples/biomedical-research.jsThe example follows the same structure as the existing
demo.jsandparanet-demo.jsfiles: ES module imports,BLOCKCHAIN_IDSconstants,dotenv/config, and thedivider()logging pattern.Schema Preview
{ "@context": { "@vocab": "https://schema.org/", "og": "https://opengenome.bio/schema/v1/" }, "@type": "MedicalStudy", "studySubject": { "@type": "MedicalCondition", "name": "Hantavirus Pulmonary Syndrome" }, "citation": [{ "@type": "ScholarlyArticle", "identifier": "PMID:21945235" }] }Testing
Tested on Base Sepolia testnet (
base:84532) with TRAC from the OriginTrail faucet.Happy to adjust the schema namespace or example structure based on any feedback from the maintainers.