Repository navigation
Overhaul search, add reviewer editing & provenance origin, fix stats - #40
Merged
Merged
Conversation
Search - Collapse the Lucene index from two fields (rdfs:label / rdfs:comment with a name-over-description boost) to a single `text` field fed by rdfs:label, rdfs:comment, and the SKOS labelling and note properties. - Analyse and query with EnglishAnalyzer via a classic Lucene QueryParser (ComplexPhraseQueryParser), matching exactly after analysis: recall now comes from English stemming rather than edit-distance fuzz. Every term is required. Ranking is Lucene relevance weighted by view popularity. - Deliberately omit a graphField from the entity map (it scopes queries by graph and returns nothing on the default-graph index). Reviewer editing - Reviewers can edit and delete staged statements and rename subjects on a branch, and propose edits to already-approved resources (revise), staged for review like any other change (ResourceEdit, BranchChange, MergeResult, retraction graphs, DescribeEditController, statement-editor.js/describe.js). Provenance origin - ProvenancedStatement carries a StatementOrigin (ASSERTED / ONTOLOGY / INFERRED) so describe no longer mislabels the ontology's own axioms as inferred; /describe badges them accordingly. Stats - Rename CortexStats.inferenceTriples() to inferredTriples() and count only the reasoner's derivations (dataset less assertions less ontology axioms). - Fix countPendingBranches to filter with CortexNamespace.isBranch: it had excluded only provenance, so the cortex://usage graph a view creates showed as a phantom pending branch the /branches list never displayed. Assertions page - Show an instance count per class on /assertions (countInstances over the inference closure, so subclass/inferred memberships count). MCP - ingest can auto-approve on explicit human confirmation via elicitation; the server runs the streamable protocol so elicitation works. Docs - Update README, CLAUDE.md, and the docs site for the search behaviour, the instance count, and the pending-branch fix. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Search
textfield fed by rdfs:label, rdfs:comment, and the SKOS labelling and note properties.Reviewer editing
Provenance origin
Stats
Assertions page
MCP
Docs