How to show the type of link (inline format)

Hello

In my notes I use typeoflink:: [[note]] and I would like to create a simple table that show the note linked with its type.

for the moment I created this request but I don’t know how to add as a column the type of link

Table WITHOUT ID 
file.link as "Concept", description as "Description", file.outlinks as "Relationshiph"
From "Concept"
Where Type = "metaclass"
Sort DESC

Regards
Michel

Hello.

This works in a local test vault:

```dataview
TABLE WITHOUT ID 
file.link AS Concept
, description AS Description
, file.outlinks AS Relationships
, typeoflink AS Link
FROM "Concept"
WHERE Type = "metaclass"
SORT file.name ASC
```

1 Like

The simplest variant to show the property Type is to just type it out…

```dataview
TABLE WITHOUT ID file.link as "Concept", Type
FROM "Concept"
SORT Type desc
```

Or are you asking about something entirely different?

On a possible related side note, if typeoflink is set to [[metaclass]] you can’t do typeoflink == metaclass, but needs to to typeoflink == link("metaclass") or typeoflink == [[metaclass]] in your DQL query.

And you also need to change the syntax/mapping if you want to showcase each of the outlinks with their associated link type.