Sha256: cd86ad979b91c65927ae2162fa1df1fdfe8ae1bcd26de4454b4d57370aeae2da
Contents?: true
Size: 801 Bytes
Versions: 7
Compression:
Stored size: 801 Bytes
Contents
require 'sparql/algebra' module ShEx::Algebra # Implements `satisfies?` and `not_satisfies?` module ShapeExpression ## # Satisfies method # @param [RDF::Resource] focus # @param [Integer] depth for logging # @param [Hash{Symbol => Object}] options # Other, operand-specific options # @return [ShapeExpression] with `matched` and `satisfied` accessors for matched triples and sub-expressions # @raise [ShEx::NotMatched] with `expression` accessor to access `matched` and `unmatched` statements along with `satisfied` and `unsatisfied` operations. # @see [http://shex.io/shex-semantics/#shape-expression-semantics] def satisfies?(focus, depth: 0, **options) raise NotImplementedError, "#satisfies? Not implemented in #{self.class}" end end end
Version data entries
7 entries across 7 versions & 1 rubygems