Skip to content

Commit e9c7350

Browse files
committed
Use Travis "trusty" build and wildcard Ruby versions.
1 parent 9f8986b commit e9c7350

File tree

2 files changed

+26
-10
lines changed

2 files changed

+26
-10
lines changed

.travis.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ script: "bundle exec rspec spec"
44
env:
55
- CI=true
66
rvm:
7-
- 2.2.6
8-
- 2.3.3
9-
- 2.4.0
10-
- jruby
11-
- rbx
12-
gemfile:
13-
- Gemfile
14-
- Gemfile-pure
7+
- 2.2
8+
- 2.3
9+
- 2.4
10+
- jruby-9
11+
- rbx-3
1512
cache: bundler
1613
sudo: false
1714
matrix:
1815
allow_failures:
19-
- rvm: rbx
20-
- rvm: jruby
16+
- rvm: jruby-9
17+
- rvm: rbx-3
18+
dist: trusty

examples/workergnome-literal-issue.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#require 'rdf/turtle'
2+
require 'sparql/client'
3+
require 'byebug'
4+
5+
sparql = SPARQL::Client.new("http://data.americanartcollaborative.org/sparql")
6+
uri = RDF.URI("http://data.crystalbridges.org/object/2258")
7+
label = RDF::RDFS.label
8+
9+
query = sparql.construct([uri, label, :o]).where([uri, label, :o])
10+
require 'byebug'; byebug
11+
query.each_statement do |s|
12+
puts s.object.inspect
13+
end
14+
15+
# <http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> "Bison-Dance of the Mandan Indians in front of their Medicine Lodge in Mih-Tuta-Hankush" .
16+
# <http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> "From \"Voyage dans l’intérieur de l’Amérique du Nord, executé pendant les années 1832, 1833 et 1834, par le prince Maximilien de Wied-Neuwied\" (Paris & Coblenz, 1839-1843)" .
17+
18+
# "<http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> \"Bison-Dance of the Mandan Indians in front of their Medicine Lodge in Mih-Tuta-Hankush\" .\n<http://data.crystalbridges.org/object/2258> <http://www.w3.org/2000/01/rdf-schema#label> \"From \\\"Voyage dans l\xE2\x80\x99int\xC3\xA9rieur de l\xE2\x80\x99Am\xC3\xA9rique du Nord, execut\xC3\xA9 pendant les ann\xC3\xA9es 1832, 1833 et 1834, par le prince Maximilien de Wied-Neuwied\\\" (Paris & Coblenz, 1839-1843)\" .\n"

0 commit comments

Comments
 (0)