Skip to content

Commit

Permalink
Merge pull request #604 from biolink/issue-599-evidence-create-date
Browse files Browse the repository at this point in the history
Emit creation date on Evidence individual
  • Loading branch information
dustine32 committed Nov 16, 2021
2 parents 7ba4e23 + 3f62c13 commit d3e3f72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ontobio/rdfgen/gocamgen/gocamgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,8 @@ def create_evidence(self, evidence):
self.emit_type(ev_id, OWL.NamedIndividual)
self.emit_type(ev_id, ev_cls)
self.emit(ev_id, DC.date, Literal(evidence.date))
if evidence.creation_date:
self.emit(ev_id, DCT.created, Literal(evidence.creation_date))
if evidence.with_from:
self.emit(ev_id, URIRef("http://geneontology.org/lego/evidence-with"), Literal(evidence.with_from))
for c in evidence.contributors:
Expand Down

0 comments on commit d3e3f72

Please sign in to comment.