Test Tabs widget

    @prefix foaf:  <http://xmlns.com/foaf/0.1/>.
    @prefix sched: <http://www.w3.org/ns/pim/schedule#>.
    @prefix cal:   <http://www.w3.org/2002/12/cal/ical#>.
    @prefix dc:    <http://purl.org/dc/elements/1.1/>.
    @prefix ui:    <http://www.w3.org/ns/ui#>.
    @prefix trip:  <http://www.w3.org/ns/pim/trip#>.
   # Initialize a basic set of 3 tabs
<#tabs> a ui:Tabs;
  ui:predicate trip:attachmentList;
  ui:orientation 0; ui:ordered true;
  ui:subject <#it>.
<#it>
  trip:attachmentList ( <http://aclu.org/> <http://inrupt.com/> <https://webfoundation.org/> ) .

#ends

    # Remove the middle tab
    <#tabs> a ui:Tabs;
      ui:predicate trip:attachmentList;
      ui:orientation 0; ui:ordered true;
      ui:subject <#it>.
    <#it>
      trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

     #  Add three more in the middle
     <#tabs> a ui:Tabs;
       ui:predicate trip:attachmentList;
       ui:orientation 0; ui:ordered true;
       ui:subject <#it>.
     <#it>
       trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

      #  Add three more in the middle
      <#tabs> a ui:Tabs;
        ui:predicate trip:attachmentList;
        ui:orientation 0; ui:ordered true;
        ui:subject <#it>.
      <#it>
        trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

       #  Add one more on each end
       <#tabs> a ui:Tabs;
         ui:predicate trip:attachmentList;
         ui:orientation 0; ui:ordered true;
         ui:subject <#it>.
       <#it>
         trip:attachmentList ( <http://acm.org/>  <http://aclu.org/>
         <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/>
         <http://www.zenith.org/> ) .

        #  Reverse the list
        <#tabs> a ui:Tabs;
          ui:predicate trip:attachmentList;
          ui:orientation 0; ui:ordered true;
          ui:subject <#it>.
        <#it>
          trip:attachmentList (
          <http://www.zenith.org/>
          <https://webfoundation.org/>
          <http://dbp.de/>
          <http://cbc.ca/>
          <http://bbc.co.uk/>
          <http://aclu.org/>
          <http://acm.org/>
           ) .

      # Remove all but one
      <#tabs> a ui:Tabs;
        ui:predicate trip:attachmentList;
        ui:orientation 0; ui:ordered true;
        ui:subject <#it>.
      <#it>
        trip:attachmentList ( <https://webfoundation.org/> ) .

       <#tabs> a ui:Tabs;
         ui:predicate trip:attachmentList;
         ui:orientation 1; ui:ordered true;
         ui:subject <#it>.
       <#it>
         trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

         # Remove the middle tab
         <#tabs> a ui:Tabs;
           ui:predicate trip:attachmentList;
           ui:orientation 1; ui:ordered true;
           ui:subject <#it>.
         <#it>
           trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

          #  Add three more in the middle
          <#tabs> a ui:Tabs;
            ui:predicate trip:attachmentList;
            ui:orientation 1; ui:ordered true;
            ui:subject <#it>.
          <#it>
            trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

           #  Add three more in the middle
           <#tabs> a ui:Tabs;
             ui:predicate trip:attachmentList;
             ui:orientation 1; ui:ordered true;
             ui:subject <#it>.
           <#it>
             trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

            #  Add one more on each end
            <#tabs> a ui:Tabs;
              ui:predicate trip:attachmentList;
              ui:orientation 1; ui:ordered true;
              ui:subject <#it>.
            <#it>
              trip:attachmentList ( <http://acm.org/>  <http://aclu.org/>
              <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/>
              <http://www.zenith.org/> ) .

             #  Reverse the list
             <#tabs> a ui:Tabs;
               ui:predicate trip:attachmentList;
               ui:orientation 1; ui:ordered true;
               ui:subject <#it>.
             <#it>
               trip:attachmentList (
               <http://www.zenith.org/>
               <https://webfoundation.org/>
               <http://dbp.de/>
               <http://cbc.ca/>
               <http://bbc.co.uk/>
               <http://aclu.org/>
               <http://acm.org/>
                ) .

           # Remove all but one
           <#tabs> a ui:Tabs;
             ui:predicate trip:attachmentList;
             ui:orientation 1; ui:ordered true;
             ui:subject <#it>.
           <#it>
             trip:attachmentList ( <https://webfoundation.org/> ) .

            <#tabs> a ui:Tabs;
              ui:predicate trip:attachmentList;
              ui:orientation 2; ui:ordered true;
              ui:subject <#it>.
            <#it>
              trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

              # Remove the middle tab
              <#tabs> a ui:Tabs;
                ui:predicate trip:attachmentList;
                ui:orientation 2; ui:ordered true;
                ui:subject <#it>.
              <#it>
                trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

               #  Add three more in the middle
               <#tabs> a ui:Tabs;
                 ui:predicate trip:attachmentList;
                 ui:orientation 2; ui:ordered true;
                 ui:subject <#it>.
               <#it>
                 trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

                #  Add three more in the middle
                <#tabs> a ui:Tabs;
                  ui:predicate trip:attachmentList;
                  ui:orientation 2; ui:ordered true;
                  ui:subject <#it>.
                <#it>
                  trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

                 #  Add one more on each end
                 <#tabs> a ui:Tabs;
                   ui:predicate trip:attachmentList;
                   ui:orientation 2; ui:ordered true;
                   ui:subject <#it>.
                 <#it>
                   trip:attachmentList ( <http://acm.org/>  <http://aclu.org/>
                   <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/>
                   <http://www.zenith.org/> ) .

                  #  Reverse the list
                  <#tabs> a ui:Tabs;
                    ui:predicate trip:attachmentList;
                    ui:orientation 2; ui:ordered true;
                    ui:subject <#it>.
                  <#it>
                    trip:attachmentList (
                    <http://www.zenith.org/>
                    <https://webfoundation.org/>
                    <http://dbp.de/>
                    <http://cbc.ca/>
                    <http://bbc.co.uk/>
                    <http://aclu.org/>
                    <http://acm.org/>
                     ) .

                # Remove all but one
                <#tabs> a ui:Tabs;
                  ui:predicate trip:attachmentList;
                  ui:orientation 2; ui:ordered true;
                  ui:subject <#it>.
                <#it>
                  trip:attachmentList ( <https://webfoundation.org/> ) .

     <#tabs> a ui:Tabs;
       ui:predicate trip:attachmentList;
       ui:orientation 3; ui:ordered true;
       ui:subject <#it>.
     <#it>
       trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

       # Remove the middle tab
       <#tabs> a ui:Tabs;
         ui:predicate trip:attachmentList;
         ui:orientation 3; ui:ordered true;
         ui:subject <#it>.
       <#it>
         trip:attachmentList ( <http://aclu.org/>  <https://webfoundation.org/> ) .

        #  Add three more in the middle
        <#tabs> a ui:Tabs;
          ui:predicate trip:attachmentList;
          ui:orientation 3; ui:ordered true;
          ui:subject <#it>.
        <#it>
          trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

         #  Add three more in the middle
         <#tabs> a ui:Tabs;
           ui:predicate trip:attachmentList;
           ui:orientation 3; ui:ordered true;
           ui:subject <#it>.
         <#it>
           trip:attachmentList ( <http://aclu.org/>  <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/> ) .

          #  Add one more on each end
          <#tabs> a ui:Tabs;
            ui:predicate trip:attachmentList;
            ui:orientation 3; ui:ordered true;
            ui:subject <#it>.
          <#it>
            trip:attachmentList ( <http://acm.org/>  <http://aclu.org/>
            <http://bbc.co.uk/>  <http://cbc.ca/>  <http://dbp.de/>  <https://webfoundation.org/>
            <http://www.zenith.org/> ) .

           #  Reverse the list
           <#tabs> a ui:Tabs;
             ui:predicate trip:attachmentList;
             ui:orientation 3; ui:ordered true;
             ui:subject <#it>.
           <#it>
             trip:attachmentList (
             <http://www.zenith.org/>
             <https://webfoundation.org/>
             <http://dbp.de/>
             <http://cbc.ca/>
             <http://bbc.co.uk/>
             <http://aclu.org/>
             <http://acm.org/>
              ) .

         # Remove all but one
         <#tabs> a ui:Tabs;
           ui:predicate trip:attachmentList;
           ui:orientation 3; ui:ordered true;
           ui:subject <#it>.
         <#it>
           trip:attachmentList ( <https://webfoundation.org/> ) .