Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-9987

JSON-LD: Use "Concept URI" for Wikidata IRIs in the sameAs relation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021-03-15
    • Component/s: Embedded Metadata
    • Labels:
      None

      Description

      The JSON-LD of the page https://musicbrainz.org/work/17ff494f-7698-33ab-b841-b1ce5e01423a contains under the "sameAs" relation the entry https://www.wikidata.org/wiki/Q765883. That Wikidata page contains on the left a link labeled "Concept URI" whose value is http://www.wikidata.org/entity/Q765883. Note the /entity/ instead of /wiki/ (and the missing s in the scheme). So Wikidata seems to be making a difference between a "concept" and a page describing a concept. For more details on this distinction see [1].

      Therefore I propose changing the "sameAs" entry to the "Concept URI".

      This fine distinction becomes important when using for instance the Wikidata Query Service [2] (or the SPARQL endpoint). Try for instance those two example queries requesting an audio file of the recording:
      a)
      select * where {
      <https://www.wikidata.org/wiki/Q765883> wdt:P51 ?audio.
      }
      b)
      select * where {
      <http://www.wikidata.org/entity/Q765883> wdt:P51 ?audio.
      }

      Only b) has a result.

      [1] https://www.w3.org/TR/cooluris/
      [2] https://query.wikidata.org/

        Attachments

          Activity

            People

            Assignee:
            reosarevok Nicolás Tamargo
            Reporter:
            babelfisch Toni Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2021-03-15