Sha256: c89b22dd6d8fbec7afb6a1314f7336ceeb60e6386381468e28ac3f8978ebcfb4

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

%tr
  - used = ontology_predicate.detect{ |fact| fact.predicate == 'meta:predicate_used'}
  - uri = ontology_predicate.detect{ |fact| fact.predicate == 'rdf:uri'}.object
  - defines_predicate = ontology_predicate.detect{ |fact| fact.predicate == 'meta:defines_predicate'}.object
  %td= used ? 'V' : '-'
  %td= link_to(defines_predicate, uri)
  %td= ontology_predicate.detect{ |fact| fact.predicate == 'rdfs:label'}.object
  %td= ontology_predicate.detect{ |fact| fact.predicate == 'rdfs:comment'}.object

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dbd_onto_engine-0.0.6 app/views/dbd_onto_engine/ontologies/_ontology_predicate.html.haml