File tree Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Expand file tree Collapse file tree 4 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class API
79
79
# @option options [Boolean] :rename_bnodes (true)
80
80
# Rename bnodes as part of expansion, or keep them the same.
81
81
# @option options [Boolean] :unique_bnodes (false)
82
- # Use unique bnode identifiers, defaults to using the identifier which the node was originall initialized with (if any).
82
+ # Use unique bnode identifiers, defaults to using the identifier which the node was originally initialized with (if any).
83
83
# @option options [Boolean] :simple_compact_iris (false)
84
84
# When compacting IRIs, do not use terms with expanded term definitions
85
85
# @option options [Symbol] :adapter used with MultiJson
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def value?(value)
70
70
def as_resource ( id , base = nil )
71
71
@nodes ||= { } # Re-use BNodes
72
72
if id [ 0 , 2 ] == '_:'
73
- ( @nodes [ id ] ||= RDF ::Node . new ( id [ 2 ..- 1 ] ) )
73
+ ( @nodes [ id ] ||= RDF ::Node . new ( namer . get_sym ( id ) ) )
74
74
elsif base
75
75
base . join ( id )
76
76
else
Original file line number Diff line number Diff line change 11
11
specify "#{ t . property ( 'input' ) } : #{ t . name } #{ ' (negative test)' unless t . positiveTest? } " do
12
12
skip "Native value fidelity" if %w( toRdf-0035-in.jsonld ) . include? ( t . property ( 'input' ) )
13
13
pending "Generalized RDF" if %w( toRdf-0118-in.jsonld ) . include? ( t . property ( 'input' ) )
14
- pending "Blank nodes with reverse properties" if %w( toRdf-0119-in.jsonld ) . include? ( t . property ( 'input' ) )
15
14
t . run self
16
15
end
17
16
end
Original file line number Diff line number Diff line change 201
201
logger . info "source: #{ t . input } "
202
202
t . logger = logger
203
203
pending "Shared list BNode in different graphs" if t . property ( 'input' ) . include? ( "fromRdf-0021" )
204
- pending "graph comparison issue" if t . property ( 'input' ) . include? ( "fromRdf-0008" )
205
204
repo = RDF ::Repository . load ( t . input_loc , format : :nquads )
206
205
jsonld = JSON ::LD ::Writer . buffer ( logger : t . logger ) do |writer |
207
206
writer << repo
You can’t perform that action at this time.
0 commit comments