
# Rein request example : Judy makes a request for http://demo.policyawareweb.org/images/group.jpg
# A rein request example should include both a RequestFormula as well as the rel between an image and its policy (img rein:policy policy)

# $Date: 2006-07-10 17:46:12 -0400 (Mon, 10 Jul 2006) $
# $Revision: 1142 $
# $Author: lkagal $

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rein: <http://dig.csail.mit.edu/2005/09/rein/network#> .
@prefix session: <http://redfoot.net/2005/session#> .
@prefix http: <http://dig.csail.mit.edu/2005/09/rein/examples/http-access#> .
@prefix : <http://dig.csail.mit.edu/2006/06/rein/example/judy-req#> .

{ [] a rein:Request;
  rein:requester [ session:secret "judy-passwd"; session:id rein:test ];
  rein:access http:can-get;
  rein:resource <http://demo.policyawareweb.org/images/group.jpg>;
  rdfs:comment "Judy makes a request for http://demo.policyawareweb.org/images/group.jpg which was taken during AnnualMeeting which Judy attended. This is a valid request.".
} a rein:RequestFormula.

# relationship between the image and its policy
<http://demo.policyawareweb.org/images/group.jpg> rein:policy <http://groups.csail.mit.edu/dig/2005/09/rein/examples/troop42-policy.n3>.
