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

Bump rdf-n3 from 3.1.1 to 3.1.2 #2070

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 6, 2021

Bumps rdf-n3 from 3.1.1 to 3.1.2.

Release notes

Sourced from rdf-n3's releases.

Release 3.1.2

In spite of the minor version update, this is actually a major release introducing a substantial amount of reasoning in the gem. This version tracks the W3C N3 Community Group Specification which has incompatibilities with the Team Submission version. Notably:

  • The @keywords declaration is removed, and most form of @ keywords (e.g., @is, @has, @true) are no longer supported.
  • Terminals adhere closely to their counterparts in [Turtle][].
  • The modifier <- is introduced as a synonym for is ... of.
  • The SPARQL BASE and PREFIX declarations are supported.
  • Implicit universal variables are defined at the top-level, rather than in the parent formula of the one in which they are defined.

This brings N3 closer to compatibility with Turtle.

Syntax

  • Removes @a, @is expr @of, @has expr, @true, and @false; the non-@ versions remain.
  • Allow whitespace inside IRIREFs per Team Submission.

Models

  • Implements RDF::N3::List to subclass RDF::List for lists as first-class citizens including query support. Uses local storage for list elements, and allows recusive lists. Enumerating statements is recursive.
  • Implements RDF::N3::Repository which allows native lists as terms.
  • Implements RDF::N3::Algebra::Formula and Formula.from_enumerable as a generic method to turn a dataset into a recursive set of formulae (currently excludes list transformation).

Reasoner

Implements most Notation3 builtins:

RDF List vocabulary http://www.w3.org/2000/10/swap/list#

  • list:append (See {RDF::N3::Algebra::List::Append})
  • list:first (See {RDF::N3::Algebra::List::First})
  • list:in (See {RDF::N3::Algebra::List::In})
  • list:last (See {RDF::N3::Algebra::List::Last})
  • list:length (See {RDF::N3::Algebra::List::Length})
  • list:member (See {RDF::N3::Algebra::List::Member})

RDF Log vocabulary http://www.w3.org/2000/10/swap/log#

  • log:conclusion (See {RDF::N3::Algebra::Log::Conclusion})
  • log:conjunction (See {RDF::N3::Algebra::Log::Conjunction})
  • log:content (See {RDF::N3::Algebra::Log::Content})
  • log:equalTo (See {RDF::N3::Algebra::Log::EqualTo})
  • log:implies (See {RDF::N3::Algebra::Log::Implies})
  • log:includes (See {RDF::N3::Algebra::Log::Includes})
  • log:n3String (See {RDF::N3::Algebra::Log::N3String})
  • log:notEqualTo (See {RDF::N3::Algebra::Log::NotEqualTo})
  • log:notIncludes (See {RDF::N3::Algebra::Log::NotIncludes})
  • log:outputString See {RDF::N3::Algebra::Log::OutputString})
  • log:parsedAsN3 (See {RDF::N3::Algebra::Log::ParsedAsN3})
  • log:semantics (See {RDF::N3::Algebra::Log::Semantics})
Commits
  • 8bf96e7 Finish 3.1.2
  • 3a038b3 Version 3.1.2.
  • 339b6c7 Update README.
  • 735d0b2 Update dependencies.
  • 1089c0c Don't try to run ruby-head at all, until either net-http-persistent is update...
  • b80d2ac Retry ALLOWW_FAILURES.
  • c71e1f1 Allow failure for ruby-head. Awaiting Ruby 3 release of net-http-persistent.
  • b8bc8b9 Run CI using GitHub Actions.
  • 5484fa2 Add CLI options and a "reason" command.
  • b1ada1c Don't run tests using action base for result; rely on appropriate definition ...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies ruby Pull requests that update Ruby code labels Jan 6, 2021
@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rdf-n3-3.1.2 branch 3 times, most recently from d9edfa7 to 6382396 Compare January 6, 2021 16:41
@pgwillia
Copy link
Member

pgwillia commented Jan 6, 2021

Error:
Aip::V1::ThesesControllerTest#test_should_get_thesis_metadata_graph_with_n3_serialization_for_previously_embargo_example:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0dd96c98(default)>
    test/controllers/aip/v1/aip_theses_controller_test.rb:129:in `block in <class:ThesesControllerTest>'

rails test test/controllers/aip/v1/aip_theses_controller_test.rb:104

....E

Error:
Aip::V1::ThesesControllerTest#test_should_get_thesis_metadata_graph_with_n3_serialization_for_base_example:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0cc96498(default)>
    test/controllers/aip/v1/aip_theses_controller_test.rb:77:in `block in <class:ThesesControllerTest>'

rails test test/controllers/aip/v1/aip_theses_controller_test.rb:60

E

Error:
Aip::V1::ThesesControllerTest#test_should_get_thesis_fixity_metadata_graph_with_n3_serialization:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0dec8148(default)>
    test/controllers/aip/v1/aip_theses_controller_test.rb:211:in `block in <class:ThesesControllerTest>'

rails test test/controllers/aip/v1/aip_theses_controller_test.rb:191

ERROR [line 20]      Lexer error: With input '<rs:ln href="/items/8e18f37c-dc60-41bb-9459-990586176730/view/b54addbc-7ec6-4a83-96d1-6b0416b3e7c3/im': Invalid token "<rs:ln": {:production=>:path, :token=>"<rs:ln"}: 
ERROR [line 22]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 23]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 24]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 25]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 26]      Expected objectList: {:production=>:predicateObjectList, :token=>"."}: 
ERROR [line 20]      Lexer error: With input '<rs:ln href="/items/8e18f37c-dc60-41bb-9459-990586176730/view/b54addbc-7ec6-4a83-96d1-6b0416b3e7c3/im': Invalid token "<rs:ln": {:production=>:path, :token=>"<rs:ln"}: 
ERROR [line 22]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 23]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 24]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 25]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0da496d0(default)>
    test/controllers/aip/v1/aip_items_contoller_test.rb:83:in `block in <class:ItemsControllerTest>'

rails test test/controllers/aip/v1/aip_items_contoller_test.rb:65

E

Error:
Aip::V1::ItemsControllerTest#test_should_get_item_metadata_graph_with_n3_serialization_for_published_status_example:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0e6b9c80(default)>
    test/controllers/aip/v1/aip_items_contoller_test.rb:183:in `block in <class:ItemsControllerTest>'

rails test test/controllers/aip/v1/aip_items_contoller_test.rb:164

ERROR [line 20]      Lexer error: With input '<rs:ln href="/items/e2ec88e3-3266-4e95-8575-8b04fac2a679/view/105574d1-962e-4285-bfd7-060db18b5280/im': Invalid token "<rs:ln": {:production=>:path, :token=>"<rs:ln"}: 
ERROR [line 22]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 23]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 24]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 25]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 26]      Expected objectList: {:production=>:predicateObjectList, :token=>"."}: 
ERROR [line 20]      Lexer error: With input '<rs:ln href="/items/e2ec88e3-3266-4e95-8575-8b04fac2a679/view/105574d1-962e-4285-bfd7-060db18b5280/im': Invalid token "<rs:ln": {:production=>:path, :token=>"<rs:ln"}: 
ERROR [line 22]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 23]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 24]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 25]      Expected objectList: {:production=>:predicateObjectList, :token=>";"}: 
ERROR [line 26]      Expected objectList: {:production=>:predicateObjectList, :token=>"."}: 
E

Error:
Aip::V1::ItemsControllerTest#test_should_get_item_file_set_metadata_graph_with_n3_serialization:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0e4b144c(default)>
    test/controllers/aip/v1/aip_items_contoller_test.rb:246:in `block in <class:ItemsControllerTest>'

rails test test/controllers/aip/v1/aip_items_contoller_test.rb:222

E

Error:
Aip::V1::ItemsControllerTest#test_should_get_item_metadata_graph_with_n3_serialization_for_embargo_example:
NoMethodError: undefined method `isomorphic_with?' for #<RDF::Graph:0x2b2a0d9bd734(default)>
    test/controllers/aip/v1/aip_items_contoller_test.rb:107:in `block in <class:ItemsControllerTest>'

rails test test/controllers/aip/v1/aip_items_contoller_test.rb:86

@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rdf-n3-3.1.2 branch 6 times, most recently from 759fda8 to 714aa52 Compare January 13, 2021 17:04
@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rdf-n3-3.1.2 branch 6 times, most recently from 7801640 to 27ee843 Compare January 18, 2021 20:19
@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rdf-n3-3.1.2 branch from 27ee843 to 8962eba Compare January 18, 2021 21:57
@pgwillia pgwillia self-assigned this Jan 18, 2021
@pgwillia
Copy link
Member

ruby-rdf/rdf-n3@637e2ca#diff-89eebfcbc0f14b6d989517837ca1e94fce4e2ce9a03233641cd936f2b8d2ed94L22-L26

module RDF
  module Isomorphic
    alias_method :==, :isomorphic_with?
  end
end

was removed. Can update our tests to use assert_equal, rendered_graph, graph directly.

@pgwillia pgwillia force-pushed the dependabot/bundler/rdf-n3-3.1.2 branch from 5919851 to ab366b7 Compare January 19, 2021 00:02
@pgwillia pgwillia merged commit 77cfa9e into master Jan 19, 2021
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rdf-n3-3.1.2 branch January 19, 2021 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant