Hi François,
There are a couple of targets available for querying metadata. What I
usually use, is the help commands in bean-query.
Run bean-query with your file and then enter "help" or for what you're
mostly interested "help targets", this should list
'META(str)': Get some metadata key of the Posting.
Which should do what you want.
Regards,
Patrick