<?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.daml">
  <!ENTITY xsd "http://www.w3.org/2000/10/XMLSchema">
  <!ENTITY service "http://www.daml.org/services/daml-s/0.7/Service.daml">
  <!ENTITY process "http://www.daml.org/services/daml-s/0.7/Process.daml">
  <!ENTITY grounding "http://www.daml.org/services/daml-s/0.7/Grounding.daml">
  <!ENTITY congo_service "http://www.daml.org/services/daml-s/0.7/CongoService.daml">
  <!ENTITY congo_profile "http://www.daml.org/services/daml-s/0.7/CongoProfile.daml">
  <!ENTITY congo_process "http://www.daml.org/services/daml-s/0.7/CongoProcess.daml">
  <!ENTITY congo_grounding "http://www.daml.org/services/daml-s/0.7/CongoGrounding.daml">
  <!ENTITY congo_wsdl_grounding "http://www.daml.org/services/daml-s/0.7/CongoGrounding.wsdl">
  <!ENTITY DEFAULT "http://www.daml.org/services/daml-s/0.7/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.15 2003/03/07 06:38:52 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"/>
      <comment>
	This service employs only one atomic process; therefore there's
	only one instance of property hasAtomicProcessGrounding.
      </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>
	<xsd:uriReference rdf:value="&congo_wsdl_grounding;#CongoBuy"/>
      </grounding:wsdlOperation>
    
      <grounding:wsdlInputMessage>
	<xsd:uriReference rdf:value="&congo_wsdl_grounding;#CongoBuy_Input"/>
      </grounding:wsdlInputMessage>
      
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyBookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuySignInInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#signInInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <grounding:wsdlOutputMessage> 
	&congo_wsdl_grounding;#CongoBuy_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
	
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyReceipt"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#receipt"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#congoBuyShippingOrder"/>
	  <grounding:wsdlMessagePart>
	    <xsd:uriReference rdf:value="&congo_wsdl_grounding;#shippingOrder"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlOutputMessageParts>
      
      <grounding:wsdlReference>
	<xsd:uriReference 
	  rdf:value="http://www.w3.org/TR/2001/NOTE-wsdl-20010315"/>
      </grounding:wsdlReference>
      <grounding:otherReference>
	<xsd:uriReference rdf:value="http://www.w3.org/TR/2001/NOTE-wsdl-20010315"/>	  
      </grounding:otherReference>
      <grounding:otherReference>
	<xsd:uriReference rdf:value="http://schemas.xmlsoap.org/wsdl/soap/"/>
      </grounding:otherReference>
      <grounding:otherReference>
	<xsd:uriReference rdf:value="http://schemas.xmlsoap.org/soap/http/"/>
      </grounding:otherReference>
      <grounding:wsdlDocument>
	<xsd:uriReference 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>
	&congo_process;#LocateBook
      </grounding:damlsProcess>
      <grounding:wsdlOperation>
	&congo_wsdl_grounding;#LocateBook_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_wsdl_grounding;#LocateBook_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <grounding:wsdlOutputMessage> 
	&congo_wsdl_grounding;#LocateBook_Output
	</grounding:wsdlOutputMessage> 
      <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookDescription"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#bookDescription"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlOutputMessageParts>
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process PutInCart           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="PutInCartGrounding">
      <grounding:damlsProcess>
	&congo_process;#PutInCart
      </grounding:damlsProcess>
      <grounding:wsdlOperation> 
	&congo_wsdl_grounding;#PutInCart_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage> 
	&congo_wsdl_grounding;#PutInCart_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#bookName"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_wsdl_grounding;#bookName"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SignIn           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SignInGrounding">
      <grounding:damlsProcess>
	&congo_process;#SignIn
      </grounding:damlsProcess>
      <grounding:wsdlOperation> 
	&congo_process;#SignIn_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SignIn_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#signInInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#signInInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process CreateAcct           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="CreateAcctGrounding">
      <grounding:damlsProcess>
	&congo_process;#CreateAcct
      </grounding:damlsProcess>
      <grounding:wsdlOperation> 
	&congo_process;#CreateAcct_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#CreateAcct_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#createAcctInfo"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#createAcctInfo"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#CreateAcct_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#createAcctOutput"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#createAcctOutput"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlOutputMessageParts>
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SpecifyPaymentMethod           #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SpecifyPaymentMethodGrounding">
      <grounding:damlsProcess>
	&congo_process;#SpecifyPaymentMethod
      </grounding:damlsProcess>
      <grounding:wsdlOperation> 
	&congo_process;#SpecifyPaymentMethod_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SpecifyPaymentMethod_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardNumber"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#creditCardNumber"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardType"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#creditCardType"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#creditCardExpirationDate"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#creditCardExpirationDate"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>
	
	
	
    
    
    <!--################################################### 
      # Grounding for Simple Process SpecifyDeliveryDetails
      #  -->


    <grounding:WsdlAtomicProcessGrounding rdf:ID="SpecifyDeliveryDetailsGrounding">
      <grounding:damlsProcess>
	&congo_process;#SpecifyDeliveryDetails
      </grounding:damlsProcess>
      <grounding:wsdlOperation> 
	&congo_process;#SpecifyDeliveryDetails_operation
      </grounding:wsdlOperation>
      
      <grounding:wsdlInputMessage>
	&congo_process;#SpecifyDeliveryDetails_Input
      </grounding:wsdlInputMessage>
      <grounding:wsdlInputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#deliveryAddress"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#deliveryAddress"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlInputMessageParts>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#SpecifyDeliveryDetails_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#packagingSelection"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#packagingSelection"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlOutputMessageParts>
      
      <grounding:wsdlOutputMessage>
	&congo_process;#SpecifyDeliveryDetails_Output
      </grounding:wsdlOutputMessage>
      <grounding:wsdlOutputMessageParts rdf:parseType="daml:collection">
	<grounding:WsdlMessageMap>
	  <grounding:damlsParameter rdf:resource="&congo_process;#deliveryTypeSelection"/>
	  <grounding:wsdlMessagePart>
            <xsd:uriReference rdf:value="&congo_process;#deliveryTypeSelection"/>
	  </grounding:wsdlMessagePart>
	</grounding:WsdlMessageMap>
      </grounding:wsdlOutputMessageParts>
      
      <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.7/CongoGrounding.wsdl
      </grounding:wsdlDocument>
    </grounding:WsdlAtomicProcessGrounding>

</rdf:RDF>
