jekyll-rdf 2.1.1.pre.develop.219 → 2.1.1.pre.develop.225

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e332d1fa8004f1cefaa7ec042fa8b1dc1f73ed2b
4
- data.tar.gz: 90d45ac98b19e050549af1e187bfeecbd639c31e
3
+ metadata.gz: 780d07456d21188790d97447755252b554da28a0
4
+ data.tar.gz: bf03fb00a7e8fd001c74e8b4dca7690c0eeb1de3
5
5
  SHA512:
6
- metadata.gz: d57792e3fca695b4a9333bf9dffad7fc2a42700bb25ca2e551a9328d7f26f6b137e9f64ae3da01a10e8f97b18c843af44a8626335dc280fb304797e80551dc88
7
- data.tar.gz: 4894a870474048aa925cc005dcd4f52815313cdff3fe46f75368ca0deb83acaf4f3793c8b4e7b1a1a11e419c0aca2c6f4f55fbb4a0ffbb25d51b1b888a35e305
6
+ metadata.gz: e6162595c6c49c872d3267132e1cc9a57a4867fd3314e26413bc700edba01a042611219e44b7189cfa317f0e61d201091176d63bb911d2a0da48de0359bd9daa
7
+ data.tar.gz: b2243511b111213e4862237a112fa456993ca7c58f026fa95f9c803fc18e4396007c72946a6d6024ffd38696efb63ec569effe2af6ea9021f0424f23b52389ab
@@ -42,8 +42,8 @@ module Jekyll
42
42
  end
43
43
 
44
44
  def valid_container?(input, sparql_client, type = nil)
45
- ask_query1 = "ASK WHERE {VALUES ?o {<http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt>} #{input.term.to_ntriples} <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o}"
46
- ask_query2 = "ASK WHERE {#{input.term.to_ntriples} <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o. ?o <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Container>}"
45
+ ask_query1 = "ASK WHERE {VALUES ?o {<http://www.w3.org/2000/01/rdf-schema#Container> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt>} #{input.term.to_ntriples} <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o}"
46
+ ask_query2 = "ASK WHERE {#{input.term.to_ntriples} <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?o. ?o <http://www.w3.org/2000/01/rdf-schema#subClassOf>* <http://www.w3.org/2000/01/rdf-schema#Container>}"
47
47
  return (sparql_client.query(ask_query1).true?) || (sparql_client.query(ask_query2).true?)
48
48
  end
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1.pre.develop.219
4
+ version: 2.1.1.pre.develop.225
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elias Saalmann
@@ -16,7 +16,7 @@ authors:
16
16
  autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
- date: 2017-07-20 00:00:00.000000000 Z
19
+ date: 2017-08-01 00:00:00.000000000 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: linkeddata