bug fix - relation value as a literal in rdf/xml
@@ -980,7 +980,7 @@ class Relation(AbstractMetaDataElement):
def rdf_triples(self, subject, graph):
relation_node = BNode()
graph.add((subject, self.get_class_term(), relation_node))
- graph.add((relation_node, getattr(HSTERMS, self.type), URIRef(self.value)))
+ graph.add((relation_node, getattr(HSTERMS, self.type), Literal(self.value)))
@classmethod
def ingest_rdf(cls, graph, subject, content_object):
