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

SWRL variables declared inline in OWL-S

From: John T.E. Timm <area51@asu.edu>
Date: Thu, 31 Aug 2006 18:40:17 -0700 (MST)
To: public-sws-ig@w3.org
Message-ID: <1157074817.44f78f81558d1@webmail.asu.edu>

In the OWL-S CongoBuy example there are SWRL variables which are defined in 
the argument of a SWRL expression used as an inCondition for a particular 
result as follows (see variable aBook):

      <swrl:propertyPredicate rdf:resource="&profileHierarchy;#title"/>
        <swrl:Variable rdf:ID="aBook"/>
      <swrl:argument2 rdf:resource="#FullCongoBuyBookName"/>
          <swrl:classPredicate rdf:resource="#OutOfStockBook"/>
          <swrl:argument1 rdf:resource="#aBook"/>
      <rdf:rest rdf:resource="&rdf;#nil"/>

Is it possible to define this variable as a ResultVar?

  <process:ResultVar rdf:ID="aBook">

What is the advantage of declaring the variable inline?  Aren't ResultVar(s) 
for those variables which are bound to an inCondition as per the spec?


John T.E. Timm
Ph.D. Student
Department of Computer Science and Engineering
Arizona State University
Received on Friday, 1 September 2006 17:48:34 UTC

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