The syntax and semantic of this rule is correct?

?emp rdf:type URI:Employee + ?emp URI:NetSalary ?salary+
greaterThan(?salary, 5000), lessThan(?salary, 10000)-> ?emp rdf:type
URI:Manager

Of course this will not execute because I skip proper syntax, but I wonder
this rule will work or not if some employee have salary between 5000 and
10000.
I am confuse in greaterThan and lessThan part of the rule, if it will work
or not?

Reply via email to