class WikidataPositionHistory::BioRow

Represents a single row returned from the Position query

Public Instance Methods

image_title() click to toggle source
# File lib/sparql/bio_query.rb, line 48
def image_title
  return if image_url.to_s.empty?

  image_url.split('/').last
end
person() click to toggle source
# File lib/sparql/bio_query.rb, line 44
def person
  item_from(:item)
end

Private Instance Methods

image_url() click to toggle source
# File lib/sparql/bio_query.rb, line 62
def image_url
  raw(:image)
end