lib/rdf/rdfxml/writer.rb
# Perform any statement preprocessing required. This is used to perform reference counts and determine required prefixes.
#
# For RDF/XML, make sure that all predicates have CURIEs
# @param [Statement] statement
Perform any statement preprocessing required. This is used to perform reference counts and determine required prefixes.
For RDF/XML, make sure that all predicates have CURIEs
Perform any statement preprocessing required . This is used to perform reference counts and determine required prefixes . For RDF / XML make sure that all predicates have CURIEs
def preprocess_statement(statement)
      super
      ensure_curie(statement.predicate)
      ensure_curie(statement.object) if statement.predicate == RDF.type
    end
def preprocess_statement ( statement ) super ensure_curie ( statement . predicate ) ensure_curie ( statement . object ) if statement . predicate == RDF . type end
Perform any statement preprocessing required.
Perform any statement preprocessing required .
# Invent a prefix for the predicate, if necessary
statement
<not_specific>
<not_specific>
None