Sha256: 65d0ae90701c77402b46187ac600c9d8d543e2bd83901db50c0e8ec6441bc458
Contents?: true
Size: 511 Bytes
Versions: 3
Compression:
Stored size: 511 Bytes
Contents
module TestReasoningAdapter include ActiveRDF def test_subproperties if $activerdf_internal_reasoning @adapter.load(File.dirname(File.expand_path(__FILE__)) + '/../test_relations.nt') assert_equal Set[TEST::grandmother], Set.new(Query.new.distinct(:s).where(:s, TEST::ancestor, TEST::mother).reasoning(true).execute) assert_equal Set[TEST::mother,TEST::son], Set.new(Query.new.distinct(:s).where(:s, TEST::relative, TEST::daughter).reasoning(true).execute) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activerdf_net7-1.7.2 | test/adapters/test_reasoning_adapter.rb |
activerdf_net7-1.7.1 | test/adapters/test_reasoning_adapter.rb |
activerdf_net7-1.7.0 | test/adapters/test_reasoning_adapter.rb |