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

Question about process:hasInput

From: Jyotishman Pathak <jyotishman@gmail.com>
Date: Mon, 31 Jan 2005 09:10:38 -0600
Message-ID: <b6d82a81050131071065a1ebe3@mail.gmail.com>
To: owlseditor-discussion@projects.semwebcentral.org, protege-owl@smi.stanford.edu, "Public-Sws-Ig@W3. Org" <public-sws-ig@w3.org>
Cc: jpathak@iastate.edu

Hi,

I have a small question about describing inputs for a process in the
process.owl file using the OWL-s editor plug-in for Protege. Let me
explain this via an example:

Assume, that I have an atomic process and it takes an ApartmentNumber
as one its inputs.

<process:hasInput>
<process:Input rdf:ID="ApartmentNumber">
   <process:parameterType
rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
   >http://www.w3.org/2001/XMLSchema#integer</process:parameterType>
 </process:Input>
<process:hasInput>

As you can see, the parameterType of this input is of type XSD
(Integer). Now, imagine the same concept/class "ApartmentNumber"
defined in some other ontolgy and I want to re-use that class in my
process.owl.

Assuming, this_can_be_done, the following is the structure of my input:

<process:hasInput>
   <process:Input
rdf:resource="http://combinatoria.cs.iastate.edu/Ontologies/DomainRestaurants.owl#ApartmentNumber">
   <process:parameterType
rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI">
   http://www.w3.org/2001/XMLSchema#integer</process:parameterType>
   </process:Input>
   </process:hasInput>

where, "http://combinatoria.cs.iastate.edu/Ontologies/DomainRestaurants.owl"
is the ontology in which the "ApartmentNumber" class is described.

But, when I do this, the editor creates an input of type
"Anonymous-1". Also, when I try to view the RDF/XML source code for
this ontlogy, I cannot see the input.

So, is there something wrong with the editor or am I doing something
wrong myself ?

Kindly let me know your comments & suggestions.

Regards,
Jyoti.
Received on Monday, 31 January 2005 15:11:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 16 March 2008 00:10:59 GMT