     @prefix : <http://dig.csail.mit.edu/TAMI/2007/amord/tms#> .
    @prefix SC: <http://dig.csail.mit.edu/2009/IARPA-PIR/Yotam_Work/SC_Retrieval_Policy_New#> .
    @prefix Supe: <http://dig.csail.mit.edu/2009/IARPA-PIR/Yotam_Work/SuperClass_Query1_new#> .
    @prefix air: <http://dig.csail.mit.edu/TAMI/2007/amord/air#> .
    @prefix db: <http://dig.csail.mit.edu/2009/IARPA-PIR/Yotam_Work/http//dig.csail.mit.edu/db#> .
    @prefix list: <http://www.w3.org/2000/10/swap/list#> .
    @prefix log: <http://www.w3.org/2000/10/swap/log#> .
    @prefix s: <http://dig.csail.mit.edu/2009/IARPA-PIR/sparql#> .
    @prefix type: <http://dig.csail.mit.edu/2009/IARPA-PIR/generic#> .
    
    SC:SC_Retrieval_Rule1     :justification :premise .
    
    Supe:Query-1     air:non-compliant-with SC:SC_RP_New .
    {
        Supe:Query-1     air:non-compliant-with SC:SC_RP_New .
        
        }     :description  (
        Supe:Query-1
        " retrieves "
        db:B
        ", and since "
        db:B
        " is in "
        db:A
        ", this is illegal." );
         :justification  [
             :antecedent-expr  [
                 a :And-justification;
                 :sub-expr  [
                     air:instanceOf SC:SC_Retrieval_Rule3;
                     :justification  [
                         :antecedent-expr  [
                             a :And-justification;
                             :sub-expr  [
                                 air:instanceOf SC:SC_Retrieval_Rule2;
                                 :description  (
                                Supe:Query-1
                                " is a query." );
                                 :justification  [
                                     :antecedent-expr  [
                                         a :And-justification;
                                         :sub-expr SC:SC_Retrieval_Rule1,
                                                {Supe:Query-1     a s:Query;
                                             s:Clause <#_g0>;
                                             s:VarList <#_g1> .
                                        } ];
                                     :rule-name SC:SC_Retrieval_Rule1 ] ],
                                     [
                                 air:closed-world-assumption  (
                                SC:SC_RP_New
                                air:base-rules
                                <http://dig.csail.mit.edu/2009/IARPA-PIR/Yotam_Work/SuperClass_Query1_New.n3>
                                <http://dig.csail.mit.edu/TAMI/2007/amord/base-assumptions.ttl> );
                                 :justification :premise ],
                                    {} ];
                         :rule-name SC:SC_Retrieval_Rule2 ] ],
                        {SC:G     log:includes { @forSome Supe:S .
                    Supe:S     type:B db:B .
                    } .
                db:B     db:in db:A .
                type:B     list:in  (
                    type:B
                    type:C
                    type:D ) .
                <#_g1>     s:variable db:B .
                <#_g0>     s:TriplePattern {Supe:S     type:B db:B .
                    } .
                } ];
             :rule-name SC:SC_Retrieval_Rule3 ] .
    {
        SC:G     log:includes { @forSome Supe:S .
            Supe:S     type:B db:B .
            } .
        Supe:Query-1     a s:Query;
             s:Clause <#_g0>;
             s:VarList <#_g1> .
        db:B     db:in db:A .
        type:B     list:in  (
            type:B
            type:C
            type:D ) .
        <#_g1>     s:variable db:B .
        <#_g0>     s:TriplePattern {Supe:S     type:B db:B .
            } .
        
        }     :justification :premise .
    
