[owl-s] missing "parameter type" in "profile.toRDF()"

ahtisham aslam ahtisham_a at yahoo.com
Tue Jan 3 07:31:33 EST 2006


HI,
I was trying to write some OWL-S services with OWL-S
API. Every thing goes fine (service executes well) but
the problem is that the output of the statement

"System.out.println(profile.toRDF())"

shows the input and output of the service but dont
shows the "parameterType" for inputs and outputs e.g.

  <profile:Profile
rdf:about="http://www.example.org/FindCheaperBook.owl#TestProfile">
    <rdfs:label>[null + null]</rdfs:label>
    <profile:hasInput
rdf:resource="http://www.example.org/FindCheaperBook.owl#TestInput"/>
    <service:presentedBy
rdf:resource="http://www.example.org/FindCheaperBook.owl#TestService"/>
    <profile:textDescription>[null +
null]</profile:textDescription>
    <profile:hasOutput
rdf:resource="http://www.example.org/FindCheaperBook.owl#TestOutput"/>
  </profile:Profile>

on the other hand the output of the statement

ont.write(System.out)

shows the parameterType for inputs and outputs e.g.

<profile:Profile
rdf:about="http://www.example.org/FindCheaperBook.owl#TestProfile">
    <rdfs:label>[null + null]</rdfs:label>
    <profile:hasInput>
      <process:Input
rdf:about="http://www.example.org/FindCheaperBook.owl#TestInput">
        <process:parameterType
rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
       
>http://www.w3.org/2001/XMLSchema#string</process:parameterType>
        <rdfs:label>Book Name</rdfs:label>
      </process:Input>
    </profile:hasInput>
    <service:presentedBy
rdf:resource="http://www.example.org/FindCheaperBook.owl#TestService"/>
    <profile:textDescription>[null +
null]</profile:textDescription>

    <profile:hasOutput>
      <process:Output
rdf:about="http://www.example.org/FindCheaperBook.owl#TestOutput">
        <rdfs:label>Book Price</rdfs:label>
        <process:parameterType
rdf:datatype="http://www.w3.org/2001/XMLSchema#anyURI"
       
>http://www.mindswap.org/2004/owl-s/concepts.owl#Price</process:parameterType>
      </process:Output>
    </profile:hasOutput>
  </profile:Profile>

is it some kind of bug in OWL-S API or what?

thanks in advance and bye.


	
		
__________________________________ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/


More information about the OWL-S mailing list