It is almost certain that Mary moved to the office. It is probable that Julius is a swan. It is highly unlikely that Lily is a rhino. There is a very good chance that if either 'Lily is a rhino' or 'Julius is a swan' but not both then Gertrude is a cat. There is almost no chance that if 'Mary moved to the office and Julius is a swan' then Greg is a frog. There is a better than even chance that if 'Lily is a rhino and Mary moved to the office' then Bill went to the garden.
It is highly unlikely that 'Lily is a rhino' or 'Julius is a swan' or both.
It is probable that 'Lily is a rhino' or 'Julius is a swan' or both.
It is highly unlikely that 'Lily is a rhino' or 'Julius is a swan' 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.95::factA.
  0.7::factB.
  0.05::factC.
  %hop1
  0.8::factX:-xor(factC,factB).
  0.02::factY:-and(factA,factB).
  0.6::factZ:-and(factC,factA).

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

  query(conclusion).
  
'Lily is a rhino' or 'Julius is a swan' or both.