Include musical ensembles
authorDan Scott <dscott@laurentian.ca>
Mon, 18 Sep 2017 05:02:37 +0000 (01:02 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 18 Sep 2017 05:02:37 +0000 (01:02 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/web/js/ui/default/opac/wikidata_music_card.js

index aba84ea..35b06ad 100644 (file)
@@ -90,7 +90,9 @@
         'UNION ' +
         '{ ?item wdt:P31 wd:Q5741069 . } ' + // rock band
         'UNION ' +
-        '{ ?item wdt:P106/wdt:P279* wd:Q639669 . } ' +
+        '{ ?item wdt:P106/wdt:P279* wd:Q639669 . } ' + // occupation = any subclass of musician
+        'UNION ' +
+        '{ ?item wdt:P31/wdt:P279* wd:Q2088357 . } ' + // instance of = any subclass of musical ensemble
         'OPTIONAL { ?item wdt:P3478 ?songKick } . ' +
         'OPTIONAL { ?item wdt:P19 ?birthPlace } . ' +
         'OPTIONAL { ?item wdt:P1303 ?instrument } . ' +