# Terminology about User Data

**URL:** <https://forum.solidproject.org/t/terminology-about-user-data/2041>\
**Category:** Developer Experience\
**Created:** [July 25, 2019, 1:11pm UTC](https://forum.solidproject.org/t/terminology-about-user-data/2041 "2019-07-25T13:11:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JordanShurmer](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jordanshurmer/32/113_2.png) [@JordanShurmer](https://forum.solidproject.org/u/JordanShurmer)\
**Post date:** [July 25, 2019, 1:11pm UTC](https://forum.solidproject.org/t/terminology-about-user-data/2041/1 "2019-07-25T13:11:22Z")

</div>

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

```auto
{
  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](https://github.com/solid/solid/blob/master/proposals/data-discovery.md)

---

<div class="post-metadata">

**Author:** ![megoth](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/megoth/32/8_2.png) [@megoth](https://forum.solidproject.org/u/megoth)\
**Post date:** [July 25, 2019, 1:21pm UTC](https://forum.solidproject.org/t/terminology-about-user-data/2041/2 "2019-07-25T13:21:20Z")

</div>

That sounds awfully similar to [LDflex](https://github.com/RubenVerborgh/LDflex) btw, might be some overlap?

---

<div class="post-metadata">

**Author:** ![JordanShurmer](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jordanshurmer/32/113_2.png) [@JordanShurmer](https://forum.solidproject.org/u/JordanShurmer)\
**Post date:** [July 25, 2019, 1:29pm UTC](https://forum.solidproject.org/t/terminology-about-user-data/2041/3 "2019-07-25T13:29:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JordanShurmer](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/jordanshurmer/32/113_2.png) [@JordanShurmer](https://forum.solidproject.org/u/JordanShurmer)\
**Post date:** [July 25, 2019, 4:39pm UTC](https://forum.solidproject.org/t/terminology-about-user-data/2041/4 "2019-07-25T16:39:00Z")

</div>

I ended up not needing a word for this 😃  
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.

```auto
      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',
          }
        },

```
