It is highly likely that Brian is a rhino. It is improbable that Sumit is hungry. It is almost certain that Lily is green. It is likely that if either 'Sumit is hungry' or 'Brian is a rhino' but not both then Mary left the football. It is unlikely that if 'Brian is a rhino and Lily is green' then Julius is a swan. It is likely that if either 'Sumit is hungry' or 'Lily is green' but not both then Sandra took the football.
It is certain that 'Brian is a rhino' or 'Lily is green' or both.
It is certain that 'Brian is a rhino' or 'Lily is green' or both.
We doubt that 'Brian is a rhino' or 'Lily is green' or both.

  and(A,B) :- A,B.
  or(A,B) :- A;B.
  nand(A,B) :- not(and(A,B)).
  nor(A,B) :- not(or(A,B)).
  xor(A,B) :- or(A,B), nand(A,B).

  %hop0
  0.9::factA.
  0.1::factB.
  0.95::factC.
  %hop1
  0.7::factX:-xor(factB,factA).
  0.2::factY:-and(factA,factC).
  0.7::factZ:-xor(factB,factC).

  %hop2
  conclusion:-or(factA,factC).

  query(conclusion).
  
'Brian is a rhino' or 'Lily is green' or both.