rdf-rdfa 1.1.4.1 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rdf/rdfa/expansion.rb +36 -54
- data/lib/rdf/rdfa/reader.rb +1 -1
- data/lib/rdf/rdfa/reader/rexml.rb +19 -7
- metadata +84 -62
- checksums.yaml +0 -7
- data/lib/rdf/rdfa/expansion/cc.rb +0 -12
- data/lib/rdf/rdfa/expansion/dc.rb +0 -98
- data/lib/rdf/rdfa/expansion/doap.rb +0 -22
- data/lib/rdf/rdfa/expansion/foaf.rb +0 -31
- data/lib/rdf/rdfa/expansion/gr.rb +0 -0
- data/lib/rdf/rdfa/expansion/schema.rb +0 -582
- data/lib/rdf/rdfa/expansion/sioc.rb +0 -25
- data/lib/rdf/rdfa/expansion/skos.rb +0 -33
- data/lib/rdf/rdfa/expansion/skosxl.rb +0 -0
- data/lib/rdf/rdfa/expansion/v.rb +0 -23
@@ -1,25 +0,0 @@
|
|
1
|
-
# This file is automatically generated by ./script/intern_vocabulary
|
2
|
-
# RDFa vocabulary for http://rdfs.org/sioc/ns# loaded from http://rdfs.org/sioc/ns#
|
3
|
-
require 'rdf/rdfa/expansion'
|
4
|
-
|
5
|
-
module RDF::RDFa::Expansion
|
6
|
-
[
|
7
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#Forum'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://rdfs.org/sioc/ns#Container'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
8
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#Post'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://rdfs.org/sioc/ns#Item'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
9
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#Post'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://xmlns.com/foaf/0.1/Document'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
10
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#Site'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://rdfs.org/sioc/ns#Space'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
11
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#Thread'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://rdfs.org/sioc/ns#Container'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
12
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#UserAccount'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://xmlns.com/foaf/0.1/OnlineAccount'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
13
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#avatar'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://xmlns.com/foaf/0.1/depiction'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
14
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#has_reply'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://rdfs.org/sioc/ns#related_to'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
15
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#last_activity_date'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
16
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#last_item_date'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
17
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#last_reply_date'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/date'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
18
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#links_to'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/references'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
19
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#next_version'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://rdfs.org/sioc/ns#later_version'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
20
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#previous_version'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://rdfs.org/sioc/ns#earlier_version'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
21
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#reply_of'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://rdfs.org/sioc/ns#related_to'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
22
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#topic'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://purl.org/dc/terms/subject'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
23
|
-
RDF::Statement.new(RDF::URI('http://rdfs.org/sioc/ns#User'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://xmlns.com/foaf/0.1/OnlineAccount'), :context => RDF::URI('http://rdfs.org/sioc/ns#')),
|
24
|
-
].each {|st| COOKED_VOCAB_STATEMENTS << st }
|
25
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
# This file is automatically generated by ./script/intern_vocabulary
|
2
|
-
# RDFa vocabulary for http://www.w3.org/2004/02/skos/core# loaded from http://www.w3.org/2004/02/skos/core#
|
3
|
-
require 'rdf/rdfa/expansion'
|
4
|
-
|
5
|
-
module RDF::RDFa::Expansion
|
6
|
-
[
|
7
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#OrderedCollection'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#Collection'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
8
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#topConceptOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#inScheme'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
9
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#prefLabel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#label'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
10
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#altLabel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#label'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
11
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#hiddenLabel'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#label'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
12
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#changeNote'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
13
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#definition'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
14
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#editorialNote'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
15
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#example'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
16
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#historyNote'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
17
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#scopeNote'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#note'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
18
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#broader'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#broaderTransitive'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
19
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#narrower'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#narrowerTransitive'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
20
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#related'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#semanticRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
21
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#broaderTransitive'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#semanticRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
22
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#narrowerTransitive'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#semanticRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
23
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#mappingRelation'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#semanticRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
24
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#broadMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#mappingRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
25
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#broadMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#broader'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
26
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#narrowMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#mappingRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
27
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#narrowMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#narrower'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
28
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#relatedMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#mappingRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
29
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#relatedMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#related'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
30
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#exactMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#closeMatch'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
31
|
-
RDF::Statement.new(RDF::URI('http://www.w3.org/2004/02/skos/core#closeMatch'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subPropertyOf'), RDF::URI('http://www.w3.org/2004/02/skos/core#mappingRelation'), :context => RDF::URI('http://www.w3.org/2004/02/skos/core#')),
|
32
|
-
].each {|st| COOKED_VOCAB_STATEMENTS << st }
|
33
|
-
end
|
File without changes
|
data/lib/rdf/rdfa/expansion/v.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# This file is automatically generated by ./script/intern_vocabulary
|
2
|
-
# RDFa vocabulary for http://rdf.data-vocabulary.org/# loaded from http://rdf.data-vocabulary.org/#
|
3
|
-
require 'rdf/rdfa/expansion'
|
4
|
-
|
5
|
-
module RDF::RDFa::Expansion
|
6
|
-
[
|
7
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Person'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
8
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Organization'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
9
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Product'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
10
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Offer'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
11
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#OfferAggregate'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
12
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Review'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
13
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Review-aggregate'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://rdf.data-vocabulary.org/#Review'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
14
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Recipe'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
15
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Breadcrumb'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
16
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Address'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
17
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#Rating'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
18
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#timeRange'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
19
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#nutrition'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
20
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#instructions'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
21
|
-
RDF::Statement.new(RDF::URI('http://rdf.data-vocabulary.org/#ingredient'), RDF::URI('http://www.w3.org/2000/01/rdf-schema#subClassOf'), RDF::URI('http://www.w3.org/1999/02/22-rdf-syntax-ns#Resource'), :context => RDF::URI('http://rdf.data-vocabulary.org/#')),
|
22
|
-
].each {|st| COOKED_VOCAB_STATEMENTS << st }
|
23
|
-
end
|