<?xml version="1.0" encoding="WINDOWS-1252"?>
<rdf:RDF  xmlns:owl       = "http://www.w3.org/2002/07/owl#"
xmlns:rdfs      = "http://www.w3.org/2000/01/rdf-schema#"
xmlns:rdf       = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:service   = "http://www.daml.org/services/owl-s/1.1/Service.owl#"
xmlns:process   = "http://www.daml.org/services/owl-s/1.1/Process.owl#"
xmlns:profile    = "http://www.daml.org/services/owl-s/1.1/Profile.owl#"
xmlns:grounding = "http://www.daml.org/services/owl-s/1.1/Grounding.owl#"
xmlns:expr      = "http://www.daml.org/services/owl-s/1.1/generic/Expression.owl#"
xmlns:swrl="http://www.w3.org/2003/11/swrl#"
xml:base        = "http://127.0.0.1/services/1.1/KLM-Login_service.owls">

<owl:Ontology rdf:about="">
<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/books.owl" />
<owl:imports rdf:resource="http://127.0.0.1/ontology/my_ontology.owl" />
<owl:imports rdf:resource="http://127.0.0.1/ontology/core-plus-office.owl" />
<owl:imports rdf:resource="http://127.0.0.1/ontology/ontosem.owl" />
</owl:Ontology>

<service:Service rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_SERVICE">
<service:presents rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROFILE"/>
<service:describedBy rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS"/>
<service:supports rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_GROUNDING"/>
</service:Service>

<profile:Profile rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROFILE">
<service:isPresentedBy rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_SERVICE"/>
<profile:serviceName xml:lang="en">
KLM LoginService
</profile:serviceName>
<profile:textDescription xml:lang="en">
This service is used by users to login in our system by giving their username and password.
</profile:textDescription>
<profile:hasInput  rdf:resource="#_LINGUISTICEXPRESSION"/>
<profile:hasInput  rdf:resource="#_LINGUISTICEXPRESSION1"/>
<profile:hasLocal  rdf:resource="#_USER"/>

<profile:has_process rdf:resource="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS" /></profile:Profile>

<!--<process:ProcessModel rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS_MODEL">
<service:describes rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_SERVICE"/>
<process:hasProcess rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS"/>
</process:ProcessModel>-->

<process:AtomicProcess rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS">
<service:describes rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_SERVICE"/>
<process:hasInput  rdf:resource="#_LINGUISTICEXPRESSION"/>
<process:hasInput  rdf:resource="#_LINGUISTICEXPRESSION1"/>
<process:hasLocal  rdf:resource="#_USER"/>
<process:hasResult>
	  <process:Result rdf:ID="AuthorizeUser">
		<process:inCondition>
		  <expr:SWRL-Condition rdf:ID="UserNameAndPasswordAccepted">
			<expr:expressionBody rdf:parseType="Literal">
			  <swrl:AtomList>
				<rdf:first>
					<swrl:ClassAtom>
						<swrl:classPredicate rdf:resource="http://127.0.0.1/ontology/core-plus-office.owl#Authorized"/>
						<swrl:argument1 rdf:resource="#_LINGUISTICEXPRESSION"/>
					</swrl:ClassAtom>
				</rdf:first>
				<rdf:rest>
					<swrl:AtomList>
						<rdf:first>
							<swrl:ClassAtom>
								<swrl:classPredicate rdf:resource="http://127.0.0.1/ontology/core-plus-office.owl#Authorized"/>
								<swrl:argument1 rdf:resource="#_LINGUISTICEXPRESSION1"/>
							</swrl:ClassAtom>
						</rdf:first>
						<rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
					</swrl:AtomList>	
				</rdf:rest>	
			  </swrl:AtomList>
			</expr:expressionBody>
		  </expr:SWRL-Condition>
		</process:inCondition>
		<process:hasEffect>
			<expr:SWRL-Expression>
				<expr:expressionLanguage rdf:resource="http://www.daml.org/services/owl-s/1.1/generic/Expression.owl#SWRL"/>
				<expr:expressionBody rdf:parseType="Literal">
					<swrl:AtomList>
						<rdf:first>
							<swrl:ClassAtom>
								<swrl:classPredicate rdf:resource="http://127.0.0.1/ontology/ontosem.owl#register"/>
								<swrl:argument1 rdf:resource="#_USER"/>
							</swrl:ClassAtom>
						</rdf:first>
						<rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/>
					</swrl:AtomList>
				</expr:expressionBody>
			</expr:SWRL-Expression>
		</process:hasEffect>
	  </process:Result>
</process:hasResult>
</process:AtomicProcess>

<process:Input rdf:ID="_LINGUISTICEXPRESSION">
<process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://127.0.0.1/ontology/books.owl#LinguisticExpression</process:parameterType>
<rdfs:label></rdfs:label>
</process:Input>

<process:Input rdf:ID="_LINGUISTICEXPRESSION1">
<process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://127.0.0.1/ontology/books.owl#LinguisticExpression</process:parameterType>
<rdfs:label></rdfs:label>
</process:Input>

<process:Local rdf:ID="_USER">
<process:parameterType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">http://127.0.0.1/ontology/books.owl#User</process:parameterType>
<rdfs:label></rdfs:label>
</process:Local>

<grounding:WsdlGrounding rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_GROUNDING">
<service:supportedBy rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_SERVICE"/>
<grounding:hasAtomicProcessGrounding>
      <grounding:WsdlAtomicProcessGrounding rdf:ID="LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_AtomicProcessGrounding"/>
    </grounding:hasAtomicProcessGrounding>
  </grounding:WsdlGrounding>
  <grounding:WsdlAtomicProcessGrounding rdf:about="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_AtomicProcessGrounding">
    <grounding:wsdlDocument rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/KLM-Login_service.wsdl</grounding:wsdlDocument>
    <grounding:owlsProcess rdf:resource="#LINGUISTICEXPRESSION-LINGUISTICEXPRESSION_PROCESS"/>
    <grounding:wsdlOperation>
      <grounding:WsdlOperationRef>
        <grounding:operation rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#get</grounding:operation>
        <grounding:portType rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#Linguisticexpression-linguisticexpressionSoap</grounding:portType>
      </grounding:WsdlOperationRef>
    </grounding:wsdlOperation>
    <grounding:wsdlInputMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#getRequest</grounding:wsdlInputMessage>
    <grounding:wsdlOutputMessage rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
    >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#getResponse</grounding:wsdlOutputMessage>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#_LINGUISTICEXPRESSION"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#_LINGUISTICEXPRESSION</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
    <grounding:wsdlInput>
      <grounding:WsdlInputMessageMap>
        <grounding:owlsParameter rdf:resource="#_LINGUISTICEXPRESSION1"/>
        <grounding:wsdlMessagePart rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
        >http://127.0.0.1/wsdl/Linguisticexpression-linguisticexpression#_LINGUISTICEXPRESSION1</grounding:wsdlMessagePart>
        <grounding:xsltTransformationString>None (XSL)</grounding:xsltTransformationString>
      </grounding:WsdlInputMessageMap>
    </grounding:wsdlInput>
  </grounding:WsdlAtomicProcessGrounding>

</rdf:RDF>
