%li
  %ul.stats
    - if ontology.logic
      %li= ontology.logic
    
    - if ontology.entities_count
      %li= link_to pluralize(ontology.entities_count, 'Entity'), [ontology, :entities]
      %li= link_to pluralize(ontology.axioms_count, 'Axiom'), [ontology, :axioms]
    
    - else
      %li= ontology.state
  
  %h3= link_to highlight(ontology.to_s, @search), ontology
  
  %p= highlight(ontology.uri.to_s, @search)

%li
  %ul.stats
    - if ontology.language
      %li= ontology.language
    
    - if ontology.entities_count
      %li= link_to pluralize(ontology.entities_count, 'Entity'), [ontology, :entities]
      %li= link_to pluralize(ontology.axioms_count, 'Axiom'), [ontology, :axioms]
    
    - else
      %li= ontology.state
  
  %h3= link_to highlight(ontology.to_s, @search), ontology
  
  %p= highlight(ontology.iri.to_s, @search)

Fix view reference to ontology properties
Fix view reference to ontology properties
