A query that displays the type of reference to a page?

Below is a query I created to retrieve a list of other pages that the current page references:

#+BEGIN_QUERY
{:title [:h4 "QUERY References to ☞ "]
    :query [
            :find (pull ?p [*])
            :in $ ?current
            :where
            [?b :block/page ?current-page]
            [?p :page/journal? false]
            [?current-page :block/name ?current]
            (or-join [?b ?p]
              [?b :block/refs ?p]
              (and [?p :block/alias ?a] [?b :block/refs ?a])
            )
    ]
    :inputs [:current-page]
    :collapsed? true}
#+END_QUERY

This query retrieves various items: pages simply referenced by the current page, pages embedded in the current page, pages containing blocks embedded in the current page, pages referenced in the current page’s page properties, pages referenced in the current page’s block properties, markers and keys of properties. (However, for pages containing an embedded block, instead of showing the name, ‘제목 없음’(‘No Title’?) is displayed.)

Is there a way to modify this query to display the type of reference in query-table mode? In other words, can it show ‘link’ for simple references, ‘embedded page’ for embedded pages, ‘embedded block’ for pages containing embedded blocks, and also show the relevant property key for pages referenced in page or block properties?

Separately, I am also curious if there is a way to display the names of the pages containing an embedded block, which currently show as ‘No Title’."