Tour: use "pubDate eq 2018" as vc example
This example has a much higher utility value and also works with many
corpora, so it needs to be customized less often.
Change-Id: Ia0a562850be46b6cbf754e97df294904b93aa9d2
diff --git a/dev/js/src/loc/dereko.js b/dev/js/src/loc/dereko.js
index 0dd826c..87b99d4 100644
--- a/dev/js/src/loc/dereko.js
+++ b/dev/js/src/loc/dereko.js
@@ -8,7 +8,7 @@
define(function () {
const loc = KorAP.Locale;
-
+
//Query example for guided tour
if (loc.TOUR_Qexample == undefined)
loc.TOUR_Qexample = "laufen";
@@ -17,14 +17,14 @@
if (loc.TOUR_vcQuery == undefined)
loc.TOUR_vcQuery = {
'@type' : 'koral:doc',
- 'key' : 'docSigle',
+ 'key' : 'pubDate',
'match': 'match:eq',
- 'value' : 'WPD17/D01',
+ 'value' : '2018',
};
-
+
if (loc.TOUR_Relations == undefined)
loc.TOUR_Relations = "malt/d";
- if (loc.TOUR_DocSigle == undefined)
- loc.TOUR_DocSigle = "WPD17/D01";
+ if (loc.TOUR_pubDate == undefined)
+ loc.TOUR_pubDate = "2018";
});