lib/rdf/rdfxml/reader.rb
# Reify subject, predicate, and object given the EvaluationContext (ec) and current XMl element (el)
Reify subject, predicate, and object given the EvaluationContext (ec) and current XMl element (el)
Reify subject predicate and object given the EvaluationContext ( ec ) and current XMl element ( el )
def reify(id, el, subject, predicate, object, ec)
      add_debug(el, "reify, id: #{id}")
      rsubject = ec.base.join("#" + id)
      add_triple(el, rsubject, RDF.subject, subject)
      add_triple(el, rsubject, RDF.predicate, predicate)
      add_triple(el, rsubject, RDF.object, object)
      add_triple(el, rsubject, RDF.type, RDF["Statement"])
    end
def reify ( id , el , subject , predicate , object , ec ) add_debug ( el , "reify, id: #{id}" ) rsubject = ec . base . join ( "#" + id ) add_triple ( el , rsubject , RDF . subject , subject ) add_triple ( el , rsubject , RDF . predicate , predicate ) add_triple ( el , rsubject , RDF . object , object ) add_triple ( el , rsubject , RDF . type , RDF [ "Statement" ] ) end
Reify subject, predicate, and object given the EvaluationContext (ec) and current XMl element (el)
Reify subject predicate and object given the EvaluationContext ( ec ) and current XMl element ( el )
id
<not_specific>
el
<not_specific>
subject
<not_specific>
predicate
<not_specific>
object
<not_specific>
ec
<not_specific>