epimorphics / elda

Epimorphics implementation of the Linked Data API
Other
53 stars 27 forks source link

Question: Customise nested resource display #190

Closed jgrzebyta closed 6 years ago

jgrzebyta commented 7 years ago

I know the basic feature of customised view is just to create one with paths I want to display. Is there any other way for customisation?

In my project I have many annotation rdf nodes of items which are inherited rdfs:Statement. So the core predicates are rdfs:subject, rdfs:predicate and rdfs:object + extended core annotatedBy and rdfs:label + sometimes I give additional parameters such as score or rank. However Elda displays only URI, label and subject (see picture).

Is it possible to create a generic rule that in case of nested annotation statement (that is rdf class AnnotationStatement) displays only uri, label, annotatedBy + optional rank and score?

annotated

jgrzebyta commented 7 years ago

Partially fixed that by adding *,*.label at the end of api:properties so it does not affect the other items following the same url rule.

jgrzebyta commented 6 years ago

Found