<entities>
  <entity id="hot-water-example" name="Hot water example" ns="http://www.imu.ntua.gr/san/example/hot-water-example/1/" descr="[2012-01-25]&#xD;Demonstration of SANs featuring RDFXML event payload processing, event contextualization (using SPARQL queries), calling an external WS and sending a recommendation event to EventCloud">
    <context>
      <attr id="attr1" name="attr1-name" type="String"/>
      <attr id="attr2" name="attr2-name" type="String"/>
    </context>
    <sans>
      <san id="preserve-hot-water" name="Preserve hot water in heater" base="http://play/sans/template-san-1">
        <g name="Preserve hot water in heater" id="_preserve_hot_water">
          <s name="Solar panel measurement received" id="_measurement_received" dialect="default" definedBy="http://streams.event-processing.org/ids/ PachubeFeed s"/>
          <c name="Check if weather is cloudy" id="_check_if_cloudy" dialect="JS" definedBy="util.alert('Test');"/>
          <a id="_send_recommendation" name="Send a recommendation to turn on electric heater" type="Primitive"/>
        </g>
      </san>
      <san id="san2" name="san2-name" base="http://play/sans/template-san-2">
        <g name="goal 2.1" id="_g21">
          <meta id="meta2-id" name="meta2-name" type="String" value="Value2"/>
          <s name="situation 2.1" id="_s21" dialect="EP-SPARQL" definedBy=""/>
          <c name="condition 2.1" id="_c21" dialect="SPARQL" definedBy=""/>
          <a id="_a21"/>
        </g>
      </san>
    </sans>
    <apool id="apool1" name="Action Pool1">
      <sans>
        <san id="san.a1.1" name="san.a1.1-name" base="http://play/sans/template-san-1">
          <g name="goal ap1.1" id="_g1ap">
            <s name="situation a1.1" id="_as1" dialect="EP-SPARQL" definedBy=""/>
            <c name="condition a1.1" id="_ac1" dialect="SPARQL" definedBy=""/>
            <a id="_aa1" name="Action"/>
          </g>
        </san>
      </sans>
    </apool>
  </entity>
</entities>