Bob Wyman on Nostr: #[0] I've been working on Prospective Search for ActivityStreams. Such a single query ...
npub1u27r9h3j9pvrplaffsmpn698e8xhmuqhdgcxldv67ammql9pumnqha3qfq (npub1u27…3qfq) I've been working on Prospective Search for ActivityStreams. Such a single query would be one of potentially many that were combined in Boolean expressions that would return a result whenever a matching object was processed.
So, this query might appear in a clause such as:
$..object[?(@.type == 'Note')].content.p.div[0] == "1st div"
Whenever a matching object was processed, the user would be notified.
Note: Client UI's would be expected to present friendlier interfaces...
Published at
2023-03-31 23:31:02Event JSON
{
"id": "6efb4027ffddb8e0e3e54c4287eb97ee5560f10fb89383ccd6fbf755833dbe68",
"pubkey": "b55f6e72b3b13850457b78dbb7f342633d6db92a1dc842ca1afa2b7f3fb68d00",
"created_at": 1680305462,
"kind": 1,
"tags": [
[
"p",
"e2bc32de32285830ffa94c3619e8a7c9cd7df0176a306fb59af777b07ca1e6e6",
"wss://relay.mostr.pub"
],
[
"p",
"ec55841e6b607007a0167bd7e8d844705669336aef56485b48f4d38f51e5f68d",
"wss://relay.mostr.pub"
],
[
"e",
"8c13f83e5ef1d345069bfe6bddcd2f6e47e02ecd824aed542356ee452ed08ae8",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://mastodon.social/users/bobwyman/statuses/110120498768923695"
]
],
"content": "#[0] I've been working on Prospective Search for ActivityStreams. Such a single query would be one of potentially many that were combined in Boolean expressions that would return a result whenever a matching object was processed.\n\nSo, this query might appear in a clause such as:\n $..object[?(@.type == 'Note')].content.p.div[0] == \"1st div\"\n\nWhenever a matching object was processed, the user would be notified.\n\nNote: Client UI's would be expected to present friendlier interfaces...",
"sig": "43c9d636e641fa5c74d345973d33a8e9d8a19829eec635f34e9a0ebc93b616d1381a9eeaa5daf5d01425df27ee2d84ac5f213e1e5532a61f6d164a2bbbae07ad"
}