Skip to content

How to add multiple instances of the same class to the type index #32

Open
@angelo-v

Description

@angelo-v

My understanding until today was, that there should only be one type registration per class, and I list all the instances under the solid:instance predicate, like this

<#id1711048996537> 
    solid:forClass <http://www.w3.org/2006/vcard/ns#AddressBook>;
    solid:instance ex:first-address-book, ex:second-address-book .

However I noticed, that the SolidOS contacts-pane creates a new type registration for each address book like this:

<#id1711048996537> solid:forClass <http://www.w3.org/2006/vcard/ns#AddressBook>;
        solid:instance ex:first-address-book .

<#id1711049030051> solid:forClass <http://www.w3.org/2006/vcard/ns#AddressBook>;
        solid:instance ex:second-address-book .

Which one is correct, or should either be allowed?

Also: Is it allowed to leave out the solid:TypeRegistration type as SolidOS does?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions