For example: once I add WoT scoring to nostrdb, nostrscript query filters will be able to do queries such as:
{give me all the notes of kind 1 with wot > 5}
the nostrscript is a simple wasm function:
{wot_score(note.pubkey) > 5}
Paired with a query: {“kinds”: [1]}
which can be jit compiled and run alongside the nostr query. Possibilities are endless really.
Maybe you could represent this as:
{“kinds”: [1], “reducer”: “nscriptabcdef…”} nostr:note1m0d064c4qkn9pu3d09qn36jd6tdp72jdg5zqlpqyuzhwz39anrqq3gqj69