     @prefix : <http://dig.csail.mit.edu/TAMI/2007/amord/tms#> .
    @prefix air: <http://dig.csail.mit.edu/TAMI/2007/amord/air#> .
    @prefix log: <http://www.w3.org/2000/10/swap/log#> .
    @prefix que: <http://dig.csail.mit.edu/2009/IARPA-PIR/query1#> .
    @prefix s: <http://dig.csail.mit.edu/2009/IARPA-PIR/sparql#> .
    @prefix ssn: <http://dig.csail.mit.edu/2009/IARPA-PIR/ssn-policy#> .
    
     @forSome <#_g0> .
    
    que:Query-5     air:non-compliant-with ssn:SSNPolicy,
                ssn:SSNPolicy_OptionalClause .
    
    ssn:SSN_OP01     :justification :premise .
    
    ssn:SSN_RULE1     :justification :premise .
    
    <#_g0>     air:closed-world-assumption  (
        ssn:SSNPolicy
        ssn:SSNPolicy_WhereClause
        ssn:SSNPolicy_OptionalClause
        ssn:SSNPolicy_OutputRule
        ssn:SSNPolicy_FilterRule
        air:base-rules
        <http://dig.csail.mit.edu/2009/IARPA-PIR/usecase0/query5.n3>
        <http://dig.csail.mit.edu/TAMI/2007/amord/base-assumptions.ttl> );
         :justification :premise .
    {
        que:Query-5     air:non-compliant-with ssn:SSNPolicy .
        
        }     :description  (
        "The query, "
        que:Query-5
        ", includes reference to SSN number in the optional part of the where clause" );
         :justification  [
             :antecedent-expr  [
                 a :And-justification;
                 :sub-expr  [
                     air:instanceOf ssn:SSN_RULE5;
                     :justification  [
                         :antecedent-expr  [
                             a :And-justification;
                             :sub-expr  [
                                 air:instanceOf ssn:SSN_RULE3;
                                 :justification  [
                                     :antecedent-expr  [
                                         a :And-justification;
                                         :sub-expr  [
                                             air:instanceOf ssn:SSN_RULE2;
                                             :description  (
                                            que:Query-5
                                            " is a SPARQL query" );
                                             :justification  [
                                                 :antecedent-expr  [
                                                     a :And-justification;
                                                     :sub-expr ssn:SSN_RULE1,
                                                            {que:Query-5     a s:Select;
                                                         s:POSList <#_g1>;
                                                         s:WhereClause que:WHERE .
                                                    } ];
                                                 :rule-name ssn:SSN_RULE1 ] ],
                                                <#_g0>,
                                                {} ];
                                     :rule-name ssn:SSN_RULE2 ] ],
                                     [
                                 air:closed-world-assumption  (
                                ssn:SSNPolicy
                                ssn:SSNPolicy_WhereClause
                                ssn:SSNPolicy_OptionalClause
                                ssn:SSNPolicy_OutputRule
                                ssn:SSNPolicy_FilterRule
                                air:base-rules
                                <http://dig.csail.mit.edu/2009/IARPA-PIR/usecase0/query5.n3>
                                <http://dig.csail.mit.edu/TAMI/2007/amord/base-assumptions.ttl>
                                <#_g0> );
                                 :justification :premise ],
                                    {} ];
                         :rule-name ssn:SSN_RULE3 ] ],
                        {que:WHERE     s:OptionalGraphPattern <#_g2> .
                ssn:T     log:includes { @forSome que:N,
                                que:S .
                    que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
                    } .
                <#_g2>     s:TriplePattern {que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
                    } .
                } ];
             :rule-name ssn:SSN_RULE5 ] .
    {
        que:Query-5     air:non-compliant-with ssn:SSNPolicy_OptionalClause .
        
        }     :description  (
        "The query, "
        que:Query-5
        ", includes reference to SSN number in the optional part of the where clause" );
         :justification  [
             :antecedent-expr  [
                 a :And-justification;
                 :sub-expr  [
                     air:instanceOf ssn:SSN_OP02;
                     :description  (
                    que:Query-5
                    " is a SPARQL query" );
                     :justification  [
                         :antecedent-expr  [
                             a :And-justification;
                             :sub-expr ssn:SSN_OP01,
                                    {que:Query-5     a s:Select;
                                 s:POSList <#_g1>;
                                 s:WhereClause que:WHERE .
                            } ];
                         :rule-name ssn:SSN_OP01 ] ],
                        {que:WHERE     s:OptionalGraphPattern <#_g2> .
                ssn:T     log:includes { @forSome que:N,
                                que:S .
                    que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
                    } .
                <#_g2>     s:TriplePattern {que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
                    } .
                } ];
             :rule-name ssn:SSN_OP02 ] .
    {
        que:Query-5     a s:Select;
             s:POSList <#_g1>;
             s:WhereClause que:WHERE .
        que:WHERE     s:OptionalGraphPattern <#_g2> .
        ssn:T     log:includes { @forSome que:N,
                        que:S .
            que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
            },
                    { @forSome que:N,
                        que:S .
            que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
            } .
        <#_g2>     s:TriplePattern {que:S     <http://xmlns.com/foaf/0.1/ssn> que:N .
            } .
        
        }     :justification :premise .
    
