Sha256: 45ee9ff938a23ce359a25301425c4f20f92a613a709a4a9e4f4ae445c4f96abc
Contents?: true
Size: 576 Bytes
Versions: 2
Compression:
Stored size: 576 Bytes
Contents
%tr - # TODO Fact#objects_by_predicate => array + (single, join, ...) - used = ontology_predicate.detect{ |fact| fact.predicate == 'meta:predicate_used'} - uri = ontology_predicate.detect{ |fact| fact.predicate == 'dbd: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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dbd_onto_engine-0.0.9 | app/views/dbd_onto_engine/ontologies/_ontology_predicate.html.haml |
dbd_onto_engine-0.0.8 | app/views/dbd_onto_engine/ontologies/_ontology_predicate.html.haml |