Add seeAlso term (rdfs:seeAlso) to context for resource discovery#20
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a seeAlso keyword to the JSON-LD context, mapping it to rdfs:seeAlso so Nostr-context documents can link to related resources using a standards-based predicate.
Changes:
- Add
"seeAlso": { "@id": "rdfs:seeAlso", "@type": "@id" }tocontext.jsonld.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "seeAlso": { | ||
| "@id": "rdfs:seeAlso", | ||
| "@type": "@id" | ||
| }, |
|
The vocab artifacts ( So there's no mirror to sync:
Adding |
Closes #19.
Maps a bare
seeAlsokeyword tordfs:seeAlso, giving nostr-context documents (including did:nostr) a lightweight, standards-based "follow your nose" predicate for linking to related resources — method docs, the spec, an explorer — without per-document verbosity or a bespoke term.Change
One term added to
context.jsonld:rdfs:seeAlso(therdfsprefix is already mapped) rather than minting anostr:term.@type: @idmakes values proper IRI node-links, so documents stay clean:@container: @set, so a bare string is valid; an array still works for multiple targets.https://www.w3.org/ns/cid/v1(it's@protectedbut does not defineseeAlso).JSON validated. Rationale and alternatives considered (
service,didDocumentMetadata, minting anostr:term) are in #19.