Class: RDF::Statement
- Inherits:
-
Object
- Object
- RDF::Statement
- Defined in:
- lib/json/ld/extensions.rb
Instance Method Summary collapse
-
#valid_extended? ⇒ Boolean
Validate extended RDF.
Instance Method Details
#valid_extended? ⇒ Boolean
Validate extended RDF
13 14 15 16 17 18 |
# File 'lib/json/ld/extensions.rb', line 13 def valid_extended? subject? && subject.resource? && subject.valid_extended? && predicate? && predicate.resource? && predicate.valid_extended? && object? && object.term? && object.valid_extended? && (graph? ? (graph_name.resource? && graph_name.valid_extended?) : true) end |