lib/rdf/reasoner/schema.rb in rdf-reasoner-0.0.3 vs lib/rdf/reasoner/schema.rb in rdf-reasoner-0.0.4
- old
+ new
@@ -26,23 +26,9 @@
([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?
)?
)?
$)x.freeze
- # domain_includes accessor
- # @return [Array<RDF::Vocabulary::Term>]
- def domain_includes
- Array(@attributes["schema:domainIncludes"]).map {|v| RDF::Vocabulary.expand_pname(v)}
- end
- alias_method :domainIncludes, :domain_includes
-
- # range_includes accessor
- # @return [Array<RDF::Vocabulary::Term>]
- def range_includes
- Array(@attributes["schema:rangeIncludes"]).map {|v| RDF::Vocabulary.expand_pname(v)}
- end
- alias_method :rangeIncludes, :range_includes
-
##
# Schema.org requires that if the property has a domain, and the resource has a type that some type matches some domain.
#
# Note that this is different than standard entailment, which simply asserts that the resource has every type in the domain, but this is more useful to check if published data is consistent with the vocabulary definition.
#
\ No newline at end of file