surroundaustralia / VocPrez-theme-ogc

A VocPrez UI theme for the Open Geospatial Consortium
0 stars 2 forks source link

Indicate that a Concept has a Profile view available #10

Open nicholascar opened 3 years ago

nicholascar commented 3 years ago

You can already discover all the profile views of an object via Alterante Profiles view but in the main HTML, it might be nice to have a note to user that a particular view exists.

rob-metalinkage commented 3 years ago

There are several options that are more general vocprez potentials:

  1. mix-in - profile properties exist for the objects - these are simply object properties (prof:hasResource) that could be handled with a generic object node handler - i.e a popup with link to the associated resource
  2. entail ResourceDescriptors as skos:Concepts so hasResource object properties become links to details
  3. add option to have a custom widget (like the alternates box) that highlights if an object is polymorphically a Profile, and supply a custom template (like alternates) - this could be generic for any polymorphism and would address another issue in vocprez's ability to describe rdf:type properties other than Concept

the general approach of handling of blank node properties is probably relevant here.