This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'rdf' | |
require 'linkeddata' | |
g = RDF::Graph.load("my.rdf") | |
puts "The graph object: #{g.inspect}" | |
q = " | |
PREFIX bf: <http://bibframe.org/vocab/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"> | |
<record> | |
<leader>01961cem a2200361Ia 4500</leader> | |
<controlfield tag="001">ocm58595591</controlfield> | |
<controlfield tag="003">SIRSI</controlfield> | |
<controlfield tag="007">aj canzn</controlfield> | |
<controlfield tag="008">050324s2005 dcubg a 0 eng d</controlfield> | |
<datafield tag="034" ind1="0" ind2=" "> | |
<subfield code="a">a</subfield> | |
</datafield> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<record> | |
<leader>01344cjm a2200361 4500</leader> | |
<controlfield tag="001">AAA0003</controlfield> | |
<controlfield tag="003">SIRSI</controlfield> | |
<controlfield tag="005">19900820141050.0</controlfield> | |
<controlfield tag="007">sd|bsmennmplne</controlfield> | |
<controlfield tag="008">741105s1969 nyuopn d | ita </controlfield> | |
<datafield tag="010" ind1=" " ind2=" "> | |
<subfield code="a"> 77750270</subfield> | |
</datafield> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<collection xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/MARC21/slim"> | |
<record id="catkey_9751722"> | |
<leader>00956 am 2200229Ii 4500</leader> | |
<controlfield tag="001">a9751722</controlfield> | |
<controlfield tag="003">OCoLC</controlfield> | |
<controlfield tag="005">20121109100648.0</controlfield> | |
<controlfield tag="008">121109t20082008dcu bg 100 0 eng d</controlfield> | |
<datafield tag="040" ind1=" " ind2=" "> | |
<subfield code="a">RCJ</subfield> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<collection xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/MARC21/slim"> | |
<record id="catkey_9707536"> | |
<leader>00956cas 2200229Ki 4500</leader> | |
<controlfield tag="001">a9707536</controlfield> | |
<controlfield tag="003">SIRSI</controlfield> | |
<controlfield tag="005">20120915011431.0</controlfield> | |
<controlfield tag="008">861113c19uu9999is uu p 0 h0heb d</controlfield> | |
<datafield tag="040" ind1=" " ind2=" "> | |
<subfield code="a">HLS</subfield> |