rdf_context 0.5.10 → 0.5.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +2 -1
- data/History.rdoc +7 -0
- data/README.rdoc +14 -14
- data/Rakefile +7 -7
- data/VERSION +1 -1
- data/lib/rdf_context/graph.rb +19 -16
- data/lib/rdf_context/rdfaparser.rb +1 -1
- data/lib/rdf_context/store/abstract_sql_store.rb +12 -4
- data/lib/rdf_context/store/abstract_store.rb +6 -0
- data/lib/rdf_context/store/active_record_store.rb +5 -11
- data/lib/rdf_context/store/list_store.rb +5 -0
- data/lib/rdf_context/store/memory_store.rb +38 -18
- data/lib/rdf_context/store/sqlite3_store.rb +0 -7
- data/rdf_context.gemspec +11 -122
- data/spec/active_record_store_spec.rb +4 -0
- data/spec/graph_spec.rb +6 -2
- data/spec/matchers.rb +1 -1
- data/spec/rdfa_helper.rb +6 -17
- data/spec/spec_helper.rb +4 -9
- data/spec/sqlite3_store_spec.rb +2 -2
- data/spec/store_helper.rb +69 -15
- metadata +35 -122
- data/spec/rdfa-triples/0001.nt +0 -1
- data/spec/rdfa-triples/0006.nt +0 -2
- data/spec/rdfa-triples/0007.nt +0 -3
- data/spec/rdfa-triples/0008.nt +0 -1
- data/spec/rdfa-triples/0009.nt +0 -1
- data/spec/rdfa-triples/0010.nt +0 -2
- data/spec/rdfa-triples/0011.nt +0 -3
- data/spec/rdfa-triples/0012.nt +0 -1
- data/spec/rdfa-triples/0013.nt +0 -1
- data/spec/rdfa-triples/0014.nt +0 -1
- data/spec/rdfa-triples/0015.nt +0 -2
- data/spec/rdfa-triples/0017.nt +0 -3
- data/spec/rdfa-triples/0018.nt +0 -1
- data/spec/rdfa-triples/0019.nt +0 -1
- data/spec/rdfa-triples/0020.nt +0 -1
- data/spec/rdfa-triples/0021.nt +0 -1
- data/spec/rdfa-triples/0023.nt +0 -1
- data/spec/rdfa-triples/0025.nt +0 -2
- data/spec/rdfa-triples/0026.nt +0 -1
- data/spec/rdfa-triples/0027.nt +0 -1
- data/spec/rdfa-triples/0029.nt +0 -1
- data/spec/rdfa-triples/0030.nt +0 -1
- data/spec/rdfa-triples/0031.nt +0 -1
- data/spec/rdfa-triples/0032.nt +0 -1
- data/spec/rdfa-triples/0033.nt +0 -2
- data/spec/rdfa-triples/0034.nt +0 -1
- data/spec/rdfa-triples/0035.nt +0 -1
- data/spec/rdfa-triples/0036.nt +0 -1
- data/spec/rdfa-triples/0037.nt +0 -1
- data/spec/rdfa-triples/0038.nt +0 -1
- data/spec/rdfa-triples/0039.nt +0 -1
- data/spec/rdfa-triples/0040.nt +0 -1
- data/spec/rdfa-triples/0041.nt +0 -1
- data/spec/rdfa-triples/0042.nt +0 -0
- data/spec/rdfa-triples/0046.nt +0 -3
- data/spec/rdfa-triples/0047.nt +0 -3
- data/spec/rdfa-triples/0048.nt +0 -3
- data/spec/rdfa-triples/0049.nt +0 -2
- data/spec/rdfa-triples/0050.nt +0 -2
- data/spec/rdfa-triples/0051.nt +0 -2
- data/spec/rdfa-triples/0052.nt +0 -1
- data/spec/rdfa-triples/0053.nt +0 -2
- data/spec/rdfa-triples/0054.nt +0 -2
- data/spec/rdfa-triples/0055.nt +0 -2
- data/spec/rdfa-triples/0056.nt +0 -3
- data/spec/rdfa-triples/0057.nt +0 -4
- data/spec/rdfa-triples/0058.nt +0 -6
- data/spec/rdfa-triples/0059.nt +0 -6
- data/spec/rdfa-triples/0060.nt +0 -2
- data/spec/rdfa-triples/0061.nt +0 -1
- data/spec/rdfa-triples/0062.nt +0 -1
- data/spec/rdfa-triples/0063.nt +0 -1
- data/spec/rdfa-triples/0064.nt +0 -1
- data/spec/rdfa-triples/0065.nt +0 -3
- data/spec/rdfa-triples/0066.nt +0 -1
- data/spec/rdfa-triples/0067.nt +0 -1
- data/spec/rdfa-triples/0068.nt +0 -1
- data/spec/rdfa-triples/0069.nt +0 -1
- data/spec/rdfa-triples/0070.nt +0 -1
- data/spec/rdfa-triples/0071.nt +0 -1
- data/spec/rdfa-triples/0072.nt +0 -1
- data/spec/rdfa-triples/0073.nt +0 -1
- data/spec/rdfa-triples/0074.nt +0 -1
- data/spec/rdfa-triples/0075.nt +0 -1
- data/spec/rdfa-triples/0076.nt +0 -23
- data/spec/rdfa-triples/0077.nt +0 -23
- data/spec/rdfa-triples/0078.nt +0 -6
- data/spec/rdfa-triples/0079.nt +0 -3
- data/spec/rdfa-triples/0080.nt +0 -1
- data/spec/rdfa-triples/0081.nt +0 -6
- data/spec/rdfa-triples/0082.nt +0 -8
- data/spec/rdfa-triples/0083.nt +0 -6
- data/spec/rdfa-triples/0084.nt +0 -8
- data/spec/rdfa-triples/0085.nt +0 -4
- data/spec/rdfa-triples/0086.nt +0 -0
- data/spec/rdfa-triples/0087.nt +0 -23
- data/spec/rdfa-triples/0088.nt +0 -3
- data/spec/rdfa-triples/0089.nt +0 -1
- data/spec/rdfa-triples/0090.nt +0 -1
- data/spec/rdfa-triples/0091.nt +0 -3
- data/spec/rdfa-triples/0092.nt +0 -3
- data/spec/rdfa-triples/0093.nt +0 -2
- data/spec/rdfa-triples/0094.nt +0 -3
- data/spec/rdfa-triples/0099.nt +0 -1
- data/spec/rdfa-triples/0100.nt +0 -3
- data/spec/rdfa-triples/0101.nt +0 -3
- data/spec/rdfa-triples/0102.nt +0 -1
- data/spec/rdfa-triples/0103.nt +0 -1
- data/spec/rdfa-triples/0104.nt +0 -3
- data/spec/rdfa-triples/0105.nt +0 -1
- data/spec/rdfa-triples/0106.nt +0 -1
- data/spec/rdfa-triples/0107.nt +0 -0
- data/spec/rdfa-triples/0108.nt +0 -1
- data/spec/rdfa-triples/0109.nt +0 -1
- data/spec/rdfa-triples/0110.nt +0 -1
- data/spec/rdfa-triples/0111.nt +0 -2
- data/spec/rdfa-triples/0112.nt +0 -1
- data/spec/rdfa-triples/0113.nt +0 -2
- data/spec/rdfa-triples/0114.nt +0 -3
- data/spec/rdfa-triples/0115.nt +0 -4
- data/spec/rdfa-triples/0116.nt +0 -2
- data/spec/rdfa-triples/0117.nt +0 -2
- data/spec/rdfa-triples/0118.nt +0 -1
- data/spec/rdfa-triples/0119.nt +0 -1
- data/spec/rdfa-triples/0120.nt +0 -1
- data/spec/rdfa-triples/0121.nt +0 -2
- data/spec/rdfa-triples/0122.nt +0 -1
- data/spec/rdfa-triples/0123.nt +0 -3
- data/spec/rdfa-triples/0124.nt +0 -4
- data/spec/rdfa-triples/0125.nt +0 -1
- data/spec/rdfa-triples/0126.nt +0 -3
- data/spec/rdfa-triples/1001.nt +0 -6
data/spec/rdfa-triples/0114.nt
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
<$TCPATH/0114.xhtml> <http://www.w3.org/1999/xhtml/vocab#up> <$TCPATH/rdfa-xhtml1-test-manifest.rdf> .
|
2
|
-
<$TCPATH/0114.xhtml> <http://www.w3.org/1999/xhtml/vocab#prev> <$TCPATH/0113.xhtml> .
|
3
|
-
<$TCPATH/0114.xhtml> <http://creativecommons.org/ns#attributionURL> <http://www.w3.org/> .
|
data/spec/rdfa-triples/0115.nt
DELETED
data/spec/rdfa-triples/0116.nt
DELETED
data/spec/rdfa-triples/0117.nt
DELETED
data/spec/rdfa-triples/0118.nt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<$TCPATH/0118.xhtml> <http://purl.org/dc/elements/1.1/creator> "Ben" .
|
data/spec/rdfa-triples/0119.nt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<http://example.org/> <http://purl.org/dc/elements/1.1/title> "Example Website" .
|
data/spec/rdfa-triples/0120.nt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<http://www.w3.org/1999/xhtml/vocab#> <http://purl.org/dc/elements/1.1/title> "The XHTML Vocabulary Document" .
|
data/spec/rdfa-triples/0121.nt
DELETED
data/spec/rdfa-triples/0122.nt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
|
data/spec/rdfa-triples/0123.nt
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
<http://www.example.org#sub> <http://www.example.org/lower#one> <http://www.example.org#lower> .
|
2
|
-
<http://www.example.org#sub> <http://www.example.org/upper#two> <http://www.example.org#UPPER> .
|
3
|
-
<http://www.example.org#sub> <http://www.example.org/mixed#three> <http://www.example.org#MiXeD> .
|
data/spec/rdfa-triples/0124.nt
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
<http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/firstName> "Shane" .
|
2
|
-
<http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/surname> "McCarron" .
|
3
|
-
<http://www.example.org/me#shane> <http://xmlns.com/foaf/0.1/name> "Shane McCarron" .
|
4
|
-
<http://www.example.org/me#shane> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
|
data/spec/rdfa-triples/0125.nt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# This is a negative test. No triples should be generated from the XHTML+RDFa input document.
|
data/spec/rdfa-triples/0126.nt
DELETED
@@ -1,3 +0,0 @@
|
|
1
|
-
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> .
|
2
|
-
<http://www.example.org/#article> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/sioc/ns#Post> .
|
3
|
-
<http://www.example.org/#article> <http://purl.org/dc/terms/title> "My article" .
|
data/spec/rdfa-triples/1001.nt
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> .
|
2
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#summary> "Weekend off in Iona" .
|
3
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2006-10-21"^^<http://www.w3.org/2001/XMLSchema#date> .
|
4
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#dtend> "2006-10-23"^^<http://www.w3.org/2001/XMLSchema#date> .
|
5
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#url> <http://freetime.example.org/> .
|
6
|
-
<$TCPATH/1001.xhtml#event1> <http://www.w3.org/2002/12/cal/icaltzd#location> "Iona, UK" .
|