It is probably the case that Bernhard is white. It is probably not the case that Lily is a rhino. It is unlikely that Mary went to the garden. It is highly unlikely that if 'Lily is a rhino and Mary went to the garden' then Brian is a lion. It is improbable that if 'Bernhard is white' or 'Mary went to the garden' or both then Julius is yellow. It is probable that if 'Lily is a rhino' or 'Bernhard is white' or both then Sumit is tired.
There is little chance that either 'Julius is yellow' or 'Brian is a lion' but not both.
There is little chance that either 'Julius is yellow' or 'Brian is a lion' but not both.
It is probable that either 'Julius is yellow' or 'Brian is a lion' but not 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.7::factA.
  0.25::factB.
  0.2::factC.
  %hop1
  0.05::factX:-and(factB,factC).
  0.1::factY:-or(factA,factC).
  0.7::factZ:-or(factB,factA).

  %hop2
  conclusion:-xor(factY,factX).

  query(conclusion).
  
Either 'Julius is yellow' or 'Brian is a lion' but not both.