<commit_before># coding: utf-8
#
require 'spec_helper'

# This is a W3C test from the DAWG test suite:
# http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dawg-dataset-02
#
# This test is approved: 
# http://www.w3.org/2007/06/26-dawg-minutes
#
describe "W3C test" do
  context "dataset" do
    before :all do
      @query = %q{
        (prefix ((: <http://example/>))
          (dataset ((named <data-g1.ttl>))
            (bgp (triple ?s ?p ?o))))
      }
    end

    example "dawg-dataset-02" do
    
      graphs = {}

      repository = 'dawg-dataset-02'
      expected = [
          { 
          },
      ]

      sparql_query(:graphs => graphs, :query => @query, :base_uri => File.expand_path(__FILE__),
                   :repository => repository, :form => :select).should =~ expected

    end
  end
end
<commit_msg>dataset-02 fix<commit_after># coding: utf-8
#
require 'spec_helper'

# This is a W3C test from the DAWG test suite:
# http://www.w3.org/2001/sw/DataAccess/tests/data-r2/dataset/dawg-dataset-02
#
# This test is approved: 
# http://www.w3.org/2007/06/26-dawg-minutes
#
describe "W3C test" do
  context "dataset" do
    before :all do
      @query = %q{
        (prefix ((: <http://example/>))
          (dataset ((named <data-g1.ttl>))
            (bgp (triple ?s ?p ?o))))
      }
    end

    example "dawg-dataset-02" do
    
      graphs = {}

      repository = 'dawg-dataset-02'
      expected = [
      ]

      sparql_query(:graphs => graphs, :query => @query, :base_uri => File.expand_path(__FILE__),
                   :repository => repository, :form => :select).should =~ expected

    end
  end
end

{'fraction_non_alphanumeric': 0.15562310030395138, 'fraction_numerical': 0.031610942249240125, 'mean_word_length': 2.2023346303501947, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7635065', 'n_tokens_mistral': 624, 'n_tokens_neox': 583, 'n_words': 131}