Verbatim RDF dataset

LOGD: Data Description and Statistics reports __ Verbatim RDF datasets.


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

      function google_visualization_API_loaded() {
         load_stat_num_verbatim_conversions();
         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_verbatim_conversions() {
         if($) {
                   $.getJSON('http://logd.tw.rpi.edu/query/results/logd-stat-num-verbatim-and-enhanced-conversions.sparql.sparql',       
                        function handle(response) {
                            var val = '??';
                            if( response.results.bindings.length > 0 ) {
                                   val = response.results.bindings[0].verbatim.value;
                            }
                            $('span.num_verbatim_conversions').text(val);
                        }
                   );
         }
      }