- From: dink <dink@mis.ccu.edu.tw>
- Date: Sun, 19 Dec 2004 15:21:12 +0800
- To: <public-sws-ig@w3.org>
- Message-ID: <000801c4e59b$52c4b050$85ae7b8c@dink>
Hello, I am a beginner in the area of OWL-S. I have some questions about how to map the datatype in WSDL to the parameter type in OWL-S.
There is a WSDL document below:
<s:complexType name="bookInfo">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="isbn" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="title" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="author" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="pubdate" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="publisher" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="format" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="imgUrl" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="timestamp" type="s:string" />
</s:sequence>
</s:complexType>
<wsdl:message name="GetInfoIn">
<wsdl:part name="BookName" type="s:string" />
</wsdl:message>
<wsdl:message name="GetInfoOut">
<wsdl:part name="Body" element="tns:bookInfo" />
</wsdl:message>
<wsdl:operation name="GetInfo">
<wsdl:input message="tns:GetInfoIn" />
<wsdl:output message="tns:GetInfoOut" />
</wsdl:operation>
Its corresponding OWL-S document is described below:
<process:AtomicProcess rdf:ID="BookFinderProcess">
<process:hasInput rdf:resource="#BookName" />
<process:hasOutput rdf:resource="#BookInfo" />
</process:AtomicProcess>
<process:Input rdf:ID="BookName">
<process:parameterType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<rdfs:label>Book Name</rdfs:label>
</process:Input>
<process:Output rdf:ID="BookInfo">
<process:parameterType rdf:resource="http://www.aktors.org/ontology/portal#Book" />
<rdfs:label>Book Info</rdfs:label>
</process:Output>
My question is whether the parameter type in OWL-S can choose either XML Schema datatype or OWL class to be the parameter type.
I guess:
If the parameter type is simple
the parameter type in OWL-S will be one of theXML Schema such as string
else if the parameter type is complex
the parameter type in OWL-S will be the OWL class
Is that right? I am so confused.
If now I want to use only isbn and title to describe the bookInfo, would I change the content of the http://www.aktors.org/ontology/portal#Book?
Or how can I find a way to still use the ontology http://www.aktors.org/ontology/portal#Book to represent only the isbn and title?
Many researchers use a semantic matching method to compare the degree of similarities between the inputs/outputs in the requirement and the advertisement in the area of
the match of web services. If the parameter type in OWL-S is a XML Schema data type such as string, how can we compare this kind of parameter types since XML Schema is not
an ontology.
Received on Sunday, 19 December 2004 10:29:11 UTC