W3C home > Mailing lists > Public > public-sws-ig@w3.org > September 2004

profile vs. process

From: dink <dink@mis.ccu.edu.tw>
Date: Tue, 14 Sep 2004 21:40:19 +0800
Message-ID: <002d01c49a60$609b87c0$98ae7b8c@dink>
To: <public-sws-ig@w3.org>
Hello...
After reading the example of BravoAir,I have some questions.
1.Should the Input and Output of the process  conform to hasInput and hasOutput of the profile?
  Ex:   There are 3 input and 2 output in the EXprofile.owl 
       <profile:hasInput rdf:resource="http://www.ccu.edu.tw/EXProcess.owl#I1 /> 
          <profile:hasInput rdf:resource="http://www.ccu.edu.tw/EXProcess.owl#I2 /> 
          <profile:hasInput rdf:resource="http://www.ccu.edu.tw/EXProcess.owl#I3 /> 
        <profile:hasOutput rdf:resource="http://www.ccu.edu.tw/EXProcess.owl#O1/> 
         <profile:hasOutput rdf:resource="http://www.ccu.edu.tw/EXProcess.owl#O2/> 

              There are 2 atomic process in the EXprocess.owl
          <process:AtomicProcess rdf:ID="A1">
    <process:hasInput rdf:resource="#I1/> 
    <process:hasInput rdf:resource="#I2/> 
    <process:hasInput rdf:resource="#I3/> 
    <process:hasOutput rdf:resource="#O1/> 
        </process:AtomicProcess>
        <process:AtomicProcess rdf:ID="A2">
      <process:hasInput rdf:resource="#I1/> 
      <process:hasInput rdf:resource="#I4/>                      Is it illegal since the input I4 in the EXprocess.owl doesn't appear in the EXprofile.owl. 
      <process:hasOutput rdf:resource="#O2/> 
  </process:AtomicProcess>

2.
 <process:Perform>
    <process:process rdf:resource="#CompleteReservation" /> 
    <process:hasDataFrom>
     <process:Binding>
              <process:toParam rdf:resource="#ChosenFlight" /> 
           <process:valueSource>
            <process:ValueOf>
                          <process:theVar rdf:resource="#ChosenFlight" /> 
                          <process:fromProcess rdf:resource="http://www.daml.org/services/owl-s/1.1B/Process.owl#TheParentPerform" />          
      Does it say the ChosenFlight equal to The ChosenFlight of the process "TheParentPerform"? But in the BravoAirProcess.owl,there is no "TheParentPerform" process.
                           </process:ValueOf>
                       </process:valueSource>
                </process:Binding>
         </process:hasDataFrom>
         </process:Perform>
Received on Tuesday, 14 September 2004 13:53:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:32:46 UTC