W3C home > Mailing lists > Public > public-sws-ig@w3.org > January 2005

Re: Doubt about Parameter during execution

From: Tatiana Vieira <tascvieira@yahoo.com.br>
Date: Sat, 8 Jan 2005 10:18:11 -0300 (ART)
Message-ID: <20050108131811.62433.qmail@web52609.mail.yahoo.com>
To: David Martin <martin@AI.SRI.COM>, Bijan Parsia <bparsia@isr.umd.edu>
Cc: Tatiana Vieira <tascvieira@yahoo.com.br>, public-sws-ig@w3.org, Evren Sirin <evren@cs.umd.edu>
I was thinking about the use of the property parameterValue... As Evren wrote some messages before, the can construct some code to recover the data produced by a process execution. If we declared an Output with parameterType equal MyClass, the data produced will be an instance of MyClass. Ok. But when will we use the parameterValue property? When we specify a process has as Output a parameter called ProcessOutput of parameterType MyClass, we use the property parameterType, but we do not use parameterValue. So, when do we use it? 
As I asked before, could I declare an Output with parameterType MyClass, being MyClass of type Parameter? Is that correct? If it is, so I would use parameterValue as the property to keep the value of that parameter. But it doesn't sound corrrect to me...As explained before by one of you, Parameter itself is not expected to my directly used, as is not expected to use directly the property hasParameter. So...can anyone help me to understand the use of parameterValue and this possible (or not) use of Parameter?
Thank you in advance,

David Martin <martin@AI.SRI.COM> wrote:

Hi Bijan -

Bijan Parsia wrote:

> I'm not following the whole discussion, but...
> On Jan 5, 2005, at 2:14 PM, David Martin wrote:
>> Evren Sirin wrote:
> [snip]
>>> Yes, exactly. What I had in mind was a process description like this:



>>> rdf:datatype="&xsd;anyURI">&xsd;#string





>>> rdf:datatype="&xsd;anyURI">&books;#Book



>>>> I think the parameterType makes confusion in my mind!!!! In the 
>>>> same way, did now the sintax of Parameter. As described at 
>>>> Process.owl file, a Parameter can have at minimum one parameterType. 
>>>> What does it mean?
> It can mean a few things (for example, that the type of the value is the 
> conjunction of the types), but I believe we meant for it to be 
> compatible with sub/super typing. No parameter has only one type. 
> (Probably no parameter.)
>>>> If it has more than one type, doesn't it have to have also the same 
>>>> number of parameterValue? (I thought it as an structured parameter) 
>>>> How can one Parameter have more than one type?
>>> Hmm, that I don't know. I think that it should be a cardinality (not 
>>> minCardinality) restriction.
>> I also think it should be a cardinality, and I don't remember anyone 
>> advocating minCardinality.
> You forgot :) We had a lengthy discussion about this.

Thanks for the reminder; you are right. I remember now (although in my 
memory it seems more like a short discussion, for what that's worth). 
However, now that I'm not under the sway of your telecon eloquence ;-), 
I'm not sure I agree with your point anymore ...

> If you interpret it as syntax (i.e., the *user specified* type) then a 
> cardinality could be appropriate. If it is the *actual type* (in the 
> sense that it should eventually resolve to the rdf:type of a value) 
> then, minCardinality is required. The understanding at the time of the 
> design was the latter.

I fully agree, of course, that a specific value of a parameter (at 
runtime) will normally have multiple types. E.g., if input I1 is 
defined to have parameterType "http://animalkingdom.com/....#Racoon" 
then when #Rocky is provided as a particular runtime value of I1, #Rocky 
clearly has (at least) types ...#Racoon, ...#Mammal, and ...#Animal.

Note that #Rocky is *not* an instance of I1, in the OWL sense. As you 
know, the relationship between I1 and a runtime value like #Rocky isn't 
made explicit in OWL-S (although various people, including you, have 
ideas about how to extend OWL-S to make it explicit). What I mean is 
that there's no explicit property, like, say,
runtime_value_of(#Rocky, #I1)
that relates these 2 things.

#Rocky *does* of course have to be an instance of ....#Racoon. We know 
that (implicitly) because that's what our documentation says about how 
parameterType is supposed to be used.

What we are discussing here is possible values of instances of the 
property parameterType (like "http://animalkingdom.com/....#Racoon" in 
the above example). As the authors of the OWL-S ontology, we can say 
what a particular value of parameterType means. Why don't we just say 
that a particular value of parameterType is "a URI for a class 
description for the unique class that contains all possible values that 
can be taken by the relevant parameter at runtime". Then, it seems to 
me, parameterType declarations would correspond to most people's normal 
intuition of what a parameter type declaration means. And then a 
cardinality of 1 (which is also intuitive for most people here) would be 

What am I missing? Would this approach break something?

< snip ... >


Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.
Received on Saturday, 8 January 2005 13:18:42 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:54:14 UTC