Skip to content

Commit

Permalink
Add parent
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaier committed Jan 19, 2014
1 parent fbdd9b6 commit 5da5528
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/bibtex/entry/rdf_converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ def pages
end
end

def parent
graph << [entry, RDF::DC.isPartOf, bibtex.parent.to_rdf]
end

def publisher
return unless bibtex.field?(:publisher)
remove_from_fallback(:publisher, :address)
Expand Down

0 comments on commit 5da5528

Please sign in to comment.