     @prefix : <#> .
     @prefix daml: <http://www.daml.org/2001/03/daml+oil#> .
     @prefix log: <http://www.w3.org/2000/10/swap/log#> .
    
         @forAll :a,
                :b,
                :p .
    
    :ancestor     a daml:TransitiveProperty .
    
    :bill     :ancestor :pa .
    
    :pa     :ancestor :granpa .
    {
        :a     :means :b .
        
        }     log:implies {:a     log:implies :b .
        :b     log:implies :a .
        } .
    {
        :p     a daml:TransitiveProperty .
        
        }     :means {{
                 @forAll :x,
                        :y,
                        :z .
            {
                :x     :p :y .
                :y     :p :z .
                
                }     log:implies {:x     :p :z .
                } .
            
            }     a log:Truth .
        } .
    {
        :a     log:implies :b .
        :b     log:implies :a .
        
        }     log:implies {:a     :means :b .
        } .
    
