(functional hasConcentrationRisk )
(range hasConcentrationRisk *real* 0.0 200.0 )
(define-fuzzy-concept negligibleCR
left-shoulder(0.0, 200.0, 20.0, 40.0) )
(define-fuzzy-concept acceptableCR
trapezoidal(0.0, 200.0, 20.0, 40.0, 80.0, 90.0) )
(define-fuzzy-concept nearCR
trapezoidal(0.0, 200.0, 80.0, 90, 100.0, 100.0) )
(define-fuzzy-concept equivalentCR
crisp(0.0, 200.0, 100.0, 100.0) )
(define-fuzzy-concept highCR
trapezoidal(0.0, 200.0, 100.0, 100, 120.0, 130.0) )
(define-fuzzy-concept intolerableCR
right-shoulder(0.0, 200.0, 120.0, 130.0) )
(functional hasConcentrationTrend )
(range hasConcentrationTrend *real* 0.0 3.0 )
(define-fuzzy-concept decreaseOrStabilize
crisp(0.0, 3.0, 0.0, 0.0) )
(define-fuzzy-concept longTermIncrease
crisp(0.0, 3.0, 1.0, 1.0) )
(define-fuzzy-concept mediumTermIncrease
crisp(0.0, 3.0, 2.0, 2.0) )
(define-fuzzy-concept shortTermIncrease
crisp(0.0, 3.0, 3.0, 3.0) )
(functional hasAdjustmentPeriod )
(range hasAdjustmentPeriod *real* 0.0 3.0)
(define-fuzzy-concept unnecessaryAP
crisp(0.0, 3.0, 0.0, 0.0))
(define-fuzzy-concept shortAP crisp(0.0, 3.0, 1.0, 1.0))
(define-fuzzy-concept mediumAP crisp(0.0, 3.0, 2.0, 2.0))
(define-fuzzy-concept longAP crisp(0.0, 3.0, 3.0, 3.0))
(functional hasAdjustmentCost )
(range hasAdjustmentCost *real* 0.0 3.0 )
(define-fuzzy-concept unnecessaryAC
crisp(0.0, 3.0, 0.0, 0.0))
(define-fuzzy-concept lowAC crisp(0.0, 3.0, 1.0, 1.0))
(define-fuzzy-concept mediumAC crisp(0.0, 3.0, 2.0, 2.0))
(define-fuzzy-concept highAC crisp(0.0, 3.0, 3.0, 3.0))
(functional hasAggregateRisk )
(range hasAggregateRisk *real* 1.0 15.0 )
(define-fuzzy-concept negligibleAR
crisp(1.0, 15.0, 1.0, 1.5) )
(define-fuzzy-concept veryLowAR
triangular(1.0, 15.0, 1.5, 1.5, 4.75) )
(define-fuzzy-concept lowAR
triangular(1.0, 15.0, 1.5, 4.75, 8.0) )
(define-fuzzy-concept mediumAR
triangular(1.0, 15.0, 4.75, 8.0, 11.25) )
(define-fuzzy-concept highAR
triangular(1.0, 15.0, 8.0, 11.25, 14.5) )
(define-fuzzy-concept veryHighAR
triangular(1.0, 15.0, 11.25, 14.5, 14.5) )
(define-fuzzy-concept intolerableAR
crisp(1.0, 15.0, 14.5, 15.0) )
Listing 1: Risk factors defined in the fuzzy ontology.
(define-concept CompliantAnalysis
(and AnalyteSampleAnalysis
(<= hasConcentrationRisk 100.0 )))
(define-concept NonCompliantAnalysis
(and AnalyteSampleAnalysis
(> hasConcentrationRisk 100.0 )))
(define-concept NoIntervention (and CompliantAnalysis
(some hasAggregateRisk negligibleAR)))
(define-concept PreventiveIntervention
(and (some hasConcentrationTrend shortTermIncrease)
(some hasAggregateRisk mediumAR)))
(define-concept MaximumIntervention
(and NonCompliantAnalysis
(some hasAggregateRisk intolerableAR)))
(instance analysis1 AnalyteSampleAnalysis)
(related analysis1 metidation hasAnalyte)
(related analysis1 milkSample1 hasSample)
(instance analysis1 (= hasConcentrationRisk 121.2 ))
(instance analysis1 (= hasConcentrationTrend 3.0 ))
(instance analysis1 (= hasAdjustmentPeriod 3.0 ))
(instance analysis1 (= hasAdjustmentCost 2.0 ))
Listing 2: Concept definitions in the fuzzy ontology.
Instead of using the Chem-risk approach (de Ma-
galhes Junior, 2011) to compute AR, domain ex-
perts were requested to express their knowledge us-
ing Mamdani rules combining the risk factors to in-
fer AR. In this case study, fuzzy rules contribute to
make the process more transparent and interpretable
for PNCRC and MAPA decision makers, due to the
linguistic terms that are closer to human language.
Then, the results obtained with the hybrid reasoner
were compared with Chem-risk, which provides ap-
propriate results according to PNCRC experts. A to-
tal of 17 Mamdani rules were modeled, some of them
illustrated in Listing 3 using Fuzzy Jess.
Using the fuzzy ontology and Mamdani rules, the
HyFOM reasoner was applied to provide recommen-
dations on aggregate risk and intervention actions re-
lated to food samples. Following the approach de-
scribed in Section 3, individuals of the concept Ana-
lyteSampleAnalysis (see an example in Listing 2) are
passed to the HyFOM reasoner to obtain AR values
based on Mamdani rules. The corresponding input
property values are obtained from the fuzzy ontology,
as they are modeled as property assertions. Then, the
Mamdani FIS generates the output values, which are
returned to the fuzzy ontology under expert supervi-
sion. After that, the outputs can be considered in the
fuzzy instance check involving the concepts NoInter-
vention, PreventiveIntervention and MaximumInter-
vention to recommend the appropriate intervention.
ICEIS2013-15thInternationalConferenceonEnterpriseInformationSystems
374