<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:process="http://www.daml.org/services/owl-s/1.1/Process.owl#"
    xmlns="http://127.0.0.1/services/1.1/ProvideMedicalFlightInformation_services.owls"
    xmlns:service="http://www.daml.org/services/owl-s/1.1/Service.owl#"
    xmlns:list="http://www.daml.org/services/owl-s/1.1/generic/ObjectList.owl#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:profile="http://www.daml.org/services/owl-s/1.1/Profile.owl#"
    xmlns:swrl="http://www.w3.org/2003/11/swrl#"
    xmlns:grounding="http://www.daml.org/services/owl-s/1.1/Grounding.owl#"
    xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
    xmlns:expr 		= "http://www.daml.org/services/owl-s/1.1/generic/Expression.owl#"
    xmlns:pddlexpr  = "http://127.0.0.1/ontology/PDDLExpression.owl#"  
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xml:base="http://127.0.0.1/services/1.1/ProvideMedicalFlightInformation_services.owls">
  <owl:Ontology rdf:about="">
    <owl:imports rdf:resource="http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl"/>
    <owl:imports rdf:resource="http://127.0.0.1/ontology/Service.owl"/>
    <owl:imports rdf:resource="http://127.0.0.1/ontology/Process.owl"/>
    <owl:imports rdf:resource="http://127.0.0.1/ontology/Profile.owl"/>
    <owl:imports rdf:resource="http://127.0.0.1/ontology/Grounding.owl"/>
	<owl:imports rdf:resource="http://127.0.0.1/ontology/Expression.owl#" />
	<owl:imports rdf:resource="http://127.0.0.1/ontology/PDDLExpression.owl" />
	<owl:imports rdf:resource="http://127.0.0.1/ontology/ontosem.owl" />
	<owl:imports rdf:resource="http://127.0.0.1/ontology/SUMO.owl" />
  </owl:Ontology>
  <service:Service rdf:ID="ProvideMedicalFlightInformationService">
    <service:presents>
      <profile:Profile rdf:ID="ProvideMedicalFlightInformationProfile"/>
    </service:presents>
    <service:describedBy>
      <process:AtomicProcess rdf:ID="ProvideMedicalFlightInformationProcess"/>
    </service:describedBy>
    <service:supports>
      <grounding:WsdlGrounding rdf:ID="ProvideMedicalFlightInformationGrounding"/>
    </service:supports>
  </service:Service>
  <profile:Profile rdf:about="#ProvideMedicalFlightInformationProfile">
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_DesiredArrivalAirport">
        <rdfs:label>ProvideMedicalFlightInformation_DesiredArrivalAirport</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#Airport</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasInput>
      <process:Input rdf:ID="BookMedicalFlight_Account">
        <rdfs:label>BookMedicalFlight_Account</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#Account</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_DesiredTreatment">
        <rdfs:label>ProvideMedicalFlightInformation_DesiredTreatment</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#Treatment</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasOutput>
      <process:Output rdf:ID="ProvideMedicalFlightInformation_ListOfFlights">
        <rdfs:label>ProvideMedicalFlightInformation_ListOfFlights</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#ListOfFlights</process:parameterType>
      </process:Output>
    </profile:hasOutput>
    <service:presentedBy rdf:resource="#ProvideMedicalFlightInformationService"/>
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_Diagnosis">
        <rdfs:label>ProvideMedicalFlightInformation_Diagnosis</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#Diagnosis</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_DesiredDepartureAirport">
        <rdfs:label>ProvideMedicalFlightInformation_DesiredDepartureAirport</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#Airport</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_DesiredDepartureDateTime">
        <rdfs:label>ProvideMedicalFlightInformation_DesiredDepartureDateTime</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#DateTime</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:hasInput>
      <process:Input rdf:ID="ProvideMedicalFlightInformation_FlightCategory">
        <rdfs:label>ProvideMedicalFlightInformation_FlightCategory</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#FlightCategory</process:parameterType>
      </process:Input>
    </profile:hasInput>
    <profile:serviceName>ProvideMedicalFlightInformation</profile:serviceName>
    <profile:textDescription>The service provides a list of flights that are apropriate to bring the patient from one to another location.</profile:textDescription>
    <profile:hasInput>
      <process:Input rdf:ID="BookMedicalFlight_FlightNumber">
        <rdfs:label>BookMedicalFlight_FlightNumber</rdfs:label>
        <process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/ontology/MedicalFlightCompanyOntology.owl#FlightNumber</process:parameterType>
      </process:Input>
    </profile:hasInput>
  </profile:Profile>
  <process:AtomicProcess rdf:about="#ProvideMedicalFlightInformationProcess">
    <service:describes rdf:resource="#ProvideMedicalFlightInformationService"/>
    <process:hasInput rdf:resource="#BookMedicalFlight_Account"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_DesiredArrivalAirport"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_DesiredTreatment"/>
    <process:hasInput rdf:resource="#BookMedicalFlight_FlightNumber"/>
    <process:hasOutput rdf:resource="#ProvideMedicalFlightInformation_ListOfFlights"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_DesiredDepartureAirport"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_FlightCategory"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_DesiredDepartureDateTime"/>
    <process:hasInput rdf:resource="#ProvideMedicalFlightInformation_Diagnosis"/>
	<process:hasPrecondition>
          <pddlexpr:PDDL-Expression>
            <expr:expressionBody rdf:datatype="http://www.w3.org/2001/XMLSchema#string">
			(and (http://127.0.0.1/ontology/ontosem.owl#Accepted ?http://127.0.0.1/services/1.1/ProvideMedicalFlightInformation_services.owls#BookMedicalFlight_Account)
				 (not (http://127.0.0.1/ontology/SUMO.owl#equal ?http://127.0.0.1/services/1.1/ProvideMedicalFlightInformation_services.owls#ProvideMedicalFlightInformation_DesiredArrivalAirport ?http://127.0.0.1/services/1.1/ProvideMedicalFlightInformation_services.owls#ProvideMedicalFlightInformation_DesiredDepartureAirport)))
			</expr:expressionBody>
          </pddlexpr:PDDL-Expression>
</process:hasPrecondition>
    <rdfs:label>ProvideMedicalFlightInformationProcess</rdfs:label>
  </process:AtomicProcess>
  <grounding:WsdlGrounding rdf:about="#ProvideMedicalFlightInformationGrounding">
    <service:supportedBy rdf:resource="#ProvideMedicalFlightInformationService"/>
    <grounding:hasAtomicProcessGrounding>
      <grounding:WsdlAtomicProcessGrounding rdf:ID="ProvideMedicalFlightInformationAtomicProcessGrounding"/>
    </grounding:hasAtomicProcessGrounding>
  </grounding:WsdlGrounding>
  <grounding:WsdlAtomicProcessGrounding rdf:about="#ProvideMedicalFlightInformationAtomicProcessGrounding">
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_DesiredArrivalAirport"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_DesiredArrivalAirport</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlOutput>
      <grounding:WsdlOutputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_ListOfFlights"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_ListOfFlights</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlOutputMessageMap>
    </grounding:wsdlOutput>
    <grounding:wsdlInputMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/Providemedicalflightinformation#getProvideMedicalFlightInformation_ListOfFlightsRequest</grounding:wsdlInputMessage>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_Diagnosis"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_Diagnosis</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlOutputMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/Providemedicalflightinformation#getProvideMedicalFlightInformation_ListOfFlightsResponse</grounding:wsdlOutputMessage>
    <grounding:wsdlDocument rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/ProvideMedicalFlightInformation_services.wsdl</grounding:wsdlDocument>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_DesiredDepartureDateTime"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_DesiredDepartureDateTime</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#BookMedicalFlight_FlightNumber"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#BookMedicalFlight_FlightNumber</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#BookMedicalFlight_Account"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#BookMedicalFlight_Account</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:owlsProcess rdf:resource="#ProvideMedicalFlightInformationProcess"/>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_DesiredDepartureAirport"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_DesiredDepartureAirport</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_DesiredTreatment"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_DesiredTreatment</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlOperation>
      <grounding:WsdlOperationRef>
        <grounding:operation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#getProvideMedicalFlightInformation_ListOfFlights</grounding:operation>
        <grounding:portType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvidemedicalflightinformationSoap</grounding:portType>
      </grounding:WsdlOperationRef>
    </grounding:wsdlOperation>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#ProvideMedicalFlightInformation_FlightCategory"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Providemedicalflightinformation#ProvideMedicalFlightInformation_FlightCategory</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
  </grounding:WsdlAtomicProcessGrounding>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#DateTime"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#Diagnosis"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#ListOfFlights"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#FlightCategory"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#Airport"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#Treatment"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#FlightNumber"/>
  <owl:Class rdf:about="/ontology/MedicalFlightCompanyOntology.owl#Account"/>
</rdf:RDF>
