<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE uridef[
  <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns">
  <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema">
  <!ENTITY daml "http://www.daml.org/2001/03/daml+oil">
  <!ENTITY xsd "http://www.w3.org/2001/XMLSchema">
  <!ENTITY service "http://www.daml.org/services/daml-s/0.9/Service.daml">
  <!ENTITY process "http://www.daml.org/services/daml-s/0.9/Process.daml">
  <!ENTITY grounding "http://www.daml.org/services/daml-s/0.9/Grounding.daml">
  <!ENTITY congo_service "http://www.daml.org/services/daml-s/0.9/CongoService.daml">
  <!ENTITY congo_profile "http://www.daml.org/services/daml-s/0.9/CongoProfile.daml">
  <!ENTITY congo_process "http://www.daml.org/services/daml-s/0.9/CongoProcess.daml">
  <!ENTITY congo_grounding "http://www.daml.org/services/daml-s/0.9/CongoGrounding.daml">
  <!ENTITY congo_wsdl_grounding "http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl">
  <!ENTITY DEFAULT "http://www.daml.org/services/daml-s/0.9/CongoGrounding.daml">
]>
    
    <rdf:RDF
      xmlns:rdf	 = "&rdf;#"
      xmlns:rdfs	 ="&rdfs;#"
      xmlns:daml	 ="&daml;#"
      xmlns:xsd	 ="&xsd;#"
      xmlns:service  = "&service;#"
      xmlns:grounding= "&grounding;#"
      xmlns:congo_service= "&congo_service;#"
      xmlns     	 ="&DEFAULT;#"
      >
      
    <daml:Ontology rdf:about="">
      <daml:versionInfo>
	$Id: CongoGrounding.daml,v 1.20 2003/09/19 05:00:18 martin Exp $
      </daml:versionInfo>
      <rdfs:comment> 
	This ontology represents the DAML-S service grounding for the
	Congo web service example.
      </rdfs:comment>
      <daml:imports rdf:resource="&daml;"/>
      <daml:imports rdf:resource="&service;"/>
      <daml:imports rdf:resource="&process;"/>
      <daml:imports rdf:resource="&grounding;"/>
      <daml:imports rdf:resource="&congo_process;"/>
      <daml:imports rdf:resource="&congo_service;"/>
    </daml:Ontology>

   
    <!--###################################################
      Grounding for ExpressCongoBuyService
      ###################################################-->
    
    <!-- Grounding Instance for the Service -->
    
    <grounding:WsdlGrounding rdf:ID="CongoBuyServiceGrounding">
      <service:supportedBy rdf:resource="&congo_service;#ExpressCongoBuyService"/>
      <rdfs:comment>
	This service employs only one atomic process; therefore there's
	only one instance of property hasAtomicProcessGrounding.
      </rdfs:comment>
      <grounding:hasAtomicProcessGrounding rdf:resource="#CongoBuyGrounding"/>
    </grounding:WsdlGrounding>
    
    <!-- Grounding Instance for Atomic Process CongoBuy -->
    
    
    <!--###################################################
      # Grounding for Atomic Process ExpressCongoBuy           #  -->

    <grounding:WsdlAtomicProcessGrounding rdf:ID="CongoBuyGrounding">
      
      <grounding:damlsProcess rdf:resource="&congo_process;#ExpressCongoBuy"/>

      <grounding:wsdlOperation>
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#CongoBuy_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#CongoBuy_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
    
      <grounding:wsdlInputMessage>
	<xsd:anyURI rdf:value="&congo_wsdl_grounding;#CongoBuy_Input"/>
      </grounding:wsdlInputMessage>
      
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyBookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuySignInInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#signInInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlOutputMessage> 
	&congo_wsdl_grounding;#CongoBuy_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputs rdf:parseType="daml:collection">
	
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyReceipt"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#receipt"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyShippingOrder"/>
	  <grounding:wsdlMessagePart>
	    <xsd:anyURI rdf:value="&congo_wsdl_grounding;#shippingOrder"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
      </grounding:wsdlOutputs>
      
      <grounding:wsdlReference>
	<xsd:anyURI 
	  rdf:value="http://www.w3.org/TR/2001/NOTE-wsdl-20010315"/>
      </grounding:wsdlReference>
      <grounding:otherReference>
	<xsd:anyURI rdf:value="http://www.w3.org/TR/2001/NOTE-wsdl-20010315"/>	  
      </grounding:otherReference>
      <grounding:otherReference>
	<xsd:anyURI rdf:value="http://schemas.xmlsoap.org/wsdl/soap/"/>
      </grounding:otherReference>
      <grounding:otherReference>
	<xsd:anyURI rdf:value="http://schemas.xmlsoap.org/soap/http/"/>
      </grounding:otherReference>
      <grounding:wsdlDocument>
	<xsd:anyURI rdf:value="&congo_wsdl_grounding;"/>
      </grounding:wsdlDocument> 
    </grounding:WsdlAtomicProcessGrounding>
      
      
	
      
    
    
    <!-- ################################################### -->
    <!-- ###                                             ### -->
    <!-- ###     Grounding for Extended Congo Buy        ### -->
    <!-- ###                                             ### -->
    <!-- ################################################### -->
      

    <!-- Grounding Instance for the Service -->

    <grounding:WsdlGrounding rdf:ID="FullCongoBuyGrounding">
      <service:supportedBy rdf:resource="&congo_service;#FullCongoBuyService"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#LocateBookGrounding"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#PutInCartGrounding"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#SignInGrounding"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#CreateAcctGrounding"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#SpecifyPaymentMethodGrounding"/>
      <grounding:hasAtomicProcessGrounding rdf:resource="#SpecifyDeliveryDetailsGrounding"/>
    </grounding:WsdlGrounding>
    
    
    <!-- ################################################### -->
    <!-- # Grounding for Simple Process LocateBook         # -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="LocateBookGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#LocateBook"/>
      <grounding:wsdlOperation>
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#LocateBook_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#LocateBook_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_wsdl_grounding;#LocateBook_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlOutputMessage> 
	&congo_wsdl_grounding;#LocateBook_Output
	</grounding:wsdlOutputMessage> 
      <grounding:wsdlOutputs rdf:parseType="daml:collection">
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookDescription"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#bookDescription"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
      </grounding:wsdlOutputs>
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process PutInCart           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="PutInCartGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#PutInCart"/>
      <grounding:wsdlOperation> 
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#PutInCart_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#PutInCart_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage> 
	&congo_wsdl_grounding;#PutInCart_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SignIn           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SignInGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#SignIn"/>
      <grounding:wsdlOperation> 
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SignIn_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SignIn_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SignIn_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#signInInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#signInInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process CreateAcct           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="CreateAcctGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#CreateAcct"/>
      <grounding:wsdlOperation> 
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#CreateAcct_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#CreateAcct_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#CreateAcct_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#createAcctInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#createAcctInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#CreateAcct_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputs rdf:parseType="daml:collection">
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#createAcctOutput"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#createAcctOutput"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
      </grounding:wsdlOutputs>
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SpecifyPaymentMethod           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SpecifyPaymentMethodGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#SpecifyPaymentMethod"/>
      <grounding:wsdlOperation> 
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SpecifyPaymentMethod_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SpecifyPaymentMethod_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SpecifyPaymentMethod_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardNumber"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#creditCardNumber"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardType"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#creditCardType"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardExpirationDate"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#creditCardExpirationDate"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SpecifyDeliveryDetails
      #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SpecifyDeliveryDetailsGrounding">
      <grounding:damlsProcess rdf:resource="&congo_process;#SpecifyDeliveryDetails"/>
      <grounding:wsdlOperation> 
	<grounding:WsdlOperationRef>
	  <grounding:portType>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SpecifyDeliveryDetails_PortType"/>
          </grounding:portType>
	  <grounding:operation>
            <xsd:anyURI rdf:value="&congo_wsdl_grounding;#SpecifyDeliveryDetails_operation"/>
          </grounding:operation>
	</grounding:WsdlOperationRef>
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SpecifyDeliveryDetails_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputs rdf:parseType="daml:collection">
	<grounding:WsdlInputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#deliveryAddress"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#deliveryAddress"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlInputMessageMap>
      </grounding:wsdlInputs>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#SpecifyDeliveryDetails_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputs rdf:parseType="daml:collection">
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#packagingSelection"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#packagingSelection"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
      </grounding:wsdlOutputs>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#SpecifyDeliveryDetails_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputs rdf:parseType="daml:collection">
	<grounding:WsdlOutputMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#deliveryTypeSelection"/>
	  <grounding:wsdlMessagePart>
            <xsd:anyURI rdf:value="&congo_process;#deliveryTypeSelection"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlOutputMessageMap>
      </grounding:wsdlOutputs>
      
      <grounding:wsdlReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
      </grounding:wsdlReference>
      <grounding:otherReference>
	http://www.w3.org/TR/2001/NOTE-wsdl-20010315
	http://schemas.xmlsoap.org/wsdl/soap/
	http://schemas.xmlsoap.org/soap/http/
      </grounding:otherReference>
      <grounding:wsdlDocument>
	http://www.daml.org/services/daml-s/0.9/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>

</rdf:RDF>
