Spotlight Metadata Attributes Reference: Spotlight Metadata Attributes
Common Metadata Attribute Keys
Metadata attribute keys that are common to many file types.
That should help along with the “mdls” command
Explaining this raw query becomes easier
kMDItemKind == “Safari bookmark” && kMDItemDisplayName == “*Scrip*”wc
keyword: spotlight search