bolognese 1.5.8 → 1.5.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -14
- data/bolognese.gemspec +1 -2
- data/lib/bolognese.rb +0 -1
- data/lib/bolognese/metadata.rb +0 -3
- data/lib/bolognese/version.rb +1 -1
- data/lib/bolognese/writers/rdf_xml_writer.rb +6 -0
- data/lib/bolognese/writers/schema_org_writer.rb +1 -1
- data/lib/bolognese/writers/turtle_writer.rb +6 -0
- data/resources/schema_org/jsonldcontext.json +1069 -232
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_schema_org.yml +15 -154
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/journal_article.yml +2 -145
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/maremma.yml +7 -150
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/with_pages.yml +2 -145
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting.yml +5 -5
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_schema_org.yml +11 -11
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Dataset.yml +7 -150
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/journal_article.yml +2 -2
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/with_pages.yml +2 -2
- metadata +5 -29
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/BlogPosting_Citeproc_JSON.yml +0 -146
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_rdf_xml/Crossref_DOI.yml +0 -146
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/BlogPosting_Citeproc_JSON.yml +0 -146
- data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Crossref_DOI.yml +0 -144
data/spec/fixtures/vcr_cassettes/Bolognese_Metadata/write_metadata_as_turtle/Crossref_DOI.yml
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://schema.org/
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/ld+json;profile=http://www.w3.org/ns/json-ld#context, application/ld+json;q=0.9,
|
12
|
-
text/html;q=0.8, application/json;q=0.5
|
13
|
-
User-Agent:
|
14
|
-
- Ruby RDF.rb/3.1.1
|
15
|
-
Accept-Encoding:
|
16
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
17
|
-
response:
|
18
|
-
status:
|
19
|
-
code: 301
|
20
|
-
message: Moved Permanently
|
21
|
-
headers:
|
22
|
-
Location:
|
23
|
-
- https://schema.org/
|
24
|
-
X-Cloud-Trace-Context:
|
25
|
-
- a25bd617254742f94748be46462a7d6a
|
26
|
-
Date:
|
27
|
-
- Fri, 07 Feb 2020 11:00:34 GMT
|
28
|
-
Content-Type:
|
29
|
-
- text/html
|
30
|
-
Server:
|
31
|
-
- Google Frontend
|
32
|
-
Content-Length:
|
33
|
-
- '0'
|
34
|
-
body:
|
35
|
-
encoding: UTF-8
|
36
|
-
string: ''
|
37
|
-
http_version:
|
38
|
-
recorded_at: Fri, 07 Feb 2020 11:00:34 GMT
|
39
|
-
- request:
|
40
|
-
method: get
|
41
|
-
uri: https://schema.org/
|
42
|
-
body:
|
43
|
-
encoding: US-ASCII
|
44
|
-
string: ''
|
45
|
-
headers:
|
46
|
-
Accept:
|
47
|
-
- application/ld+json;profile=http://www.w3.org/ns/json-ld#context, application/ld+json;q=0.9,
|
48
|
-
text/html;q=0.8, application/json;q=0.5
|
49
|
-
User-Agent:
|
50
|
-
- Ruby RDF.rb/3.1.1
|
51
|
-
Accept-Encoding:
|
52
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
53
|
-
response:
|
54
|
-
status:
|
55
|
-
code: 200
|
56
|
-
message: OK
|
57
|
-
headers:
|
58
|
-
Access-Control-Allow-Origin:
|
59
|
-
- "*"
|
60
|
-
Content-Type:
|
61
|
-
- text/html
|
62
|
-
Cache-Control:
|
63
|
-
- public, max-age=600
|
64
|
-
Vary:
|
65
|
-
- Accept, Accept-Encoding
|
66
|
-
X-Cloud-Trace-Context:
|
67
|
-
- 206f64c01898abb49a2f683d45920c9f
|
68
|
-
Date:
|
69
|
-
- Fri, 07 Feb 2020 11:00:35 GMT
|
70
|
-
Server:
|
71
|
-
- Google Frontend
|
72
|
-
Content-Length:
|
73
|
-
- '5083'
|
74
|
-
Alt-Svc:
|
75
|
-
- quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443";
|
76
|
-
ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443";
|
77
|
-
ma=2592000
|
78
|
-
body:
|
79
|
-
encoding: UTF-8
|
80
|
-
string: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <!-- Generated from
|
81
|
-
headtags.tpl -->\n <meta charset=\"utf-8\" >\n <link rel=\"shortcut
|
82
|
-
icon\" type=\"image/png\" href=\"docs/favicon.ico\"/>\n <link rel=\"stylesheet\"
|
83
|
-
type=\"text/css\" href=\"docs/schemaorg.css\" />\n <link rel=\"stylesheet\"
|
84
|
-
type=\"text/css\" href=\"docs/prettify.css\" />\n <script type=\"text/javascript\"
|
85
|
-
src=\"docs/prettify.js\"></script>\n \n <script type=\"text/javascript\"
|
86
|
-
src=\"//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js\"></script>\n<!--
|
87
|
-
##### Generated insert [CSEScript-start] see scripts/genhtmlinserts.sh #####
|
88
|
-
--> \n<!-- Enable CSE Search -->\n<script>\n(function() {\nvar cx = '013516846811604855281:nj5laplixaa';
|
89
|
-
// Insert your own Custom Search engine ID here\nvar gcse = document.createElement('script');
|
90
|
-
gcse.type = 'text/javascript'; gcse.async = true;\ngcse.src = 'https://cse.google.com/cse.js?cx='
|
91
|
-
+ cx;\nvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse,
|
92
|
-
s);\n})();\n</script>\n<!-- ##### Generated insert [CSEScript-end] see scripts/genhtmlinserts.sh
|
93
|
-
##### --> \n<!-- End headtags.tpl -->\n <title>Home - schema.org</title>\n
|
94
|
-
\ <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n
|
95
|
-
\ <meta name=\"description\" content=\"Schema.org is a set of extensible
|
96
|
-
schemas that enables webmasters to embed\n structured data on their web
|
97
|
-
pages for use by search engines and other applications.\" />\n <link rel=\"stylesheet\"
|
98
|
-
type=\"text/css\" href=\"/docs/schemaorg.css\">\n</head>\n<body>\n<!-- Header
|
99
|
-
start from basicPageHeader.tpl -->\n<div id=\"container\">\n\t<div id=\"intro\">\n\t\t<div
|
100
|
-
id=\"pageHeader\">\n\t\t\t<div class=\"wrapper\">\n\t\t\t\t<div id=\"sitename\">\n\t\t\t\t<h1>\n\t\t\t\t\t<a
|
101
|
-
href=\"/\">schema.org</a>\n\t\t\t\t</h1>\n\t\t\t\t</div>\n\t\t\t\t<div id=\"cse-search-form\"
|
102
|
-
style=\"width: 400px;\"><div class=\"gcse-searchbox-only\" data-resultsUrl=\"docs/search_results.html\"></div></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n<div
|
103
|
-
id=\"selectionbar\">\n\t<div class=\"wrapper\">\n\t\t<ul>\n\t \n\t
|
104
|
-
\ <li>\n\t \n\t\t\t\t<a href=\"docs/documents.html\">Documentation</a>\n\t\t\t</li>\n\t
|
105
|
-
\ \n\t <li>\n\t \n\t\t\t\t<a href=\"docs/schemas.html\">Schemas</a>\n\t\t\t</li>\n\t\t\t<li>\n\t
|
106
|
-
\ \n\t\t\t\t<a href=\"docs/about.html\">About</a>\n\t \n\t\t\t</li>\n\t\t</ul>\n\t</div>\n</div>\n\n<!--
|
107
|
-
Header start from topnotes.tpl -->\n\n\n\n\n\n<!-- Header end from topnotes.tpl
|
108
|
-
-->\n\n<!-- Header end from basicPageHeader.tpl -->\n\n <div id=\"mainContent\">\n\n\n\n\n\n\n\n\n\n\n
|
109
|
-
\ <h1>Welcome to Schema.org</h1>\n\n\n<p>\n Schema.org is a collaborative,
|
110
|
-
community activity with a mission to create,\n maintain, and promote schemas
|
111
|
-
for structured data on the\n Internet, on web pages, in email messages,
|
112
|
-
and beyond.\n</p>\n\n<p>\n Schema.org vocabulary can be used with many
|
113
|
-
different encodings,\n including RDFa, Microdata and JSON-LD. These vocabularies
|
114
|
-
cover\n entities, relationships between entities and actions, and can\n
|
115
|
-
\ easily be extended through a well-documented extension model. Over 10
|
116
|
-
million sites use\n Schema.org to markup their web pages and email messages.\n
|
117
|
-
\ Many applications from Google, Microsoft, Pinterest, Yandex and others\n
|
118
|
-
\ already use these vocabularies to power rich, extensible experiences.\n</p>\n<p>\n
|
119
|
-
\ Founded by Google, Microsoft, Yahoo and Yandex,\n Schema.org vocabularies
|
120
|
-
are developed by an open <a href=\"https://www.w3.org/community/schemaorg\">community</a>
|
121
|
-
process,\n using the <a\n href=\"http://lists.w3.org/Archives/Public/public-schemaorg\">public-schemaorg@w3.org</a>\n
|
122
|
-
\ mailing list and through <a href=\"http://github.com/schemaorg/schemaorg\">GitHub</a>.\n</p>\n\n<p>\n
|
123
|
-
\ A shared vocabulary makes it easier for webmasters and developers to decide\n
|
124
|
-
\ on a schema and get the maximum benefit for their efforts.\n It is in
|
125
|
-
this spirit that the founders, together with the\n larger community have
|
126
|
-
come together - to provide a shared collection of schemas.\n </p>\n\n<p>\n
|
127
|
-
\ We invite you to <a href=\"docs/gs.html\">get started</a>!\n</p>\n<p>\n
|
128
|
-
\ View our blog at <a href=\"http://blog.schema.org\">blog.schema.org</a>
|
129
|
-
or see <a href=\"/docs/releases.html\">release history</a> for version 6.0.\n</p>\n\n<br/>\n</div>\n\n\n\n\n\n\n<div
|
130
|
-
id=\"footer\"><p>\n <a href=\"docs/terms.html\">Terms and conditions</a></p>\n</div>\n\n<script>\n
|
131
|
-
\ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n
|
132
|
-
\ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n
|
133
|
-
\ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n
|
134
|
-
\ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n
|
135
|
-
\ ga('create', 'UA-52672119-1', 'auto');\n ga('send', 'pageview');\n\n</script>\n\n\n\n<p><br/></p>\n\n<div
|
136
|
-
style=\"display: none;\">\n\n<div style=\"clear: both; float: left; text-align:
|
137
|
-
left; font-size: xx-small; color: #888 ; margin: 1em; line-height: 100%;\">\n
|
138
|
-
<ul>\n <li>SCHEMA_VERSION: 6.0 </li>\n <li>PYTHONAPP_VERSION: 2.0.1 </li>\n
|
139
|
-
\ <li>ENABLE_HOSTED_EXTENSIONS: True </li>\n <li>host_ext: </li>\n <li>myhost:
|
140
|
-
None </li>\n <li>myport: 80 </li>\n <li>mybasehost: schema.org </li>\n <li>debugging:
|
141
|
-
False </li>\n <li>AppEngine Version: 6-0 </li>\n </ul>\n</div>\n\n</div>\n\n</body>\n</html>"
|
142
|
-
http_version:
|
143
|
-
recorded_at: Fri, 07 Feb 2020 11:00:35 GMT
|
144
|
-
recorded_with: VCR 3.0.3
|