feat: add scientific knowledge graph module#29
Open
grantf04 wants to merge 1 commit into
Open
Conversation
Author
|
@algora-pbc /claim #17 |
Author
|
/claim #17 |
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.
@algora-pbc /claim #17
Closes #17
What this adds
Adds a self-contained
scientific-knowledge-graph/module for scientific entity extraction, linked graph metadata, entity pages, graph navigation/search, filters, AI recommendations, JSON APIs, tests, and a reviewer dashboard.Requirement mapping
extractEntities, covering concepts, authors, affiliations/institutions, tools/software, cited DOIs, and ontology-backed entities.buildGraph, which returns typed nodes, relationship edges, and schema.org payloads.buildEntityPagewith usage contexts, citation reach, and relationships.queryGraph, including dataset, CRISPR/protocol, notebook reuse, institution, type, domain, and reproducibility filters.recommendResearchusing interests, recent project activity, graph proximity, citation count, and reproducibility score./api/recommendations.How to verify in under 5 minutes
Open
http://localhost:4131and verify the dashboard shows graph node/edge counts, extracted entity nodes, the CRISPR entity page, knowledge-navigation query results, and ranked recommendations.Optional API smoke checks:
curl -s http://localhost:4131/api/dashboard curl -s "http://localhost:4131/api/query?q=CRISPR" curl -s http://localhost:4131/api/entities/concept-crisprValidation
Commands run:
npm test- 4 tests passingcurl -s http://localhost:4131/api/dashboard- returns 26 nodes, 28 edges, and 5 recommendationscurl -s "http://localhost:4131/api/query?q=CRISPR"- returns 7 nodes and 6 edgescurl -i -s http://localhost:4131/package.json- returns 404 without crashing the serverhttp://127.0.0.1:4131/: graph index, entity page, knowledge navigation, and AI recommendations render with 0 console errorsffprobeverified the committed demo video is 1280x760 and 8 seconds longDemo
scientific-knowledge-graph/docs/demo-script.mdScope
This PR is intentionally self-contained under
scientific-knowledge-graph/and avoids unrelated root-level changes except adding the module link to the root README.