[owl-s] IfThenElse condition statement
ahtisham_a at yahoo.com
Tue Jun 6 06:26:54 EDT 2006
I sended this query on OWL-S API mailing list last
month but got no response. I think last month quries
will go cold room and it is better to put query again.
May be someone took pity on my query.
i created a simple condition by using the following
Atom atom = swrlFactory.createLessThan(
where ap1 is an atomic process and o1 is its output
and ap2 is an atomic process and o2 is it output
Q1: how we can create a condition statement e.g.
ap1.o1 > 1
where ap1 is an atomic process and o1 is output of
Q2: Also how i can create a condition e.g.
(ap1.o1 >1) or (ap2.o2 < 1)
where ap1 is an atomic process and o1 is its output of
type int and ap2 is another atomic
process with output o2.
Q3: Similarly another example of some complex output
that i want to creat is!
((ap1.o1 >1 or ap2.o2 < 1) and ap3.o3 <1)
above statement show that this condition will become
ap1.o1 will be greater than 1 or ap2.o2 will be less
and ap3.o3 will be less than 1.
With tnx in advance.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the OWL-S