Resources
<% if @type_filter %>
Of type:
<% if @type %>
<%= link_to @type.label || @type.uri, resource_path_from_uri(@type.uri) %>
<% else %>
<%= link_to @type_filter, resource_path_from_uri(@type_filter) %>
<% end %>
<% end %>
<% if @dataset_filter %>
In dataset:
<% if @dataset %>
<%= link_to @dataset.title, @dataset %>
<% else %>
<%= link_to @dataset_filter, resource_path_from_uri(@dataset_filter) %>
<% end %>
<% end %>
<% @resources.each do |r| %>
<%= link_to (r.label || r.uri), resource_path_from_uri(r.uri) %>
<% end %>
<%= paginate @resources %>
Get this list as:
<%= link_to 'N-triples', :format => 'nt', :page => @page, :per_page => @per_page %>
<%= link_to 'Turtle', :format => 'ttl', :page => @page, :per_page => @per_page %>
<%= link_to 'RDF/XML', :format => 'rdf',:page => @page, :per_page => @per_page %>
<%= link_to 'JSON', :format => 'json', :page => @page, :per_page => @per_page %>