Question about process:hasInput

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 UTC