It is almost certain that Jessica is a cat. It is improbable that Greg is a lion. There is a better than even chance that John went to the hallway. It is impossible that if 'John went to the hallway and Greg is a lion' then Bernhard is a swan. There is almost no chance that if 'John went to the hallway' or 'Greg is a lion' or both then Emily is a sheep. It is impossible that if 'Jessica is a cat and Greg is a lion' then Brian is a rhino.
There is a better than even chance that 'John went to the hallway' or 'Emily is a sheep' or both.
There is a better than even chance that 'John went to the hallway' or 'Emily is a sheep' or both.
Chances are slight that 'John went to the hallway' or 'Emily is a sheep' 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.1::factB.
  0.6::factC.
  %hop1
  0.0::factX:-and(factC,factB).
  0.02::factY:-or(factC,factB).
  0.0::factZ:-and(factA,factB).

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

  query(conclusion).
  
'John went to the hallway' or 'Emily is a sheep' or both.