anchor.diff:    ) %>
   <skos:ConceptScheme rdf:about="<%= @conceptScheme['subject'] %>">
   
  -  <% for @e in @conn.exec(
  -    'select object from _rdf where predicate = $$dc:title$$ and subject = $1',
  -    [@conceptScheme['subject']]  
  -  ) %>
  +
  +	<% for @e in query_objects( 'dc:title',  @conceptScheme['subject'] ) %>
       <dc:title><%= @e['object'] %></dc:title>
     <% end%>
   
  -  <% for @e in @conn.exec(
  -    'select object from _rdf where predicate = $$dc:description$$ and subject = $1',
  -    [@conceptScheme['subject']]  
  -  ) %>
  +	<% for @e in query_objects( 'dc:description',  @conceptScheme['subject'] ) %>
       <dc:description><%= @e['object'] %></dc:description>
     <% end %>
   
  -  <% for @e in @conn.exec(
  -    'select object from _rdf where predicate = $$dc:creator$$ and subject = $1',
  -    [@conceptScheme['subject']]  
  -  ) %>
  +	<% for @e in query_objects( 'dc:creator',  @conceptScheme['subject'] ) %>
       <dc:creator>
         <foaf:Organisation>
           <foaf:name><%= @e['object'] %></foaf:name>
  
positive.code: 
    <dc:rights>Freely Available For Reuse</dc:rights>
  
    <% for @e in @conn.exec(
      'select object from _rdf where predicate = $$dcterms:issued$$ and subject = $1',
      [@conceptScheme['subject']]  
    ) %>
    <dcterms:issued><%= @e['object'] %></dcterms:issued>
    <% end %>
  
  
negative.code:     </dc:creator>
    <% end %>
  
    <!-- TODO element is repeated twice -->
    
  	<% for @e in query_objects( 'dc:publisher',  @conceptScheme['subject'] ) %>
      <dc:publisher>
        <foaf:Organisation>
          <foaf:name><%= @e['object'] %></foaf:name>
  