REFEREE Sample Policy 1

Scenario
We are worried about excessive use of saxophones in music distributed over the Internet. We trust publishers and all others to declare honestly the number of saxophones used; we want to check this number before browsing the URL.
Policy in English
Get the embedded PICS labels from the document source. Allow viewing this URL only if any label has saxophones rating less than 2 in "http://www.musac.org" service.
Output
TRUE with a statement containing the PICS label to justify the answer.
Explanation
This policy has two steps. First, we invoke load-label to find and download labels for the given URL; any labels found will be put on the statement list. We then run a pattern-matcher over the now-modified statement list, looking for any label using the rating service from "http://www.musac.org/" and with an s rating less than 2. If the matcher finds no musac label with an s dimension, it returns unknown, and, if it finds such a label, it returns true or false depending on whether or not the associated value is less than 2. The line false-if-unknown has the effect of converting a returned value unknown to false; this is a policy decision about which semantics to give to three-valued logic, specifically about the meaning of unknown. The overall effect is to allow viewing of any document for which we can find at least a single label with a musac-s rating less than 2.
DIY: Do-It-Yourself
You can vary the saxophones rating as well as the restriction operator to get different output.

Action: URL:

Corresponding Profiles-0.92 policy for the action:

PICS labels being fetched:


Yang-Hua Chu
Last modified: Fri Dec 13 14:40:06 EST