Versioned dataset

LOGD: Data Description and Statistics reports __ Versioned datasets.


      google.load('visualization', '1', {packages:['table']});
      google.setOnLoadCallback(google_visualization_API_loaded);

      function google_visualization_API_loaded() {
         load_stat_num_versioned_datasets();
         if($) {
               $.each($('div.sparql_query'), function(i,DIV) {
                     var endpoint = $(DIV).find('a.endpoint').attr('href');
                     var query_uri = $(DIV).find('a.query_uri').attr('href'); 
                                             $(DIV).find('a.query_uri').text(query_uri);
                     var url = endpoint+"?query-uri="+encodeURIComponent(query_uri);
                     $.each($(DIV).find('span.param'), function(i,SPAN) {
                           url += '&' + $(SPAN).attr('name') + '=' + encodeURIComponent($(SPAN).attr('value'));
                     });
                     $(DIV).find('a.results').attr('href',url);
               });
         }
      }

/////////////////////////////////////////////////////
      function load_stat_num_versioned_datasets() {
         if($) {
                   $.getJSON('http://logd.tw.rpi.edu/query/results/logd-stat-num-versioned-datasets.sparql.sparql',       
                        function handle(response) {
                            var val = '??';
                            if( response.results.bindings.length > 0 ) {
                                   val = response.results.bindings[0].count.value;
                            }
                            $('span.num_versioned_datasets').text(val);
                        }
                   );
         }
      }


Warning: Table './drupal/watchdog' is marked as crashed and last (automatic?) repair failed query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:337:\"Table './drupal/accesslog' is marked as crashed and last (automatic?) repair failed\nquery: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('Versioned dataset', 'node/2950', '', '10.0.1.254', 0, '2s8qo5qs5kt1jh30p4ea62snv1', 84, 1566239621)\";s:5:\"%file\";s:58:\"/data/www/html/drupal/modules/statistics/statistics.module\";s:5:\"%line\";i:63;}', 3, '', 'https://logd.tw.rpi.edu/vocab_page/VersionedDataset', ' in /data/www/html/drupal/includes/database.mysqli.inc on line 134