Class | Redland::Statement |
In: |
lib/rdf/redland/statement.rb
|
Parent: | Object |
Redland Statement (triple class). The main means of manipulating statements is by the subject,predicate,and object properties
require 'rdf' Statement creation from nodes statement1 = Statement.new(node1,node2,node3) statement2 = Statement.new(:statement=>statement) if statement2.resource? puts "statement2.subject has uri #{statement2.subject.uri}"