Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests demonstrating forward-slash behaviors in Turtle, JSON-LD, and SPARQL #1872

Merged
merged 14 commits into from
May 17, 2022

Commits on Apr 25, 2022

  1. Add tests demonstrating forward-slash behaviors in Turtle, JSON-LD, a…

    …nd SPARQL
    
    Some correction is needed in the SPARQL engine to get these tests to
    pass.
    
    References:
    * RDFLib#1871
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    d3f953e View commit details
    Browse the repository at this point in the history
  2. Sort imports per isort

    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    9c9a27b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2022

  1. Configuration menu
    Copy the full SHA
    372b80a View commit details
    Browse the repository at this point in the history
  2. Separate compilation from results

    `_test_escapes_and_query` accidentally conflated the query "Running" as
    both compiling and returning results.  This patch changes the
    `query_ran` variable to `query_compiled`.
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed May 6, 2022
    Configuration menu
    Copy the full SHA
    bd612bc View commit details
    Browse the repository at this point in the history
  3. Change test form

    AJN: @aucampia suggested this patch in Pull Request discussion, and I
    applied it while fixing a typo.
    
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    aucampia authored and ajnelson-nist committed May 6, 2022
    Configuration menu
    Copy the full SHA
    62d71c9 View commit details
    Browse the repository at this point in the history
  4. Delay parse-failure tests until rdflib 7

    Some tests are now delayed for rdflib 7, as a result of discussion of
    balancing bug correction versus backwards compatibility.
    
    Suggested-by: Iwan Aucamp <aucampia@gmail.com>
    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed May 6, 2022
    Configuration menu
    Copy the full SHA
    bd02bc1 View commit details
    Browse the repository at this point in the history
  5. Delay parse-failure tests until rdflib 7 starts

    Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
    ajnelson-nist committed May 6, 2022
    Configuration menu
    Copy the full SHA
    149d046 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2022

  1. Configuration menu
    Copy the full SHA
    16c551d View commit details
    Browse the repository at this point in the history
  2. Leave future note for strict-mode flag

    Reported-by: Iwan Aucamp <aucampia@gmail.com>
    ajnelson-nist committed May 16, 2022
    Configuration menu
    Copy the full SHA
    45f232c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03d1ac6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd912ba View commit details
    Browse the repository at this point in the history

Commits on May 17, 2022

  1. Configuration menu
    Copy the full SHA
    d77d894 View commit details
    Browse the repository at this point in the history
  2. Some minor changes

    - I moved the Turtle and JSON-LD tests to `test/data/variants` as this
      allows for further expansion and uses a shared processor which
      somewhat simplifies testing.
    - I changed the JSON-LD to be compatible with Jena's riot and jsonld-cli
      as these do not allow for object valued `@type` directives. I also
      think this is in line with the JSON-LD spec.
    - I changed the conditional skips to xfails, as I think this is most
      appropriate in this case, we can provide a strict flag before version
      7.0, and the strict flag's default value can be varied from release to
      release.
    aucampia committed May 17, 2022
    10 Configuration menu
    Copy the full SHA
    c387c78 View commit details
    Browse the repository at this point in the history
  3. Address some issues in previous commit:

    - Use `_comment` instead of `@x-comment` to add a comment to JSONLD.
    - Fixed some typographical errors in tests.
    - Remove overpinning of output to simplify things a bit.
    aucampia committed May 17, 2022
    Configuration menu
    Copy the full SHA
    519febc View commit details
    Browse the repository at this point in the history