<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE puzzle PUBLIC "-//Bengt Martensson//DTD einsteinpuzzle//EN" "einsteinpuzzle.dtd">
<puzzle>
  <title>Orginal (?) Einstein Puzzle</title>
  <text> 
    There are 5 houses. each a different colour.
    A person of a different nationality is in each house.
    The 5 owners each drink a certain drink, each smoke a certain brand of cigarette, and each have a certain pet. No owner has the same pet, smokes the same brand of cigarettes nor drinks the same drink as any other.
    The question is: Who has the fish?
  </text>
  <properties>
    <property name="position">
      <value>1</value>
      <value>2</value>
      <value>3</value>
      <value>4</value>
      <value>5</value>
    </property>
    <property name="color">
      <value>yellow</value>
      <value>blue</value>
      <value>red</value>
      <value>white</value>
      <value>green</value>
    </property>
    <property name="nationality">
      <value>norwegian</value>
      <value>swedish</value>
      <value>english</value>
      <value>danish</value>
      <value>german</value>
    </property>
    <property name="pet">
      <value>hare</value>
      <value>horse</value>
      <value>bird</value>
      <value>dog</value>
      <value>cat</value>
    </property>
    <property name="drink">
      <value>water</value>
      <value>tea</value>
      <value>milk</value>
      <value>beer</value>
      <value>coffee</value>
    </property>
    <property name="cigarette">
      <value>pall_mall</value>
      <value>blend</value>
      <value>prince</value>
      <value>dunhill</value>
      <value>bluemaster</value>
    </property>
  </properties>
  <rules>
    <rule label="1">
      <text>The British man lives in the red house.</text>
      <equivalence>
	<property-value name="nationality" value="english"/>
	<property-value name="color" value="red"/>
      </equivalence>
    </rule>
    <rule label="2">
      <text>The Swedish man has a dog for a pet.</text>
      <equivalence>
	<property-value name="nationality" value="swedish"/>
	<property-value name="pet" value="dog"/>
      </equivalence>
    </rule>
    <rule label="3">
      <text>The Danish man drinks tea.</text>
      <equivalence>
	<property-value name="nationality" value="danish"/>
	<property-value name="drink" value="tea"/>
      </equivalence>
    </rule>
    <rule label="4">
      <text>The green house is to the left of the white house</text>
      <to_right>
	<property-value name="color" value="white"/>
	<property-value name="color" value="green"/>
      </to_right>
    </rule>
    <rule label="5">
      <text>The owner of the green house drinks coffee</text>
      <equivalence>
	<property-value name="color" value="green"/>
   	<property-value name="drink" value="coffee"/>
      </equivalence>
    </rule>
    <rule label="6">
      <text>The person that smokes Pall Mall has a bird</text>
      <equivalence>
	<property-value name="cigarette" value="pall_mall"/>
	<property-value name="pet" value="bird"/>
      </equivalence>
    </rule>
    <rule label="7">
      <text>The owner of the yellow house smokes Dunhill</text>
      <equivalence>
	<property-value name="color" value="yellow"/>
	<property-value name="cigarette" value="dunhill"/>
      </equivalence>
    </rule>
    <rule label="8">
      <text>The person that lives in the middle house drinks milk</text>
      <equivalence>
	<property-value name="position" value="2"/>
	<property-value name="drink" value="milk"/>
      </equivalence>
    </rule>
    <rule label="9">
      <text>The Norwegian lives in the first house</text>
      <equivalence>
	<property-value name="position" value="0"/>
	<property-value name="nationality" value="norwegian"/>
      </equivalence>
    </rule>
    <rule label="10">
    <text>The person that smokes Blend, lives next to the one that has a
cat</text>
      <neighbor>
      	<property-value name="cigarette" value="blend"/>
	<property-value name="pet" value="cat"/>
      </neighbor>
    </rule>
    <rule label="11">
      <text>The person that has a horse lives next to the one that smokes Dunhill</text>
      <neighbor>
	<property-value name="pet" value="horse"/>
      	<property-value name="cigarette" value="dunhill"/>
      </neighbor>
    </rule>
    <rule label="12">
      <text>The one that smokes Bluemaster drinks beer</text>
      <equivalence>
	<property-value name="cigarette" value="bluemaster"/>
	<property-value name="drink" value="beer"/>
      </equivalence>
    </rule>
    <rule label="13">
      <text>The German smokes Prince</text>
      <equivalence>
    	<property-value name="nationality" value="german"/>
	<property-value name="cigarette" value="prince"/>
      </equivalence>
    </rule>
    <rule label="14">
      <text>The Norwegian lives next to a blue house</text>
      <neighbor>
    	<property-value name="nationality" value="norwegian"/>
    	<property-value name="color" value="blue"/>
      </neighbor>
    </rule>
    <rule label="15">
    <text>The person that smokes Blend, has a neighbour that drinks water</text>
      <neighbor>
       	<property-value name="cigarette" value="blend"/>
       	<property-value name="drink" value="water"/>
    </neighbor>
    </rule>
  </rules>
</puzzle>
