geovistory / design-system

MIT License
2 stars 1 forks source link

Hide nested properties for Persistent Items #113

Open joschne opened 11 months ago

joschne commented 11 months ago

Problem Description

Currently, geov-entity shows the nested properties for all classes. While nice for temporal entities, for most persistent items this is confusing. See the examples:

image

Functional requirement Persistent items should only be displayed with class name and entity label, not with nested properties.

Technical specification

First, the RDF has to contain the class hierarchy with owl:subclassOf [to be specified elsewhere].

Then, in geov-entity-props-by-predicate query if the entity is a persistent item (as a boolean). If so, in renderURI(), add a case for persistent items and render the class label and the entity label.

Acceptance criteria

The geov-entity of Johannes Kepler should show the gender without nested properties.