@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@prefix ex: <ont#>.   # @@ write ontology




:wwe   dc:title "Win-Win Ecology"; dc:creator [ foaf:name "Mike Rosenzweig" ].

#Read, wwe has a title ... and has a creator which has name Mike ...:
#(Use cwm to convert that into RDF/XML if that is easier to read fro you)

#I'd note that that book has a URI in the mashup, which we could have used.
# Or we can just say 

<http://www4.wiwiss.fu-berlin.de/bookmashup/books/0195156048>
 =  :wwe .


#Now the museum.  We'll need new ontology terms I'll put in ex: namespace.

:asdm  foaf:name " Az Sonora Desert Museum";
    foaf:homepage <http://www.desertmuseum.org/>.
    
:sgc   foaf:name "Shade-Grown Coffee".

{ :asdm  ex:serves  :sgc } ex:accordingTo  :wwe.

# There are various "accordingTo" type verbs one can define
#----------------------------------

#Also, we believe

:sgc a ex:ProEcologyProduct.
:wwe a ex:TrustedSource.
 
# Then I would maybe use a rule

@forAll :business, :product, :source.
{ :source a ex:TrustedSource.
  { :business ex:serves  :product }  ex:accordingTo  :source.
  :product a ex:ProEcologyProduct.
} =>  {:business a ex:FavoredBusiness}.

# Running these rules with cwm --think will produce:
#     :asdm     a ex:FavoredBusiness
