]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
Wikidata music cards: use RWO URIs from $1 if available
authorDan Scott <dan@coffeecode.net>
Mon, 13 Jan 2020 01:47:52 +0000 (20:47 -0500)
committerDan Scott <dan@coffeecode.net>
Mon, 13 Jan 2020 02:24:19 +0000 (21:24 -0500)
commit9074b70b9284954977a41fb25fbb6afa549d35af
tree017dfb8dd32ab466895815a509866ab1275306a6
parentff1815723792d5b427deda53bc3deddad2ef8764
Wikidata music cards: use RWO URIs from $1 if available

If the bib record contains a $1 subfield that points to a Wikidata Real
World URI, such as http://www.wikidata.org/entity/Q709024, surface that
in the author's RDfa as a schema.org/sameAs relation.

For music cards, the presence of a Wikidata RWO URI enables us to skip
searching by name and serve up the data directly based on the RWO URI.

The explicit RWO URI avoids disambiguation problems as arises with names
such as "Alexander Young" who is both a Scottish musician and an English
tenor, and sets the stage for expanding the Wikidata entity card
functionality outside of the domain of music.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/web/js/ui/default/opac/wikidata_music_card.js
test_wikidata.html