Search Mailing List Archives
[protege-dev] SWRL differentFrom() Problem.
csnyulas at stanford.edu
Sat May 16 10:56:42 PDT 2015
Also, in Protege 5 you need to use comma (,) instead of the hat (^)
On 05/16/2015 10:30 AM, Samson Tu wrote:
> In Protege 3.5, the rule works. In Protege 5, you need to write
> “differentFrom” as “DifferentFrom.”
> Had you declared that your Ingredients individuals are different from
> each other?
> /With best regards,/
>> On May 15, 2015, at 6:12 PM, Win Sivilai <sivilai.s at gmail.com
>> <mailto:sivilai.s at gmail.com>> wrote:
>> Hello you guys.
>> food:Patients(?p) ∧ food:Ingredients(?i) ^ differentFrom(?i,
>> Chicken) → food:RecommendedIngredients(?p, ?i)
>> From example I need retrieve all ingredients without "Chicken" but
>> this format is not work.
>> It's has another way to resolve?
>> Thank you so much
>> Sorry for my bad English.
>> protege-dev mailing list
>> protege-dev at lists.stanford.edu <mailto:protege-dev at lists.stanford.edu>
> Samson Tu email: swt at stanford.edu <mailto:swt at stanford.edu>
> Senior Research Scientist web: www.stanford.edu/~swt/
> Center for Biomedical Informatics Researchphone: 1-650-725-3391
> Stanford University fax: 1-650-725-7944
> protege-dev mailing list
> protege-dev at lists.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-dev