Here is my first stab at a generic data model for a neo4j relay.
It has 5 types of nodes: NostrUser, NostrEvent, NostrEventTag, NostrRelay, and a node that stores personalized trust metrics called NostrUserWotMetricsCard.
It also defines relationships to indicate replies (NIP-10), reposts (NIP-18), comments (NIP-22), and reactions (NIP-25).
There are more details I could flesh out (like support for NIP-21, nostr:URI scheme) but this is a start.
Thoughts?
nostr:npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku
nostr:npub10mtatsat7ph6rsq0w8u8npt8d86x4jfr2nqjnvld2439q6f8ugqq0x27hf
Thoughts?
nostr:npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku
nostr:npub10mtatsat7ph6rsq0w8u8npt8d86x4jfr2nqjnvld2439q6f8ugqq0x27hf