Selecting items - but from where?

I think, if I understand correctly, for what your talking about you could use a data shape language for rdf like shex or shacl. A shex schema could be used to specify interface parameters or generate a user interface. Of course for that you would either need to know the shape ahead of time or be able to read it from somewhere.