All,
I'm trying to define this one simple rule using the Jess Tab in Protege 3.4.3:
 
(defrule duplicate_requirement 
"This rule will search by requirement name to find duplicates"
?softwareRequirement1 <- 
(object {is-a == 
http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirement})
?softwareRequirement2 <- 
(object {is-a == 
http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirement  
&& http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirementName ==
?softwareRequirement1.http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirementName})
=>(printout t "Found Duplicate Requirements" 
?person1.http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirementName 
crlf))
 
Jess returns this error: 
Message: Can't use infix expressions with multislots at token 
http://pluto.cse.msstate.edu/rae20/SRSontology#SoftwareRequirementName. 
 
I'm simply trying to compare two object facts of a 'is-a' type and seeing if 
the RequirementName slots are identical.  Thanks for the help.
 
______________________________
Robert  




      

Reply via email to