class Marc2LinkedData::OclcWork

Constants

PREFIX
OCLC is inconsistent with use of 'www' in URIs

PREFIX = ‘www.worldcat.org/entity/work/id/’

Public Instance Methods

example_works() click to toggle source
# File lib/marc2linkeddata/oclc_work.rb, line 11
def example_works
  q = SPARQL.parse("SELECT * WHERE { <#{@iri}> <http://schema.org/workExample> ?o }")
  rdf.query(q).collect {|s| s[:o] }
end