Terminology about User Data

Hello everyone!

I’ve got a terminology question (thinking about the data that a user may have):

  • there’s the typical “properties” like foaf:name, ldp:inbox, etc etc.
  • then there’s the data that is listed by class in the typeIndex.

If the first type of data can be reasonably referred to as “properties”, what is the second type of data called?

For some context, I’m structuring a JS Object to define where to populate data from. Something like

{
  subject: "https://jshurmer.inrupt.net/profile/card#me",
  properties: {
    name: "foaf:name",
    job: "vcard:role",
  },
  "?WHAT?": {
    bookmarks: "http://www.w3.org/2002/01/bookmark#Bookmark",
  },
}

That JS Object would be used to create an object with data filled in and accessible like foo.name, foo.job, foo.bookmarks. foo.bookmarks would be filled with all the bookmarks found by following the subject’s publicTypeIndex, as specified in the data-discovery proposal

1 Like

That sounds awfully similar to LDflex btw, might be some overlap?

Yes. I’m using LDflex to populate the data.

This is going to be for the vue plugin I’m writing. Enabling you to specify what data to load when you’re writing your component. Much like Vue’s data and computed properties.

2 Likes

I ended up not needing a word for this :smiley:
Still interested in any thoughts people may have though, there doesn’t seem to be a word to describe these pieces of data in particular.

What I ended up doing: simply put all the data definitions in one object. If the value is string type resolve it as a simple property. If it’s an object type then treat it as a class definition.

      subject: 'https://jshurmer.inrupt.net/profile/card#me',
      properties: {
        name: 'name',
        job: 'vcard:role',
        bookmarks: {
          type: 'http://www.w3.org/2002/01/bookmark#Bookmark',
          properties: {
            link: 'http://www.w3.org/2002/01/bookmark#recalls',
            title: 'dct:title',
          }
        },
3 Likes