bel 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{bel.gemspec → .gemspec} +8 -4
- data/README.md +3 -3
- data/VERSION +1 -0
- data/bin/bel +8 -8
- data/bin/bel2rdf.rb +1 -1
- data/bin/bel_summarize.rb +4 -4
- data/bin/bel_upgrade.rb +6 -6
- data/lib/bel.rb +3 -2
- data/lib/bel/completion.rb +13 -10
- data/lib/bel/completion_rule.rb +29 -21
- data/lib/bel/dsl.rb +75 -0
- data/lib/bel/gen.rb +2 -2
- data/lib/bel/gen/annotation.rb +2 -2
- data/lib/bel/gen/citation.rb +6 -6
- data/lib/bel/gen/document_header.rb +1 -1
- data/lib/bel/gen/{evidence.rb → nanopub.rb} +15 -15
- data/lib/bel/gen/parameter.rb +6 -6
- data/lib/bel/gen/sample_resources.rb +4 -4
- data/lib/bel/gen/statement.rb +1 -1
- data/lib/bel/gen/term.rb +1 -1
- data/lib/bel/language.rb +0 -20
- data/lib/bel/namespace.rb +7 -3
- data/lib/bel/nanopub.rb +15 -0
- data/lib/bel/{evidence_model/buffering_evidence_combiner.rb → nanopub/buffering_nanopub_combiner.rb} +39 -45
- data/lib/bel/{evidence_model → nanopub}/citation.rb +2 -2
- data/lib/bel/{evidence_model → nanopub}/experiment_context.rb +7 -1
- data/lib/bel/{evidence_model → nanopub}/hash_map_references.rb +1 -1
- data/lib/bel/{evidence_model → nanopub}/map_references.rb +1 -1
- data/lib/bel/nanopub/map_references_combiner.rb +30 -0
- data/lib/bel/nanopub/metadata.rb +102 -0
- data/lib/bel/nanopub/nanopub.rb +122 -0
- data/lib/bel/{evidence_model → nanopub}/references.rb +50 -38
- data/lib/bel/{evidence_model/streaming_evidence_combiner.rb → nanopub/streaming_nanopub_combiner.rb} +8 -8
- data/lib/bel/{evidence_model/summary_text.rb → nanopub/support.rb} +8 -2
- data/lib/bel/{evidence_model → nanopub}/util.rb +10 -10
- data/lib/bel/resource/annotation.rb +15 -24
- data/lib/bel/resource/annotation_value.rb +24 -20
- data/lib/bel/resource/annotations.rb +12 -11
- data/lib/bel/resource/concept.rb +62 -0
- data/lib/bel/resource/concept_scheme.rb +49 -0
- data/lib/bel/resource/namespace.rb +15 -24
- data/lib/bel/resource/namespace_value.rb +26 -23
- data/lib/bel/resource/namespaces.rb +11 -11
- data/lib/bel/script.rb +367 -367
- data/lib/bel/translate.rb +7 -7
- data/lib/bel/translator.rb +10 -10
- data/lib/bel/translator/plugins/bnj.rb +37 -0
- data/lib/bel/translator/plugins/{json_evidence → bnj}/translator.rb +17 -34
- data/lib/bel/translator/plugins/jgf.rb +1 -1
- data/lib/bel/translator/plugins/jgf/translator.rb +10 -10
- data/lib/bel/translator/plugins/jsonld.rb +1 -1
- data/lib/bel/translator/plugins/nquads.rb +1 -1
- data/lib/bel/translator/plugins/ntriples.rb +1 -1
- data/lib/bel/translator/plugins/rdf/bel_schema.rb +134 -126
- data/lib/bel/translator/plugins/rdf/graph_translator.rb +6 -6
- data/lib/bel/translator/plugins/rdf/monkey_patch.rb +50 -49
- data/lib/bel/translator/plugins/rdf/reader.rb +42 -42
- data/lib/bel/translator/plugins/rdf/translator.rb +6 -6
- data/lib/bel/translator/plugins/rdf/writer.rb +4 -4
- data/lib/bel/translator/plugins/rdf2/belv2_0.rb +416 -0
- data/lib/bel/translator/plugins/rdf2/converter.rb +13 -0
- data/lib/bel/translator/plugins/rdf2/namespace_converter.rb +24 -0
- data/lib/bel/translator/plugins/rdf2/nanopub_converter.rb +82 -0
- data/lib/bel/translator/plugins/rdf2/parameter_converter.rb +50 -0
- data/lib/bel/translator/plugins/rdf2/rdf_converter.rb +13 -0
- data/lib/bel/translator/plugins/rdf2/rdf_writer.rb +63 -0
- data/lib/bel/translator/plugins/rdf2/reader.rb +172 -0
- data/lib/bel/translator/plugins/rdf2/relationship_converter.rb +49 -0
- data/lib/bel/translator/plugins/rdf2/statement_converter.rb +65 -0
- data/lib/bel/translator/plugins/rdf2/term_converter.rb +262 -0
- data/lib/bel/translator/plugins/rdf2/translator.rb +51 -0
- data/lib/bel/translator/plugins/rdf2/uuid.rb +20 -0
- data/lib/bel/translator/plugins/rdf2/writer.rb +53 -0
- data/lib/bel/translator/plugins/rdfa.rb +1 -1
- data/lib/bel/translator/plugins/rdfxml.rb +1 -1
- data/lib/bel/translator/plugins/rj.rb +1 -1
- data/lib/bel/translator/plugins/trig.rb +1 -1
- data/lib/bel/translator/plugins/trix.rb +1 -1
- data/lib/bel/translator/plugins/turtle.rb +3 -6
- data/lib/bel/translator/plugins/xbel.rb +5 -6
- data/lib/bel/translator/plugins/xbel/nanopub_handler.rb +625 -0
- data/lib/bel/translator/plugins/xbel/{evidence_yielder.rb → nanopub_yielder.rb} +3 -3
- data/lib/bel/translator/plugins/xbel/translator.rb +2 -5
- data/lib/bel/translator/plugins/xbel/xbel_yielder.rb +135 -74
- data/lib/bel/version.rb +31 -1
- metadata +81 -33
- data/lib/bel/evidence_model.rb +0 -15
- data/lib/bel/evidence_model/bel_parameter.rb +0 -56
- data/lib/bel/evidence_model/bel_statement.rb +0 -97
- data/lib/bel/evidence_model/bel_term.rb +0 -87
- data/lib/bel/evidence_model/evidence.rb +0 -127
- data/lib/bel/evidence_model/map_references_combiner.rb +0 -30
- data/lib/bel/evidence_model/metadata.rb +0 -49
- data/lib/bel/parser.rb +0 -39
- data/lib/bel/translator/plugins/bel_script.rb +0 -36
- data/lib/bel/translator/plugins/bel_script/bel_citation_serialization.rb +0 -125
- data/lib/bel/translator/plugins/bel_script/bel_discrete_serialization.rb +0 -109
- data/lib/bel/translator/plugins/bel_script/bel_top_down_serialization.rb +0 -100
- data/lib/bel/translator/plugins/bel_script/bel_yielder.rb +0 -180
- data/lib/bel/translator/plugins/bel_script/evidence_serialization.rb +0 -79
- data/lib/bel/translator/plugins/bel_script/evidence_yielder.rb +0 -87
- data/lib/bel/translator/plugins/bel_script/translator.rb +0 -35
- data/lib/bel/translator/plugins/json_evidence.rb +0 -38
- data/lib/bel/translator/plugins/xbel/evidence_handler.rb +0 -495
@@ -1,34 +1,51 @@
|
|
1
1
|
require 'rdf'
|
2
|
+
require 'rdf/vocab'
|
3
|
+
require_relative 'concept'
|
2
4
|
require_relative 'namespace'
|
3
5
|
require_relative 'namespaces'
|
4
6
|
|
5
7
|
module BEL
|
6
8
|
module Resource
|
7
|
-
|
8
|
-
#
|
9
|
+
# NamespaceValue represents a NamespaceConcept RDF Resource and
|
10
|
+
# associated properties.
|
9
11
|
class NamespaceValue
|
12
|
+
include Concept
|
10
13
|
|
11
14
|
attr_reader :uri
|
12
15
|
|
13
|
-
|
16
|
+
DC = RDF::Vocab::DC
|
17
|
+
SKOS = RDF::Vocab::SKOS
|
18
|
+
BELV = RDF::Vocabulary.new('http://www.openbel.org/vocabulary/')
|
19
|
+
|
14
20
|
def initialize(rdf_repository, uri)
|
15
21
|
@rdf_repository = rdf_repository
|
16
22
|
@uri = RDF::URI(uri.to_s)
|
17
23
|
@uri_hash = @uri.hash
|
18
24
|
@eq_query = [
|
19
25
|
:subject => @uri,
|
20
|
-
:predicate =>
|
26
|
+
:predicate => SKOS.exactMatch
|
21
27
|
]
|
22
28
|
@ortho_query = [
|
23
29
|
:subject => @uri,
|
24
30
|
:predicate => BELV.orthologousMatch
|
25
31
|
]
|
26
|
-
@predicates = @rdf_repository.query(:subject => @uri).
|
27
|
-
each.map(&:predicate).uniq
|
28
32
|
end
|
29
33
|
|
30
34
|
def namespace
|
31
|
-
|
35
|
+
schemes = in_scheme
|
36
|
+
return nil if schemes.empty?
|
37
|
+
Namespace.new(@rdf_repository, schemes.first)
|
38
|
+
end
|
39
|
+
|
40
|
+
def in_scheme
|
41
|
+
@rdf_repository
|
42
|
+
.query([:subject => @uri, :predicate => SKOS.inScheme])
|
43
|
+
.select { |solution|
|
44
|
+
scheme_uri = solution.object
|
45
|
+
@rdf_repository.has_statement?(
|
46
|
+
RDF::Statement(scheme_uri, RDF.type, BELV.NamespaceConceptScheme)
|
47
|
+
)
|
48
|
+
}.map { |solution| solution.object.to_s }
|
32
49
|
end
|
33
50
|
|
34
51
|
def equivalents(target_namespaces = :all)
|
@@ -48,7 +65,7 @@ module BEL
|
|
48
65
|
query(@eq_query).map { |solution|
|
49
66
|
NamespaceValue.new(@rdf_repository, solution.object)
|
50
67
|
}.select { |value|
|
51
|
-
scheme_uri = value.
|
68
|
+
scheme_uri = value.in_scheme
|
52
69
|
target_namespaces.include?(scheme_uri)
|
53
70
|
}.each { |value|
|
54
71
|
yield value
|
@@ -73,7 +90,7 @@ module BEL
|
|
73
90
|
query(@ortho_query).map { |solution|
|
74
91
|
NamespaceValue.new(@rdf_repository, solution.object)
|
75
92
|
}.select { |value|
|
76
|
-
scheme_uri = value.
|
93
|
+
scheme_uri = value.in_scheme
|
77
94
|
target_namespaces.include?(scheme_uri)
|
78
95
|
}.each { |value|
|
79
96
|
yield value
|
@@ -90,20 +107,6 @@ module BEL
|
|
90
107
|
@uri == other.uri
|
91
108
|
end
|
92
109
|
alias_method :eql?, :'=='
|
93
|
-
|
94
|
-
protected
|
95
|
-
|
96
|
-
def method_missing(method)
|
97
|
-
method_predicate = @predicates.find { |p|
|
98
|
-
p.qname[1].to_sym == method.to_sym
|
99
|
-
}
|
100
|
-
return nil unless method_predicate
|
101
|
-
objects = @rdf_repository.query(
|
102
|
-
:subject => @uri,
|
103
|
-
:predicate => method_predicate
|
104
|
-
).each.map(&:object)
|
105
|
-
objects.size == 1 ? objects.first : objects.to_a
|
106
|
-
end
|
107
110
|
end
|
108
111
|
end
|
109
112
|
end
|
@@ -1,28 +1,28 @@
|
|
1
1
|
require 'rdf'
|
2
|
+
require 'rdf/vocab'
|
2
3
|
require_relative 'namespace'
|
3
4
|
|
4
5
|
module BEL
|
5
6
|
module Resource
|
6
|
-
|
7
|
-
#
|
7
|
+
# Namespaces allows access to all NamespaceConceptScheme RDF Resources
|
8
|
+
# available in the resources dataset.
|
8
9
|
class Namespaces
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
pattern [:uri, RDF.type, BELV.NamespaceConceptScheme]
|
13
|
-
end
|
11
|
+
BELV = RDF::Vocabulary.new('http://www.openbel.org/vocabulary/')
|
12
|
+
SKOS = RDF::Vocab::SKOS
|
14
13
|
|
15
|
-
# TODO Document
|
16
14
|
def initialize(rdf_repository)
|
17
15
|
@rdf_repository = rdf_repository
|
18
16
|
end
|
19
17
|
|
20
|
-
# TODO Document
|
21
18
|
def each
|
22
19
|
return to_enum(:each) unless block_given?
|
23
20
|
@rdf_repository.
|
24
|
-
query(
|
25
|
-
|
21
|
+
query(
|
22
|
+
:predicate => RDF.type,
|
23
|
+
:object => BELV.NamespaceConceptScheme) { |solution|
|
24
|
+
|
25
|
+
yield Namespace.new(@rdf_repository, solution.subject)
|
26
26
|
}
|
27
27
|
end
|
28
28
|
|
@@ -58,7 +58,7 @@ module BEL
|
|
58
58
|
|
59
59
|
# match input as namespace prefLabel
|
60
60
|
label = namespace_query(
|
61
|
-
:predicate =>
|
61
|
+
:predicate => SKOS.prefLabel,
|
62
62
|
:object => nlit
|
63
63
|
)
|
64
64
|
return Namespace.new(@rdf_repository, label.subject) if label
|
data/lib/bel/script.rb
CHANGED
@@ -8805,7 +8805,7 @@ begin
|
|
8805
8805
|
|
8806
8806
|
if @statement.relationship == :hasComponents
|
8807
8807
|
@statement.object.arguments.each do |arg|
|
8808
|
-
statement = BEL::
|
8808
|
+
statement = BEL::Nanopub::Statement.new(
|
8809
8809
|
@statement.subject, :hasComponent, arg, @statement.comment
|
8810
8810
|
)
|
8811
8811
|
statement.annotations = @statement.annotations
|
@@ -8813,7 +8813,7 @@ begin
|
|
8813
8813
|
end
|
8814
8814
|
elsif @statement.relationship == :hasMembers
|
8815
8815
|
@statement.object.arguments.each do |arg|
|
8816
|
-
statement = BEL::
|
8816
|
+
statement = BEL::Nanopub::Statement.new(
|
8817
8817
|
@statement.subject, :hasMember, arg, @statement.comment
|
8818
8818
|
)
|
8819
8819
|
statement.annotations = @statement.annotations
|
@@ -8866,12 +8866,12 @@ begin
|
|
8866
8866
|
|
8867
8867
|
ns =
|
8868
8868
|
if @pfx
|
8869
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
8869
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
8870
8870
|
else
|
8871
8871
|
nil
|
8872
8872
|
end
|
8873
8873
|
|
8874
|
-
param = BEL::
|
8874
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
8875
8875
|
@term_stack.last << param
|
8876
8876
|
|
8877
8877
|
yield param
|
@@ -9000,12 +9000,12 @@ begin
|
|
9000
9000
|
|
9001
9001
|
ns =
|
9002
9002
|
if @pfx
|
9003
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
9003
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
9004
9004
|
else
|
9005
9005
|
nil
|
9006
9006
|
end
|
9007
9007
|
|
9008
|
-
param = BEL::
|
9008
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
9009
9009
|
@term_stack.last << param
|
9010
9010
|
|
9011
9011
|
yield param
|
@@ -9191,7 +9191,7 @@ begin
|
|
9191
9191
|
|
9192
9192
|
if @statement.relationship == :hasComponents
|
9193
9193
|
@statement.object.arguments.each do |arg|
|
9194
|
-
statement = BEL::
|
9194
|
+
statement = BEL::Nanopub::Statement.new(
|
9195
9195
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9196
9196
|
)
|
9197
9197
|
statement.annotations = @statement.annotations
|
@@ -9199,7 +9199,7 @@ begin
|
|
9199
9199
|
end
|
9200
9200
|
elsif @statement.relationship == :hasMembers
|
9201
9201
|
@statement.object.arguments.each do |arg|
|
9202
|
-
statement = BEL::
|
9202
|
+
statement = BEL::Nanopub::Statement.new(
|
9203
9203
|
@statement.subject, :hasMember, arg, @statement.comment
|
9204
9204
|
)
|
9205
9205
|
statement.annotations = @statement.annotations
|
@@ -9220,7 +9220,7 @@ begin
|
|
9220
9220
|
when 110 then
|
9221
9221
|
begin
|
9222
9222
|
|
9223
|
-
@statement = BEL::
|
9223
|
+
@statement = BEL::Nanopub::Statement.new()
|
9224
9224
|
@statement_stack = [@statement]
|
9225
9225
|
end
|
9226
9226
|
begin
|
@@ -9261,7 +9261,7 @@ p -= 1; begin
|
|
9261
9261
|
|
9262
9262
|
if @statement.relationship == :hasComponents
|
9263
9263
|
@statement.object.arguments.each do |arg|
|
9264
|
-
statement = BEL::
|
9264
|
+
statement = BEL::Nanopub::Statement.new(
|
9265
9265
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9266
9266
|
)
|
9267
9267
|
statement.annotations = @statement.annotations
|
@@ -9269,7 +9269,7 @@ p -= 1; begin
|
|
9269
9269
|
end
|
9270
9270
|
elsif @statement.relationship == :hasMembers
|
9271
9271
|
@statement.object.arguments.each do |arg|
|
9272
|
-
statement = BEL::
|
9272
|
+
statement = BEL::Nanopub::Statement.new(
|
9273
9273
|
@statement.subject, :hasMember, arg, @statement.comment
|
9274
9274
|
)
|
9275
9275
|
statement.annotations = @statement.annotations
|
@@ -9282,7 +9282,7 @@ p -= 1; begin
|
|
9282
9282
|
when 63 then
|
9283
9283
|
begin
|
9284
9284
|
|
9285
|
-
nested = BEL::
|
9285
|
+
nested = BEL::Nanopub::Statement.new()
|
9286
9286
|
@statement_stack.last.object = nested
|
9287
9287
|
@statement_stack.push nested
|
9288
9288
|
end
|
@@ -9311,7 +9311,7 @@ p -= 1; begin
|
|
9311
9311
|
|
9312
9312
|
if @statement.relationship == :hasComponents
|
9313
9313
|
@statement.object.arguments.each do |arg|
|
9314
|
-
statement = BEL::
|
9314
|
+
statement = BEL::Nanopub::Statement.new(
|
9315
9315
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9316
9316
|
)
|
9317
9317
|
statement.annotations = @statement.annotations
|
@@ -9319,7 +9319,7 @@ p -= 1; begin
|
|
9319
9319
|
end
|
9320
9320
|
elsif @statement.relationship == :hasMembers
|
9321
9321
|
@statement.object.arguments.each do |arg|
|
9322
|
-
statement = BEL::
|
9322
|
+
statement = BEL::Nanopub::Statement.new(
|
9323
9323
|
@statement.subject, :hasMember, arg, @statement.comment
|
9324
9324
|
)
|
9325
9325
|
statement.annotations = @statement.annotations
|
@@ -9408,7 +9408,7 @@ p -= 1; begin
|
|
9408
9408
|
begin
|
9409
9409
|
|
9410
9410
|
fx = @name.to_sym
|
9411
|
-
@term_stack.push(BEL::
|
9411
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
9412
9412
|
@pfx = nil
|
9413
9413
|
@pbuf = []
|
9414
9414
|
end
|
@@ -9432,12 +9432,12 @@ p -= 1; begin
|
|
9432
9432
|
|
9433
9433
|
ns =
|
9434
9434
|
if @pfx
|
9435
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
9435
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
9436
9436
|
else
|
9437
9437
|
nil
|
9438
9438
|
end
|
9439
9439
|
|
9440
|
-
param = BEL::
|
9440
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
9441
9441
|
@term_stack.last << param
|
9442
9442
|
|
9443
9443
|
yield param
|
@@ -9543,7 +9543,7 @@ n = 0 end
|
|
9543
9543
|
begin
|
9544
9544
|
|
9545
9545
|
fx = @name.to_sym
|
9546
|
-
@term_stack.push(BEL::
|
9546
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
9547
9547
|
@pfx = nil
|
9548
9548
|
@pbuf = []
|
9549
9549
|
end
|
@@ -9733,7 +9733,7 @@ n = 0 end
|
|
9733
9733
|
|
9734
9734
|
if @statement.relationship == :hasComponents
|
9735
9735
|
@statement.object.arguments.each do |arg|
|
9736
|
-
statement = BEL::
|
9736
|
+
statement = BEL::Nanopub::Statement.new(
|
9737
9737
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9738
9738
|
)
|
9739
9739
|
statement.annotations = @statement.annotations
|
@@ -9741,7 +9741,7 @@ n = 0 end
|
|
9741
9741
|
end
|
9742
9742
|
elsif @statement.relationship == :hasMembers
|
9743
9743
|
@statement.object.arguments.each do |arg|
|
9744
|
-
statement = BEL::
|
9744
|
+
statement = BEL::Nanopub::Statement.new(
|
9745
9745
|
@statement.subject, :hasMember, arg, @statement.comment
|
9746
9746
|
)
|
9747
9747
|
statement.annotations = @statement.annotations
|
@@ -9777,7 +9777,7 @@ n = 0 end
|
|
9777
9777
|
|
9778
9778
|
if @statement.relationship == :hasComponents
|
9779
9779
|
@statement.object.arguments.each do |arg|
|
9780
|
-
statement = BEL::
|
9780
|
+
statement = BEL::Nanopub::Statement.new(
|
9781
9781
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9782
9782
|
)
|
9783
9783
|
statement.annotations = @statement.annotations
|
@@ -9785,7 +9785,7 @@ n = 0 end
|
|
9785
9785
|
end
|
9786
9786
|
elsif @statement.relationship == :hasMembers
|
9787
9787
|
@statement.object.arguments.each do |arg|
|
9788
|
-
statement = BEL::
|
9788
|
+
statement = BEL::Nanopub::Statement.new(
|
9789
9789
|
@statement.subject, :hasMember, arg, @statement.comment
|
9790
9790
|
)
|
9791
9791
|
statement.annotations = @statement.annotations
|
@@ -9834,7 +9834,7 @@ n = 0 end
|
|
9834
9834
|
end
|
9835
9835
|
begin
|
9836
9836
|
|
9837
|
-
nested = BEL::
|
9837
|
+
nested = BEL::Nanopub::Statement.new()
|
9838
9838
|
@statement_stack.last.object = nested
|
9839
9839
|
@statement_stack.push nested
|
9840
9840
|
end
|
@@ -9878,7 +9878,7 @@ n = 0 end
|
|
9878
9878
|
@cmtbuffer << data[p].ord end
|
9879
9879
|
begin
|
9880
9880
|
|
9881
|
-
nested = BEL::
|
9881
|
+
nested = BEL::Nanopub::Statement.new()
|
9882
9882
|
@statement_stack.last.object = nested
|
9883
9883
|
@statement_stack.push nested
|
9884
9884
|
end
|
@@ -9919,7 +9919,7 @@ n = 0 end
|
|
9919
9919
|
|
9920
9920
|
if @statement.relationship == :hasComponents
|
9921
9921
|
@statement.object.arguments.each do |arg|
|
9922
|
-
statement = BEL::
|
9922
|
+
statement = BEL::Nanopub::Statement.new(
|
9923
9923
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9924
9924
|
)
|
9925
9925
|
statement.annotations = @statement.annotations
|
@@ -9927,7 +9927,7 @@ n = 0 end
|
|
9927
9927
|
end
|
9928
9928
|
elsif @statement.relationship == :hasMembers
|
9929
9929
|
@statement.object.arguments.each do |arg|
|
9930
|
-
statement = BEL::
|
9930
|
+
statement = BEL::Nanopub::Statement.new(
|
9931
9931
|
@statement.subject, :hasMember, arg, @statement.comment
|
9932
9932
|
)
|
9933
9933
|
statement.annotations = @statement.annotations
|
@@ -9964,7 +9964,7 @@ n = 0 end
|
|
9964
9964
|
|
9965
9965
|
if @statement.relationship == :hasComponents
|
9966
9966
|
@statement.object.arguments.each do |arg|
|
9967
|
-
statement = BEL::
|
9967
|
+
statement = BEL::Nanopub::Statement.new(
|
9968
9968
|
@statement.subject, :hasComponent, arg, @statement.comment
|
9969
9969
|
)
|
9970
9970
|
statement.annotations = @statement.annotations
|
@@ -9972,7 +9972,7 @@ n = 0 end
|
|
9972
9972
|
end
|
9973
9973
|
elsif @statement.relationship == :hasMembers
|
9974
9974
|
@statement.object.arguments.each do |arg|
|
9975
|
-
statement = BEL::
|
9975
|
+
statement = BEL::Nanopub::Statement.new(
|
9976
9976
|
@statement.subject, :hasMember, arg, @statement.comment
|
9977
9977
|
)
|
9978
9978
|
statement.annotations = @statement.annotations
|
@@ -9998,7 +9998,7 @@ n = 0 end
|
|
9998
9998
|
begin
|
9999
9999
|
|
10000
10000
|
fx = @name.to_sym
|
10001
|
-
@term_stack.push(BEL::
|
10001
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
10002
10002
|
@pfx = nil
|
10003
10003
|
@pbuf = []
|
10004
10004
|
end
|
@@ -10027,7 +10027,7 @@ n = 0 end
|
|
10027
10027
|
p -= 1; end
|
10028
10028
|
begin
|
10029
10029
|
|
10030
|
-
@statement = BEL::
|
10030
|
+
@statement = BEL::Nanopub::Statement.new()
|
10031
10031
|
@statement_stack = [@statement]
|
10032
10032
|
end
|
10033
10033
|
begin
|
@@ -10051,7 +10051,7 @@ p -= 1; end
|
|
10051
10051
|
begin
|
10052
10052
|
|
10053
10053
|
fx = @name.to_sym
|
10054
|
-
@term_stack.push(BEL::
|
10054
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
10055
10055
|
@pfx = nil
|
10056
10056
|
@pbuf = []
|
10057
10057
|
end
|
@@ -10109,7 +10109,7 @@ p -= 1; end
|
|
10109
10109
|
p -= 1; end
|
10110
10110
|
begin
|
10111
10111
|
|
10112
|
-
@statement = BEL::
|
10112
|
+
@statement = BEL::Nanopub::Statement.new()
|
10113
10113
|
@statement_stack = [@statement]
|
10114
10114
|
end
|
10115
10115
|
begin
|
@@ -10137,7 +10137,7 @@ p -= 1; end
|
|
10137
10137
|
p -= 1; end
|
10138
10138
|
begin
|
10139
10139
|
|
10140
|
-
@statement = BEL::
|
10140
|
+
@statement = BEL::Nanopub::Statement.new()
|
10141
10141
|
@statement_stack = [@statement]
|
10142
10142
|
end
|
10143
10143
|
begin
|
@@ -10165,7 +10165,7 @@ p -= 1; end
|
|
10165
10165
|
p -= 1; end
|
10166
10166
|
begin
|
10167
10167
|
|
10168
|
-
@statement = BEL::
|
10168
|
+
@statement = BEL::Nanopub::Statement.new()
|
10169
10169
|
@statement_stack = [@statement]
|
10170
10170
|
end
|
10171
10171
|
begin
|
@@ -10193,7 +10193,7 @@ p -= 1; end
|
|
10193
10193
|
p -= 1; end
|
10194
10194
|
begin
|
10195
10195
|
|
10196
|
-
@statement = BEL::
|
10196
|
+
@statement = BEL::Nanopub::Statement.new()
|
10197
10197
|
@statement_stack = [@statement]
|
10198
10198
|
end
|
10199
10199
|
begin
|
@@ -10221,7 +10221,7 @@ p -= 1; end
|
|
10221
10221
|
|
10222
10222
|
if @statement.relationship == :hasComponents
|
10223
10223
|
@statement.object.arguments.each do |arg|
|
10224
|
-
statement = BEL::
|
10224
|
+
statement = BEL::Nanopub::Statement.new(
|
10225
10225
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10226
10226
|
)
|
10227
10227
|
statement.annotations = @statement.annotations
|
@@ -10229,7 +10229,7 @@ p -= 1; end
|
|
10229
10229
|
end
|
10230
10230
|
elsif @statement.relationship == :hasMembers
|
10231
10231
|
@statement.object.arguments.each do |arg|
|
10232
|
-
statement = BEL::
|
10232
|
+
statement = BEL::Nanopub::Statement.new(
|
10233
10233
|
@statement.subject, :hasMember, arg, @statement.comment
|
10234
10234
|
)
|
10235
10235
|
statement.annotations = @statement.annotations
|
@@ -10265,7 +10265,7 @@ n = 0 end
|
|
10265
10265
|
|
10266
10266
|
if @statement.relationship == :hasComponents
|
10267
10267
|
@statement.object.arguments.each do |arg|
|
10268
|
-
statement = BEL::
|
10268
|
+
statement = BEL::Nanopub::Statement.new(
|
10269
10269
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10270
10270
|
)
|
10271
10271
|
statement.annotations = @statement.annotations
|
@@ -10273,7 +10273,7 @@ n = 0 end
|
|
10273
10273
|
end
|
10274
10274
|
elsif @statement.relationship == :hasMembers
|
10275
10275
|
@statement.object.arguments.each do |arg|
|
10276
|
-
statement = BEL::
|
10276
|
+
statement = BEL::Nanopub::Statement.new(
|
10277
10277
|
@statement.subject, :hasMember, arg, @statement.comment
|
10278
10278
|
)
|
10279
10279
|
statement.annotations = @statement.annotations
|
@@ -10335,7 +10335,7 @@ n = 0 end
|
|
10335
10335
|
end
|
10336
10336
|
begin
|
10337
10337
|
|
10338
|
-
nested = BEL::
|
10338
|
+
nested = BEL::Nanopub::Statement.new()
|
10339
10339
|
@statement_stack.last.object = nested
|
10340
10340
|
@statement_stack.push nested
|
10341
10341
|
end
|
@@ -10371,7 +10371,7 @@ n = 0 end
|
|
10371
10371
|
|
10372
10372
|
if @statement.relationship == :hasComponents
|
10373
10373
|
@statement.object.arguments.each do |arg|
|
10374
|
-
statement = BEL::
|
10374
|
+
statement = BEL::Nanopub::Statement.new(
|
10375
10375
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10376
10376
|
)
|
10377
10377
|
statement.annotations = @statement.annotations
|
@@ -10379,7 +10379,7 @@ n = 0 end
|
|
10379
10379
|
end
|
10380
10380
|
elsif @statement.relationship == :hasMembers
|
10381
10381
|
@statement.object.arguments.each do |arg|
|
10382
|
-
statement = BEL::
|
10382
|
+
statement = BEL::Nanopub::Statement.new(
|
10383
10383
|
@statement.subject, :hasMember, arg, @statement.comment
|
10384
10384
|
)
|
10385
10385
|
statement.annotations = @statement.annotations
|
@@ -10412,7 +10412,7 @@ n = 0 end
|
|
10412
10412
|
|
10413
10413
|
if @statement.relationship == :hasComponents
|
10414
10414
|
@statement.object.arguments.each do |arg|
|
10415
|
-
statement = BEL::
|
10415
|
+
statement = BEL::Nanopub::Statement.new(
|
10416
10416
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10417
10417
|
)
|
10418
10418
|
statement.annotations = @statement.annotations
|
@@ -10420,7 +10420,7 @@ n = 0 end
|
|
10420
10420
|
end
|
10421
10421
|
elsif @statement.relationship == :hasMembers
|
10422
10422
|
@statement.object.arguments.each do |arg|
|
10423
|
-
statement = BEL::
|
10423
|
+
statement = BEL::Nanopub::Statement.new(
|
10424
10424
|
@statement.subject, :hasMember, arg, @statement.comment
|
10425
10425
|
)
|
10426
10426
|
statement.annotations = @statement.annotations
|
@@ -10463,7 +10463,7 @@ n = 0 end
|
|
10463
10463
|
|
10464
10464
|
if @statement.relationship == :hasComponents
|
10465
10465
|
@statement.object.arguments.each do |arg|
|
10466
|
-
statement = BEL::
|
10466
|
+
statement = BEL::Nanopub::Statement.new(
|
10467
10467
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10468
10468
|
)
|
10469
10469
|
statement.annotations = @statement.annotations
|
@@ -10471,7 +10471,7 @@ n = 0 end
|
|
10471
10471
|
end
|
10472
10472
|
elsif @statement.relationship == :hasMembers
|
10473
10473
|
@statement.object.arguments.each do |arg|
|
10474
|
-
statement = BEL::
|
10474
|
+
statement = BEL::Nanopub::Statement.new(
|
10475
10475
|
@statement.subject, :hasMember, arg, @statement.comment
|
10476
10476
|
)
|
10477
10477
|
statement.annotations = @statement.annotations
|
@@ -10491,7 +10491,7 @@ n = 0 end
|
|
10491
10491
|
begin
|
10492
10492
|
|
10493
10493
|
fx = @name.to_sym
|
10494
|
-
@term_stack.push(BEL::
|
10494
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
10495
10495
|
@pfx = nil
|
10496
10496
|
@pbuf = []
|
10497
10497
|
end
|
@@ -10521,7 +10521,7 @@ n = 0 end
|
|
10521
10521
|
|
10522
10522
|
if @statement.relationship == :hasComponents
|
10523
10523
|
@statement.object.arguments.each do |arg|
|
10524
|
-
statement = BEL::
|
10524
|
+
statement = BEL::Nanopub::Statement.new(
|
10525
10525
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10526
10526
|
)
|
10527
10527
|
statement.annotations = @statement.annotations
|
@@ -10529,7 +10529,7 @@ n = 0 end
|
|
10529
10529
|
end
|
10530
10530
|
elsif @statement.relationship == :hasMembers
|
10531
10531
|
@statement.object.arguments.each do |arg|
|
10532
|
-
statement = BEL::
|
10532
|
+
statement = BEL::Nanopub::Statement.new(
|
10533
10533
|
@statement.subject, :hasMember, arg, @statement.comment
|
10534
10534
|
)
|
10535
10535
|
statement.annotations = @statement.annotations
|
@@ -10566,7 +10566,7 @@ n = 0 end
|
|
10566
10566
|
|
10567
10567
|
if @statement.relationship == :hasComponents
|
10568
10568
|
@statement.object.arguments.each do |arg|
|
10569
|
-
statement = BEL::
|
10569
|
+
statement = BEL::Nanopub::Statement.new(
|
10570
10570
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10571
10571
|
)
|
10572
10572
|
statement.annotations = @statement.annotations
|
@@ -10574,7 +10574,7 @@ n = 0 end
|
|
10574
10574
|
end
|
10575
10575
|
elsif @statement.relationship == :hasMembers
|
10576
10576
|
@statement.object.arguments.each do |arg|
|
10577
|
-
statement = BEL::
|
10577
|
+
statement = BEL::Nanopub::Statement.new(
|
10578
10578
|
@statement.subject, :hasMember, arg, @statement.comment
|
10579
10579
|
)
|
10580
10580
|
statement.annotations = @statement.annotations
|
@@ -10643,7 +10643,7 @@ n = 0 end
|
|
10643
10643
|
p -= 1; end
|
10644
10644
|
begin
|
10645
10645
|
|
10646
|
-
@statement = BEL::
|
10646
|
+
@statement = BEL::Nanopub::Statement.new()
|
10647
10647
|
@statement_stack = [@statement]
|
10648
10648
|
end
|
10649
10649
|
begin
|
@@ -10669,7 +10669,7 @@ p -= 1; end
|
|
10669
10669
|
begin
|
10670
10670
|
|
10671
10671
|
fx = @name.to_sym
|
10672
|
-
@term_stack.push(BEL::
|
10672
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
10673
10673
|
@pfx = nil
|
10674
10674
|
@pbuf = []
|
10675
10675
|
end
|
@@ -10729,7 +10729,7 @@ p -= 1; end
|
|
10729
10729
|
|
10730
10730
|
if @statement.relationship == :hasComponents
|
10731
10731
|
@statement.object.arguments.each do |arg|
|
10732
|
-
statement = BEL::
|
10732
|
+
statement = BEL::Nanopub::Statement.new(
|
10733
10733
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10734
10734
|
)
|
10735
10735
|
statement.annotations = @statement.annotations
|
@@ -10737,7 +10737,7 @@ p -= 1; end
|
|
10737
10737
|
end
|
10738
10738
|
elsif @statement.relationship == :hasMembers
|
10739
10739
|
@statement.object.arguments.each do |arg|
|
10740
|
-
statement = BEL::
|
10740
|
+
statement = BEL::Nanopub::Statement.new(
|
10741
10741
|
@statement.subject, :hasMember, arg, @statement.comment
|
10742
10742
|
)
|
10743
10743
|
statement.annotations = @statement.annotations
|
@@ -10778,7 +10778,7 @@ n = 0 end
|
|
10778
10778
|
|
10779
10779
|
if @statement.relationship == :hasComponents
|
10780
10780
|
@statement.object.arguments.each do |arg|
|
10781
|
-
statement = BEL::
|
10781
|
+
statement = BEL::Nanopub::Statement.new(
|
10782
10782
|
@statement.subject, :hasComponent, arg, @statement.comment
|
10783
10783
|
)
|
10784
10784
|
statement.annotations = @statement.annotations
|
@@ -10786,7 +10786,7 @@ n = 0 end
|
|
10786
10786
|
end
|
10787
10787
|
elsif @statement.relationship == :hasMembers
|
10788
10788
|
@statement.object.arguments.each do |arg|
|
10789
|
-
statement = BEL::
|
10789
|
+
statement = BEL::Nanopub::Statement.new(
|
10790
10790
|
@statement.subject, :hasMember, arg, @statement.comment
|
10791
10791
|
)
|
10792
10792
|
statement.annotations = @statement.annotations
|
@@ -10821,12 +10821,12 @@ n = 0 end
|
|
10821
10821
|
|
10822
10822
|
ns =
|
10823
10823
|
if @pfx
|
10824
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
10824
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
10825
10825
|
else
|
10826
10826
|
nil
|
10827
10827
|
end
|
10828
10828
|
|
10829
|
-
param = BEL::
|
10829
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
10830
10830
|
@term_stack.last << param
|
10831
10831
|
|
10832
10832
|
yield param
|
@@ -10876,12 +10876,12 @@ n = 0 end
|
|
10876
10876
|
|
10877
10877
|
ns =
|
10878
10878
|
if @pfx
|
10879
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
10879
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
10880
10880
|
else
|
10881
10881
|
nil
|
10882
10882
|
end
|
10883
10883
|
|
10884
|
-
param = BEL::
|
10884
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
10885
10885
|
@term_stack.last << param
|
10886
10886
|
|
10887
10887
|
yield param
|
@@ -19802,7 +19802,7 @@ begin
|
|
19802
19802
|
|
19803
19803
|
if @statement.relationship == :hasComponents
|
19804
19804
|
@statement.object.arguments.each do |arg|
|
19805
|
-
statement = BEL::
|
19805
|
+
statement = BEL::Nanopub::Statement.new(
|
19806
19806
|
@statement.subject, :hasComponent, arg, @statement.comment
|
19807
19807
|
)
|
19808
19808
|
statement.annotations = @statement.annotations
|
@@ -19810,7 +19810,7 @@ begin
|
|
19810
19810
|
end
|
19811
19811
|
elsif @statement.relationship == :hasMembers
|
19812
19812
|
@statement.object.arguments.each do |arg|
|
19813
|
-
statement = BEL::
|
19813
|
+
statement = BEL::Nanopub::Statement.new(
|
19814
19814
|
@statement.subject, :hasMember, arg, @statement.comment
|
19815
19815
|
)
|
19816
19816
|
statement.annotations = @statement.annotations
|
@@ -19863,12 +19863,12 @@ begin
|
|
19863
19863
|
|
19864
19864
|
ns =
|
19865
19865
|
if @pfx
|
19866
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
19866
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
19867
19867
|
else
|
19868
19868
|
nil
|
19869
19869
|
end
|
19870
19870
|
|
19871
|
-
param = BEL::
|
19871
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
19872
19872
|
@term_stack.last << param
|
19873
19873
|
|
19874
19874
|
yield param
|
@@ -19997,12 +19997,12 @@ begin
|
|
19997
19997
|
|
19998
19998
|
ns =
|
19999
19999
|
if @pfx
|
20000
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
20000
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
20001
20001
|
else
|
20002
20002
|
nil
|
20003
20003
|
end
|
20004
20004
|
|
20005
|
-
param = BEL::
|
20005
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
20006
20006
|
@term_stack.last << param
|
20007
20007
|
|
20008
20008
|
yield param
|
@@ -20188,7 +20188,7 @@ begin
|
|
20188
20188
|
|
20189
20189
|
if @statement.relationship == :hasComponents
|
20190
20190
|
@statement.object.arguments.each do |arg|
|
20191
|
-
statement = BEL::
|
20191
|
+
statement = BEL::Nanopub::Statement.new(
|
20192
20192
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20193
20193
|
)
|
20194
20194
|
statement.annotations = @statement.annotations
|
@@ -20196,7 +20196,7 @@ begin
|
|
20196
20196
|
end
|
20197
20197
|
elsif @statement.relationship == :hasMembers
|
20198
20198
|
@statement.object.arguments.each do |arg|
|
20199
|
-
statement = BEL::
|
20199
|
+
statement = BEL::Nanopub::Statement.new(
|
20200
20200
|
@statement.subject, :hasMember, arg, @statement.comment
|
20201
20201
|
)
|
20202
20202
|
statement.annotations = @statement.annotations
|
@@ -20217,7 +20217,7 @@ begin
|
|
20217
20217
|
when 110 then
|
20218
20218
|
begin
|
20219
20219
|
|
20220
|
-
@statement = BEL::
|
20220
|
+
@statement = BEL::Nanopub::Statement.new()
|
20221
20221
|
@statement_stack = [@statement]
|
20222
20222
|
end
|
20223
20223
|
begin
|
@@ -20258,7 +20258,7 @@ p -= 1; begin
|
|
20258
20258
|
|
20259
20259
|
if @statement.relationship == :hasComponents
|
20260
20260
|
@statement.object.arguments.each do |arg|
|
20261
|
-
statement = BEL::
|
20261
|
+
statement = BEL::Nanopub::Statement.new(
|
20262
20262
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20263
20263
|
)
|
20264
20264
|
statement.annotations = @statement.annotations
|
@@ -20266,7 +20266,7 @@ p -= 1; begin
|
|
20266
20266
|
end
|
20267
20267
|
elsif @statement.relationship == :hasMembers
|
20268
20268
|
@statement.object.arguments.each do |arg|
|
20269
|
-
statement = BEL::
|
20269
|
+
statement = BEL::Nanopub::Statement.new(
|
20270
20270
|
@statement.subject, :hasMember, arg, @statement.comment
|
20271
20271
|
)
|
20272
20272
|
statement.annotations = @statement.annotations
|
@@ -20279,7 +20279,7 @@ p -= 1; begin
|
|
20279
20279
|
when 63 then
|
20280
20280
|
begin
|
20281
20281
|
|
20282
|
-
nested = BEL::
|
20282
|
+
nested = BEL::Nanopub::Statement.new()
|
20283
20283
|
@statement_stack.last.object = nested
|
20284
20284
|
@statement_stack.push nested
|
20285
20285
|
end
|
@@ -20308,7 +20308,7 @@ p -= 1; begin
|
|
20308
20308
|
|
20309
20309
|
if @statement.relationship == :hasComponents
|
20310
20310
|
@statement.object.arguments.each do |arg|
|
20311
|
-
statement = BEL::
|
20311
|
+
statement = BEL::Nanopub::Statement.new(
|
20312
20312
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20313
20313
|
)
|
20314
20314
|
statement.annotations = @statement.annotations
|
@@ -20316,7 +20316,7 @@ p -= 1; begin
|
|
20316
20316
|
end
|
20317
20317
|
elsif @statement.relationship == :hasMembers
|
20318
20318
|
@statement.object.arguments.each do |arg|
|
20319
|
-
statement = BEL::
|
20319
|
+
statement = BEL::Nanopub::Statement.new(
|
20320
20320
|
@statement.subject, :hasMember, arg, @statement.comment
|
20321
20321
|
)
|
20322
20322
|
statement.annotations = @statement.annotations
|
@@ -20405,7 +20405,7 @@ p -= 1; begin
|
|
20405
20405
|
begin
|
20406
20406
|
|
20407
20407
|
fx = @name.to_sym
|
20408
|
-
@term_stack.push(BEL::
|
20408
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
20409
20409
|
@pfx = nil
|
20410
20410
|
@pbuf = []
|
20411
20411
|
end
|
@@ -20429,12 +20429,12 @@ p -= 1; begin
|
|
20429
20429
|
|
20430
20430
|
ns =
|
20431
20431
|
if @pfx
|
20432
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
20432
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
20433
20433
|
else
|
20434
20434
|
nil
|
20435
20435
|
end
|
20436
20436
|
|
20437
|
-
param = BEL::
|
20437
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
20438
20438
|
@term_stack.last << param
|
20439
20439
|
|
20440
20440
|
yield param
|
@@ -20540,7 +20540,7 @@ n = 0 end
|
|
20540
20540
|
begin
|
20541
20541
|
|
20542
20542
|
fx = @name.to_sym
|
20543
|
-
@term_stack.push(BEL::
|
20543
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
20544
20544
|
@pfx = nil
|
20545
20545
|
@pbuf = []
|
20546
20546
|
end
|
@@ -20730,7 +20730,7 @@ n = 0 end
|
|
20730
20730
|
|
20731
20731
|
if @statement.relationship == :hasComponents
|
20732
20732
|
@statement.object.arguments.each do |arg|
|
20733
|
-
statement = BEL::
|
20733
|
+
statement = BEL::Nanopub::Statement.new(
|
20734
20734
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20735
20735
|
)
|
20736
20736
|
statement.annotations = @statement.annotations
|
@@ -20738,7 +20738,7 @@ n = 0 end
|
|
20738
20738
|
end
|
20739
20739
|
elsif @statement.relationship == :hasMembers
|
20740
20740
|
@statement.object.arguments.each do |arg|
|
20741
|
-
statement = BEL::
|
20741
|
+
statement = BEL::Nanopub::Statement.new(
|
20742
20742
|
@statement.subject, :hasMember, arg, @statement.comment
|
20743
20743
|
)
|
20744
20744
|
statement.annotations = @statement.annotations
|
@@ -20774,7 +20774,7 @@ n = 0 end
|
|
20774
20774
|
|
20775
20775
|
if @statement.relationship == :hasComponents
|
20776
20776
|
@statement.object.arguments.each do |arg|
|
20777
|
-
statement = BEL::
|
20777
|
+
statement = BEL::Nanopub::Statement.new(
|
20778
20778
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20779
20779
|
)
|
20780
20780
|
statement.annotations = @statement.annotations
|
@@ -20782,7 +20782,7 @@ n = 0 end
|
|
20782
20782
|
end
|
20783
20783
|
elsif @statement.relationship == :hasMembers
|
20784
20784
|
@statement.object.arguments.each do |arg|
|
20785
|
-
statement = BEL::
|
20785
|
+
statement = BEL::Nanopub::Statement.new(
|
20786
20786
|
@statement.subject, :hasMember, arg, @statement.comment
|
20787
20787
|
)
|
20788
20788
|
statement.annotations = @statement.annotations
|
@@ -20831,7 +20831,7 @@ n = 0 end
|
|
20831
20831
|
end
|
20832
20832
|
begin
|
20833
20833
|
|
20834
|
-
nested = BEL::
|
20834
|
+
nested = BEL::Nanopub::Statement.new()
|
20835
20835
|
@statement_stack.last.object = nested
|
20836
20836
|
@statement_stack.push nested
|
20837
20837
|
end
|
@@ -20875,7 +20875,7 @@ n = 0 end
|
|
20875
20875
|
@cmtbuffer << data[p].ord end
|
20876
20876
|
begin
|
20877
20877
|
|
20878
|
-
nested = BEL::
|
20878
|
+
nested = BEL::Nanopub::Statement.new()
|
20879
20879
|
@statement_stack.last.object = nested
|
20880
20880
|
@statement_stack.push nested
|
20881
20881
|
end
|
@@ -20916,7 +20916,7 @@ n = 0 end
|
|
20916
20916
|
|
20917
20917
|
if @statement.relationship == :hasComponents
|
20918
20918
|
@statement.object.arguments.each do |arg|
|
20919
|
-
statement = BEL::
|
20919
|
+
statement = BEL::Nanopub::Statement.new(
|
20920
20920
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20921
20921
|
)
|
20922
20922
|
statement.annotations = @statement.annotations
|
@@ -20924,7 +20924,7 @@ n = 0 end
|
|
20924
20924
|
end
|
20925
20925
|
elsif @statement.relationship == :hasMembers
|
20926
20926
|
@statement.object.arguments.each do |arg|
|
20927
|
-
statement = BEL::
|
20927
|
+
statement = BEL::Nanopub::Statement.new(
|
20928
20928
|
@statement.subject, :hasMember, arg, @statement.comment
|
20929
20929
|
)
|
20930
20930
|
statement.annotations = @statement.annotations
|
@@ -20961,7 +20961,7 @@ n = 0 end
|
|
20961
20961
|
|
20962
20962
|
if @statement.relationship == :hasComponents
|
20963
20963
|
@statement.object.arguments.each do |arg|
|
20964
|
-
statement = BEL::
|
20964
|
+
statement = BEL::Nanopub::Statement.new(
|
20965
20965
|
@statement.subject, :hasComponent, arg, @statement.comment
|
20966
20966
|
)
|
20967
20967
|
statement.annotations = @statement.annotations
|
@@ -20969,7 +20969,7 @@ n = 0 end
|
|
20969
20969
|
end
|
20970
20970
|
elsif @statement.relationship == :hasMembers
|
20971
20971
|
@statement.object.arguments.each do |arg|
|
20972
|
-
statement = BEL::
|
20972
|
+
statement = BEL::Nanopub::Statement.new(
|
20973
20973
|
@statement.subject, :hasMember, arg, @statement.comment
|
20974
20974
|
)
|
20975
20975
|
statement.annotations = @statement.annotations
|
@@ -20995,7 +20995,7 @@ n = 0 end
|
|
20995
20995
|
begin
|
20996
20996
|
|
20997
20997
|
fx = @name.to_sym
|
20998
|
-
@term_stack.push(BEL::
|
20998
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
20999
20999
|
@pfx = nil
|
21000
21000
|
@pbuf = []
|
21001
21001
|
end
|
@@ -21024,7 +21024,7 @@ n = 0 end
|
|
21024
21024
|
p -= 1; end
|
21025
21025
|
begin
|
21026
21026
|
|
21027
|
-
@statement = BEL::
|
21027
|
+
@statement = BEL::Nanopub::Statement.new()
|
21028
21028
|
@statement_stack = [@statement]
|
21029
21029
|
end
|
21030
21030
|
begin
|
@@ -21048,7 +21048,7 @@ p -= 1; end
|
|
21048
21048
|
begin
|
21049
21049
|
|
21050
21050
|
fx = @name.to_sym
|
21051
|
-
@term_stack.push(BEL::
|
21051
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
21052
21052
|
@pfx = nil
|
21053
21053
|
@pbuf = []
|
21054
21054
|
end
|
@@ -21106,7 +21106,7 @@ p -= 1; end
|
|
21106
21106
|
p -= 1; end
|
21107
21107
|
begin
|
21108
21108
|
|
21109
|
-
@statement = BEL::
|
21109
|
+
@statement = BEL::Nanopub::Statement.new()
|
21110
21110
|
@statement_stack = [@statement]
|
21111
21111
|
end
|
21112
21112
|
begin
|
@@ -21134,7 +21134,7 @@ p -= 1; end
|
|
21134
21134
|
p -= 1; end
|
21135
21135
|
begin
|
21136
21136
|
|
21137
|
-
@statement = BEL::
|
21137
|
+
@statement = BEL::Nanopub::Statement.new()
|
21138
21138
|
@statement_stack = [@statement]
|
21139
21139
|
end
|
21140
21140
|
begin
|
@@ -21162,7 +21162,7 @@ p -= 1; end
|
|
21162
21162
|
p -= 1; end
|
21163
21163
|
begin
|
21164
21164
|
|
21165
|
-
@statement = BEL::
|
21165
|
+
@statement = BEL::Nanopub::Statement.new()
|
21166
21166
|
@statement_stack = [@statement]
|
21167
21167
|
end
|
21168
21168
|
begin
|
@@ -21190,7 +21190,7 @@ p -= 1; end
|
|
21190
21190
|
p -= 1; end
|
21191
21191
|
begin
|
21192
21192
|
|
21193
|
-
@statement = BEL::
|
21193
|
+
@statement = BEL::Nanopub::Statement.new()
|
21194
21194
|
@statement_stack = [@statement]
|
21195
21195
|
end
|
21196
21196
|
begin
|
@@ -21218,7 +21218,7 @@ p -= 1; end
|
|
21218
21218
|
|
21219
21219
|
if @statement.relationship == :hasComponents
|
21220
21220
|
@statement.object.arguments.each do |arg|
|
21221
|
-
statement = BEL::
|
21221
|
+
statement = BEL::Nanopub::Statement.new(
|
21222
21222
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21223
21223
|
)
|
21224
21224
|
statement.annotations = @statement.annotations
|
@@ -21226,7 +21226,7 @@ p -= 1; end
|
|
21226
21226
|
end
|
21227
21227
|
elsif @statement.relationship == :hasMembers
|
21228
21228
|
@statement.object.arguments.each do |arg|
|
21229
|
-
statement = BEL::
|
21229
|
+
statement = BEL::Nanopub::Statement.new(
|
21230
21230
|
@statement.subject, :hasMember, arg, @statement.comment
|
21231
21231
|
)
|
21232
21232
|
statement.annotations = @statement.annotations
|
@@ -21262,7 +21262,7 @@ n = 0 end
|
|
21262
21262
|
|
21263
21263
|
if @statement.relationship == :hasComponents
|
21264
21264
|
@statement.object.arguments.each do |arg|
|
21265
|
-
statement = BEL::
|
21265
|
+
statement = BEL::Nanopub::Statement.new(
|
21266
21266
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21267
21267
|
)
|
21268
21268
|
statement.annotations = @statement.annotations
|
@@ -21270,7 +21270,7 @@ n = 0 end
|
|
21270
21270
|
end
|
21271
21271
|
elsif @statement.relationship == :hasMembers
|
21272
21272
|
@statement.object.arguments.each do |arg|
|
21273
|
-
statement = BEL::
|
21273
|
+
statement = BEL::Nanopub::Statement.new(
|
21274
21274
|
@statement.subject, :hasMember, arg, @statement.comment
|
21275
21275
|
)
|
21276
21276
|
statement.annotations = @statement.annotations
|
@@ -21332,7 +21332,7 @@ n = 0 end
|
|
21332
21332
|
end
|
21333
21333
|
begin
|
21334
21334
|
|
21335
|
-
nested = BEL::
|
21335
|
+
nested = BEL::Nanopub::Statement.new()
|
21336
21336
|
@statement_stack.last.object = nested
|
21337
21337
|
@statement_stack.push nested
|
21338
21338
|
end
|
@@ -21368,7 +21368,7 @@ n = 0 end
|
|
21368
21368
|
|
21369
21369
|
if @statement.relationship == :hasComponents
|
21370
21370
|
@statement.object.arguments.each do |arg|
|
21371
|
-
statement = BEL::
|
21371
|
+
statement = BEL::Nanopub::Statement.new(
|
21372
21372
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21373
21373
|
)
|
21374
21374
|
statement.annotations = @statement.annotations
|
@@ -21376,7 +21376,7 @@ n = 0 end
|
|
21376
21376
|
end
|
21377
21377
|
elsif @statement.relationship == :hasMembers
|
21378
21378
|
@statement.object.arguments.each do |arg|
|
21379
|
-
statement = BEL::
|
21379
|
+
statement = BEL::Nanopub::Statement.new(
|
21380
21380
|
@statement.subject, :hasMember, arg, @statement.comment
|
21381
21381
|
)
|
21382
21382
|
statement.annotations = @statement.annotations
|
@@ -21409,7 +21409,7 @@ n = 0 end
|
|
21409
21409
|
|
21410
21410
|
if @statement.relationship == :hasComponents
|
21411
21411
|
@statement.object.arguments.each do |arg|
|
21412
|
-
statement = BEL::
|
21412
|
+
statement = BEL::Nanopub::Statement.new(
|
21413
21413
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21414
21414
|
)
|
21415
21415
|
statement.annotations = @statement.annotations
|
@@ -21417,7 +21417,7 @@ n = 0 end
|
|
21417
21417
|
end
|
21418
21418
|
elsif @statement.relationship == :hasMembers
|
21419
21419
|
@statement.object.arguments.each do |arg|
|
21420
|
-
statement = BEL::
|
21420
|
+
statement = BEL::Nanopub::Statement.new(
|
21421
21421
|
@statement.subject, :hasMember, arg, @statement.comment
|
21422
21422
|
)
|
21423
21423
|
statement.annotations = @statement.annotations
|
@@ -21460,7 +21460,7 @@ n = 0 end
|
|
21460
21460
|
|
21461
21461
|
if @statement.relationship == :hasComponents
|
21462
21462
|
@statement.object.arguments.each do |arg|
|
21463
|
-
statement = BEL::
|
21463
|
+
statement = BEL::Nanopub::Statement.new(
|
21464
21464
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21465
21465
|
)
|
21466
21466
|
statement.annotations = @statement.annotations
|
@@ -21468,7 +21468,7 @@ n = 0 end
|
|
21468
21468
|
end
|
21469
21469
|
elsif @statement.relationship == :hasMembers
|
21470
21470
|
@statement.object.arguments.each do |arg|
|
21471
|
-
statement = BEL::
|
21471
|
+
statement = BEL::Nanopub::Statement.new(
|
21472
21472
|
@statement.subject, :hasMember, arg, @statement.comment
|
21473
21473
|
)
|
21474
21474
|
statement.annotations = @statement.annotations
|
@@ -21488,7 +21488,7 @@ n = 0 end
|
|
21488
21488
|
begin
|
21489
21489
|
|
21490
21490
|
fx = @name.to_sym
|
21491
|
-
@term_stack.push(BEL::
|
21491
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
21492
21492
|
@pfx = nil
|
21493
21493
|
@pbuf = []
|
21494
21494
|
end
|
@@ -21518,7 +21518,7 @@ n = 0 end
|
|
21518
21518
|
|
21519
21519
|
if @statement.relationship == :hasComponents
|
21520
21520
|
@statement.object.arguments.each do |arg|
|
21521
|
-
statement = BEL::
|
21521
|
+
statement = BEL::Nanopub::Statement.new(
|
21522
21522
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21523
21523
|
)
|
21524
21524
|
statement.annotations = @statement.annotations
|
@@ -21526,7 +21526,7 @@ n = 0 end
|
|
21526
21526
|
end
|
21527
21527
|
elsif @statement.relationship == :hasMembers
|
21528
21528
|
@statement.object.arguments.each do |arg|
|
21529
|
-
statement = BEL::
|
21529
|
+
statement = BEL::Nanopub::Statement.new(
|
21530
21530
|
@statement.subject, :hasMember, arg, @statement.comment
|
21531
21531
|
)
|
21532
21532
|
statement.annotations = @statement.annotations
|
@@ -21563,7 +21563,7 @@ n = 0 end
|
|
21563
21563
|
|
21564
21564
|
if @statement.relationship == :hasComponents
|
21565
21565
|
@statement.object.arguments.each do |arg|
|
21566
|
-
statement = BEL::
|
21566
|
+
statement = BEL::Nanopub::Statement.new(
|
21567
21567
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21568
21568
|
)
|
21569
21569
|
statement.annotations = @statement.annotations
|
@@ -21571,7 +21571,7 @@ n = 0 end
|
|
21571
21571
|
end
|
21572
21572
|
elsif @statement.relationship == :hasMembers
|
21573
21573
|
@statement.object.arguments.each do |arg|
|
21574
|
-
statement = BEL::
|
21574
|
+
statement = BEL::Nanopub::Statement.new(
|
21575
21575
|
@statement.subject, :hasMember, arg, @statement.comment
|
21576
21576
|
)
|
21577
21577
|
statement.annotations = @statement.annotations
|
@@ -21640,7 +21640,7 @@ n = 0 end
|
|
21640
21640
|
p -= 1; end
|
21641
21641
|
begin
|
21642
21642
|
|
21643
|
-
@statement = BEL::
|
21643
|
+
@statement = BEL::Nanopub::Statement.new()
|
21644
21644
|
@statement_stack = [@statement]
|
21645
21645
|
end
|
21646
21646
|
begin
|
@@ -21666,7 +21666,7 @@ p -= 1; end
|
|
21666
21666
|
begin
|
21667
21667
|
|
21668
21668
|
fx = @name.to_sym
|
21669
|
-
@term_stack.push(BEL::
|
21669
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
21670
21670
|
@pfx = nil
|
21671
21671
|
@pbuf = []
|
21672
21672
|
end
|
@@ -21726,7 +21726,7 @@ p -= 1; end
|
|
21726
21726
|
|
21727
21727
|
if @statement.relationship == :hasComponents
|
21728
21728
|
@statement.object.arguments.each do |arg|
|
21729
|
-
statement = BEL::
|
21729
|
+
statement = BEL::Nanopub::Statement.new(
|
21730
21730
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21731
21731
|
)
|
21732
21732
|
statement.annotations = @statement.annotations
|
@@ -21734,7 +21734,7 @@ p -= 1; end
|
|
21734
21734
|
end
|
21735
21735
|
elsif @statement.relationship == :hasMembers
|
21736
21736
|
@statement.object.arguments.each do |arg|
|
21737
|
-
statement = BEL::
|
21737
|
+
statement = BEL::Nanopub::Statement.new(
|
21738
21738
|
@statement.subject, :hasMember, arg, @statement.comment
|
21739
21739
|
)
|
21740
21740
|
statement.annotations = @statement.annotations
|
@@ -21775,7 +21775,7 @@ n = 0 end
|
|
21775
21775
|
|
21776
21776
|
if @statement.relationship == :hasComponents
|
21777
21777
|
@statement.object.arguments.each do |arg|
|
21778
|
-
statement = BEL::
|
21778
|
+
statement = BEL::Nanopub::Statement.new(
|
21779
21779
|
@statement.subject, :hasComponent, arg, @statement.comment
|
21780
21780
|
)
|
21781
21781
|
statement.annotations = @statement.annotations
|
@@ -21783,7 +21783,7 @@ n = 0 end
|
|
21783
21783
|
end
|
21784
21784
|
elsif @statement.relationship == :hasMembers
|
21785
21785
|
@statement.object.arguments.each do |arg|
|
21786
|
-
statement = BEL::
|
21786
|
+
statement = BEL::Nanopub::Statement.new(
|
21787
21787
|
@statement.subject, :hasMember, arg, @statement.comment
|
21788
21788
|
)
|
21789
21789
|
statement.annotations = @statement.annotations
|
@@ -21818,12 +21818,12 @@ n = 0 end
|
|
21818
21818
|
|
21819
21819
|
ns =
|
21820
21820
|
if @pfx
|
21821
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
21821
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
21822
21822
|
else
|
21823
21823
|
nil
|
21824
21824
|
end
|
21825
21825
|
|
21826
|
-
param = BEL::
|
21826
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
21827
21827
|
@term_stack.last << param
|
21828
21828
|
|
21829
21829
|
yield param
|
@@ -21873,12 +21873,12 @@ n = 0 end
|
|
21873
21873
|
|
21874
21874
|
ns =
|
21875
21875
|
if @pfx
|
21876
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
21876
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
21877
21877
|
else
|
21878
21878
|
nil
|
21879
21879
|
end
|
21880
21880
|
|
21881
|
-
param = BEL::
|
21881
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
21882
21882
|
@term_stack.last << param
|
21883
21883
|
|
21884
21884
|
yield param
|
@@ -30799,7 +30799,7 @@ begin
|
|
30799
30799
|
|
30800
30800
|
if @statement.relationship == :hasComponents
|
30801
30801
|
@statement.object.arguments.each do |arg|
|
30802
|
-
statement = BEL::
|
30802
|
+
statement = BEL::Nanopub::Statement.new(
|
30803
30803
|
@statement.subject, :hasComponent, arg, @statement.comment
|
30804
30804
|
)
|
30805
30805
|
statement.annotations = @statement.annotations
|
@@ -30807,7 +30807,7 @@ begin
|
|
30807
30807
|
end
|
30808
30808
|
elsif @statement.relationship == :hasMembers
|
30809
30809
|
@statement.object.arguments.each do |arg|
|
30810
|
-
statement = BEL::
|
30810
|
+
statement = BEL::Nanopub::Statement.new(
|
30811
30811
|
@statement.subject, :hasMember, arg, @statement.comment
|
30812
30812
|
)
|
30813
30813
|
statement.annotations = @statement.annotations
|
@@ -30860,12 +30860,12 @@ begin
|
|
30860
30860
|
|
30861
30861
|
ns =
|
30862
30862
|
if @pfx
|
30863
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
30863
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
30864
30864
|
else
|
30865
30865
|
nil
|
30866
30866
|
end
|
30867
30867
|
|
30868
|
-
param = BEL::
|
30868
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
30869
30869
|
@term_stack.last << param
|
30870
30870
|
|
30871
30871
|
yield param
|
@@ -30994,12 +30994,12 @@ begin
|
|
30994
30994
|
|
30995
30995
|
ns =
|
30996
30996
|
if @pfx
|
30997
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
30997
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
30998
30998
|
else
|
30999
30999
|
nil
|
31000
31000
|
end
|
31001
31001
|
|
31002
|
-
param = BEL::
|
31002
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
31003
31003
|
@term_stack.last << param
|
31004
31004
|
|
31005
31005
|
yield param
|
@@ -31185,7 +31185,7 @@ begin
|
|
31185
31185
|
|
31186
31186
|
if @statement.relationship == :hasComponents
|
31187
31187
|
@statement.object.arguments.each do |arg|
|
31188
|
-
statement = BEL::
|
31188
|
+
statement = BEL::Nanopub::Statement.new(
|
31189
31189
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31190
31190
|
)
|
31191
31191
|
statement.annotations = @statement.annotations
|
@@ -31193,7 +31193,7 @@ begin
|
|
31193
31193
|
end
|
31194
31194
|
elsif @statement.relationship == :hasMembers
|
31195
31195
|
@statement.object.arguments.each do |arg|
|
31196
|
-
statement = BEL::
|
31196
|
+
statement = BEL::Nanopub::Statement.new(
|
31197
31197
|
@statement.subject, :hasMember, arg, @statement.comment
|
31198
31198
|
)
|
31199
31199
|
statement.annotations = @statement.annotations
|
@@ -31214,7 +31214,7 @@ begin
|
|
31214
31214
|
when 110 then
|
31215
31215
|
begin
|
31216
31216
|
|
31217
|
-
@statement = BEL::
|
31217
|
+
@statement = BEL::Nanopub::Statement.new()
|
31218
31218
|
@statement_stack = [@statement]
|
31219
31219
|
end
|
31220
31220
|
begin
|
@@ -31255,7 +31255,7 @@ p -= 1; begin
|
|
31255
31255
|
|
31256
31256
|
if @statement.relationship == :hasComponents
|
31257
31257
|
@statement.object.arguments.each do |arg|
|
31258
|
-
statement = BEL::
|
31258
|
+
statement = BEL::Nanopub::Statement.new(
|
31259
31259
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31260
31260
|
)
|
31261
31261
|
statement.annotations = @statement.annotations
|
@@ -31263,7 +31263,7 @@ p -= 1; begin
|
|
31263
31263
|
end
|
31264
31264
|
elsif @statement.relationship == :hasMembers
|
31265
31265
|
@statement.object.arguments.each do |arg|
|
31266
|
-
statement = BEL::
|
31266
|
+
statement = BEL::Nanopub::Statement.new(
|
31267
31267
|
@statement.subject, :hasMember, arg, @statement.comment
|
31268
31268
|
)
|
31269
31269
|
statement.annotations = @statement.annotations
|
@@ -31276,7 +31276,7 @@ p -= 1; begin
|
|
31276
31276
|
when 63 then
|
31277
31277
|
begin
|
31278
31278
|
|
31279
|
-
nested = BEL::
|
31279
|
+
nested = BEL::Nanopub::Statement.new()
|
31280
31280
|
@statement_stack.last.object = nested
|
31281
31281
|
@statement_stack.push nested
|
31282
31282
|
end
|
@@ -31305,7 +31305,7 @@ p -= 1; begin
|
|
31305
31305
|
|
31306
31306
|
if @statement.relationship == :hasComponents
|
31307
31307
|
@statement.object.arguments.each do |arg|
|
31308
|
-
statement = BEL::
|
31308
|
+
statement = BEL::Nanopub::Statement.new(
|
31309
31309
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31310
31310
|
)
|
31311
31311
|
statement.annotations = @statement.annotations
|
@@ -31313,7 +31313,7 @@ p -= 1; begin
|
|
31313
31313
|
end
|
31314
31314
|
elsif @statement.relationship == :hasMembers
|
31315
31315
|
@statement.object.arguments.each do |arg|
|
31316
|
-
statement = BEL::
|
31316
|
+
statement = BEL::Nanopub::Statement.new(
|
31317
31317
|
@statement.subject, :hasMember, arg, @statement.comment
|
31318
31318
|
)
|
31319
31319
|
statement.annotations = @statement.annotations
|
@@ -31402,7 +31402,7 @@ p -= 1; begin
|
|
31402
31402
|
begin
|
31403
31403
|
|
31404
31404
|
fx = @name.to_sym
|
31405
|
-
@term_stack.push(BEL::
|
31405
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
31406
31406
|
@pfx = nil
|
31407
31407
|
@pbuf = []
|
31408
31408
|
end
|
@@ -31426,12 +31426,12 @@ p -= 1; begin
|
|
31426
31426
|
|
31427
31427
|
ns =
|
31428
31428
|
if @pfx
|
31429
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
31429
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
31430
31430
|
else
|
31431
31431
|
nil
|
31432
31432
|
end
|
31433
31433
|
|
31434
|
-
param = BEL::
|
31434
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
31435
31435
|
@term_stack.last << param
|
31436
31436
|
|
31437
31437
|
yield param
|
@@ -31537,7 +31537,7 @@ n = 0 end
|
|
31537
31537
|
begin
|
31538
31538
|
|
31539
31539
|
fx = @name.to_sym
|
31540
|
-
@term_stack.push(BEL::
|
31540
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
31541
31541
|
@pfx = nil
|
31542
31542
|
@pbuf = []
|
31543
31543
|
end
|
@@ -31727,7 +31727,7 @@ n = 0 end
|
|
31727
31727
|
|
31728
31728
|
if @statement.relationship == :hasComponents
|
31729
31729
|
@statement.object.arguments.each do |arg|
|
31730
|
-
statement = BEL::
|
31730
|
+
statement = BEL::Nanopub::Statement.new(
|
31731
31731
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31732
31732
|
)
|
31733
31733
|
statement.annotations = @statement.annotations
|
@@ -31735,7 +31735,7 @@ n = 0 end
|
|
31735
31735
|
end
|
31736
31736
|
elsif @statement.relationship == :hasMembers
|
31737
31737
|
@statement.object.arguments.each do |arg|
|
31738
|
-
statement = BEL::
|
31738
|
+
statement = BEL::Nanopub::Statement.new(
|
31739
31739
|
@statement.subject, :hasMember, arg, @statement.comment
|
31740
31740
|
)
|
31741
31741
|
statement.annotations = @statement.annotations
|
@@ -31771,7 +31771,7 @@ n = 0 end
|
|
31771
31771
|
|
31772
31772
|
if @statement.relationship == :hasComponents
|
31773
31773
|
@statement.object.arguments.each do |arg|
|
31774
|
-
statement = BEL::
|
31774
|
+
statement = BEL::Nanopub::Statement.new(
|
31775
31775
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31776
31776
|
)
|
31777
31777
|
statement.annotations = @statement.annotations
|
@@ -31779,7 +31779,7 @@ n = 0 end
|
|
31779
31779
|
end
|
31780
31780
|
elsif @statement.relationship == :hasMembers
|
31781
31781
|
@statement.object.arguments.each do |arg|
|
31782
|
-
statement = BEL::
|
31782
|
+
statement = BEL::Nanopub::Statement.new(
|
31783
31783
|
@statement.subject, :hasMember, arg, @statement.comment
|
31784
31784
|
)
|
31785
31785
|
statement.annotations = @statement.annotations
|
@@ -31828,7 +31828,7 @@ n = 0 end
|
|
31828
31828
|
end
|
31829
31829
|
begin
|
31830
31830
|
|
31831
|
-
nested = BEL::
|
31831
|
+
nested = BEL::Nanopub::Statement.new()
|
31832
31832
|
@statement_stack.last.object = nested
|
31833
31833
|
@statement_stack.push nested
|
31834
31834
|
end
|
@@ -31872,7 +31872,7 @@ n = 0 end
|
|
31872
31872
|
@cmtbuffer << data[p].ord end
|
31873
31873
|
begin
|
31874
31874
|
|
31875
|
-
nested = BEL::
|
31875
|
+
nested = BEL::Nanopub::Statement.new()
|
31876
31876
|
@statement_stack.last.object = nested
|
31877
31877
|
@statement_stack.push nested
|
31878
31878
|
end
|
@@ -31913,7 +31913,7 @@ n = 0 end
|
|
31913
31913
|
|
31914
31914
|
if @statement.relationship == :hasComponents
|
31915
31915
|
@statement.object.arguments.each do |arg|
|
31916
|
-
statement = BEL::
|
31916
|
+
statement = BEL::Nanopub::Statement.new(
|
31917
31917
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31918
31918
|
)
|
31919
31919
|
statement.annotations = @statement.annotations
|
@@ -31921,7 +31921,7 @@ n = 0 end
|
|
31921
31921
|
end
|
31922
31922
|
elsif @statement.relationship == :hasMembers
|
31923
31923
|
@statement.object.arguments.each do |arg|
|
31924
|
-
statement = BEL::
|
31924
|
+
statement = BEL::Nanopub::Statement.new(
|
31925
31925
|
@statement.subject, :hasMember, arg, @statement.comment
|
31926
31926
|
)
|
31927
31927
|
statement.annotations = @statement.annotations
|
@@ -31958,7 +31958,7 @@ n = 0 end
|
|
31958
31958
|
|
31959
31959
|
if @statement.relationship == :hasComponents
|
31960
31960
|
@statement.object.arguments.each do |arg|
|
31961
|
-
statement = BEL::
|
31961
|
+
statement = BEL::Nanopub::Statement.new(
|
31962
31962
|
@statement.subject, :hasComponent, arg, @statement.comment
|
31963
31963
|
)
|
31964
31964
|
statement.annotations = @statement.annotations
|
@@ -31966,7 +31966,7 @@ n = 0 end
|
|
31966
31966
|
end
|
31967
31967
|
elsif @statement.relationship == :hasMembers
|
31968
31968
|
@statement.object.arguments.each do |arg|
|
31969
|
-
statement = BEL::
|
31969
|
+
statement = BEL::Nanopub::Statement.new(
|
31970
31970
|
@statement.subject, :hasMember, arg, @statement.comment
|
31971
31971
|
)
|
31972
31972
|
statement.annotations = @statement.annotations
|
@@ -31992,7 +31992,7 @@ n = 0 end
|
|
31992
31992
|
begin
|
31993
31993
|
|
31994
31994
|
fx = @name.to_sym
|
31995
|
-
@term_stack.push(BEL::
|
31995
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
31996
31996
|
@pfx = nil
|
31997
31997
|
@pbuf = []
|
31998
31998
|
end
|
@@ -32021,7 +32021,7 @@ n = 0 end
|
|
32021
32021
|
p -= 1; end
|
32022
32022
|
begin
|
32023
32023
|
|
32024
|
-
@statement = BEL::
|
32024
|
+
@statement = BEL::Nanopub::Statement.new()
|
32025
32025
|
@statement_stack = [@statement]
|
32026
32026
|
end
|
32027
32027
|
begin
|
@@ -32045,7 +32045,7 @@ p -= 1; end
|
|
32045
32045
|
begin
|
32046
32046
|
|
32047
32047
|
fx = @name.to_sym
|
32048
|
-
@term_stack.push(BEL::
|
32048
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
32049
32049
|
@pfx = nil
|
32050
32050
|
@pbuf = []
|
32051
32051
|
end
|
@@ -32103,7 +32103,7 @@ p -= 1; end
|
|
32103
32103
|
p -= 1; end
|
32104
32104
|
begin
|
32105
32105
|
|
32106
|
-
@statement = BEL::
|
32106
|
+
@statement = BEL::Nanopub::Statement.new()
|
32107
32107
|
@statement_stack = [@statement]
|
32108
32108
|
end
|
32109
32109
|
begin
|
@@ -32131,7 +32131,7 @@ p -= 1; end
|
|
32131
32131
|
p -= 1; end
|
32132
32132
|
begin
|
32133
32133
|
|
32134
|
-
@statement = BEL::
|
32134
|
+
@statement = BEL::Nanopub::Statement.new()
|
32135
32135
|
@statement_stack = [@statement]
|
32136
32136
|
end
|
32137
32137
|
begin
|
@@ -32159,7 +32159,7 @@ p -= 1; end
|
|
32159
32159
|
p -= 1; end
|
32160
32160
|
begin
|
32161
32161
|
|
32162
|
-
@statement = BEL::
|
32162
|
+
@statement = BEL::Nanopub::Statement.new()
|
32163
32163
|
@statement_stack = [@statement]
|
32164
32164
|
end
|
32165
32165
|
begin
|
@@ -32187,7 +32187,7 @@ p -= 1; end
|
|
32187
32187
|
p -= 1; end
|
32188
32188
|
begin
|
32189
32189
|
|
32190
|
-
@statement = BEL::
|
32190
|
+
@statement = BEL::Nanopub::Statement.new()
|
32191
32191
|
@statement_stack = [@statement]
|
32192
32192
|
end
|
32193
32193
|
begin
|
@@ -32215,7 +32215,7 @@ p -= 1; end
|
|
32215
32215
|
|
32216
32216
|
if @statement.relationship == :hasComponents
|
32217
32217
|
@statement.object.arguments.each do |arg|
|
32218
|
-
statement = BEL::
|
32218
|
+
statement = BEL::Nanopub::Statement.new(
|
32219
32219
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32220
32220
|
)
|
32221
32221
|
statement.annotations = @statement.annotations
|
@@ -32223,7 +32223,7 @@ p -= 1; end
|
|
32223
32223
|
end
|
32224
32224
|
elsif @statement.relationship == :hasMembers
|
32225
32225
|
@statement.object.arguments.each do |arg|
|
32226
|
-
statement = BEL::
|
32226
|
+
statement = BEL::Nanopub::Statement.new(
|
32227
32227
|
@statement.subject, :hasMember, arg, @statement.comment
|
32228
32228
|
)
|
32229
32229
|
statement.annotations = @statement.annotations
|
@@ -32259,7 +32259,7 @@ n = 0 end
|
|
32259
32259
|
|
32260
32260
|
if @statement.relationship == :hasComponents
|
32261
32261
|
@statement.object.arguments.each do |arg|
|
32262
|
-
statement = BEL::
|
32262
|
+
statement = BEL::Nanopub::Statement.new(
|
32263
32263
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32264
32264
|
)
|
32265
32265
|
statement.annotations = @statement.annotations
|
@@ -32267,7 +32267,7 @@ n = 0 end
|
|
32267
32267
|
end
|
32268
32268
|
elsif @statement.relationship == :hasMembers
|
32269
32269
|
@statement.object.arguments.each do |arg|
|
32270
|
-
statement = BEL::
|
32270
|
+
statement = BEL::Nanopub::Statement.new(
|
32271
32271
|
@statement.subject, :hasMember, arg, @statement.comment
|
32272
32272
|
)
|
32273
32273
|
statement.annotations = @statement.annotations
|
@@ -32329,7 +32329,7 @@ n = 0 end
|
|
32329
32329
|
end
|
32330
32330
|
begin
|
32331
32331
|
|
32332
|
-
nested = BEL::
|
32332
|
+
nested = BEL::Nanopub::Statement.new()
|
32333
32333
|
@statement_stack.last.object = nested
|
32334
32334
|
@statement_stack.push nested
|
32335
32335
|
end
|
@@ -32365,7 +32365,7 @@ n = 0 end
|
|
32365
32365
|
|
32366
32366
|
if @statement.relationship == :hasComponents
|
32367
32367
|
@statement.object.arguments.each do |arg|
|
32368
|
-
statement = BEL::
|
32368
|
+
statement = BEL::Nanopub::Statement.new(
|
32369
32369
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32370
32370
|
)
|
32371
32371
|
statement.annotations = @statement.annotations
|
@@ -32373,7 +32373,7 @@ n = 0 end
|
|
32373
32373
|
end
|
32374
32374
|
elsif @statement.relationship == :hasMembers
|
32375
32375
|
@statement.object.arguments.each do |arg|
|
32376
|
-
statement = BEL::
|
32376
|
+
statement = BEL::Nanopub::Statement.new(
|
32377
32377
|
@statement.subject, :hasMember, arg, @statement.comment
|
32378
32378
|
)
|
32379
32379
|
statement.annotations = @statement.annotations
|
@@ -32406,7 +32406,7 @@ n = 0 end
|
|
32406
32406
|
|
32407
32407
|
if @statement.relationship == :hasComponents
|
32408
32408
|
@statement.object.arguments.each do |arg|
|
32409
|
-
statement = BEL::
|
32409
|
+
statement = BEL::Nanopub::Statement.new(
|
32410
32410
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32411
32411
|
)
|
32412
32412
|
statement.annotations = @statement.annotations
|
@@ -32414,7 +32414,7 @@ n = 0 end
|
|
32414
32414
|
end
|
32415
32415
|
elsif @statement.relationship == :hasMembers
|
32416
32416
|
@statement.object.arguments.each do |arg|
|
32417
|
-
statement = BEL::
|
32417
|
+
statement = BEL::Nanopub::Statement.new(
|
32418
32418
|
@statement.subject, :hasMember, arg, @statement.comment
|
32419
32419
|
)
|
32420
32420
|
statement.annotations = @statement.annotations
|
@@ -32457,7 +32457,7 @@ n = 0 end
|
|
32457
32457
|
|
32458
32458
|
if @statement.relationship == :hasComponents
|
32459
32459
|
@statement.object.arguments.each do |arg|
|
32460
|
-
statement = BEL::
|
32460
|
+
statement = BEL::Nanopub::Statement.new(
|
32461
32461
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32462
32462
|
)
|
32463
32463
|
statement.annotations = @statement.annotations
|
@@ -32465,7 +32465,7 @@ n = 0 end
|
|
32465
32465
|
end
|
32466
32466
|
elsif @statement.relationship == :hasMembers
|
32467
32467
|
@statement.object.arguments.each do |arg|
|
32468
|
-
statement = BEL::
|
32468
|
+
statement = BEL::Nanopub::Statement.new(
|
32469
32469
|
@statement.subject, :hasMember, arg, @statement.comment
|
32470
32470
|
)
|
32471
32471
|
statement.annotations = @statement.annotations
|
@@ -32485,7 +32485,7 @@ n = 0 end
|
|
32485
32485
|
begin
|
32486
32486
|
|
32487
32487
|
fx = @name.to_sym
|
32488
|
-
@term_stack.push(BEL::
|
32488
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
32489
32489
|
@pfx = nil
|
32490
32490
|
@pbuf = []
|
32491
32491
|
end
|
@@ -32515,7 +32515,7 @@ n = 0 end
|
|
32515
32515
|
|
32516
32516
|
if @statement.relationship == :hasComponents
|
32517
32517
|
@statement.object.arguments.each do |arg|
|
32518
|
-
statement = BEL::
|
32518
|
+
statement = BEL::Nanopub::Statement.new(
|
32519
32519
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32520
32520
|
)
|
32521
32521
|
statement.annotations = @statement.annotations
|
@@ -32523,7 +32523,7 @@ n = 0 end
|
|
32523
32523
|
end
|
32524
32524
|
elsif @statement.relationship == :hasMembers
|
32525
32525
|
@statement.object.arguments.each do |arg|
|
32526
|
-
statement = BEL::
|
32526
|
+
statement = BEL::Nanopub::Statement.new(
|
32527
32527
|
@statement.subject, :hasMember, arg, @statement.comment
|
32528
32528
|
)
|
32529
32529
|
statement.annotations = @statement.annotations
|
@@ -32560,7 +32560,7 @@ n = 0 end
|
|
32560
32560
|
|
32561
32561
|
if @statement.relationship == :hasComponents
|
32562
32562
|
@statement.object.arguments.each do |arg|
|
32563
|
-
statement = BEL::
|
32563
|
+
statement = BEL::Nanopub::Statement.new(
|
32564
32564
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32565
32565
|
)
|
32566
32566
|
statement.annotations = @statement.annotations
|
@@ -32568,7 +32568,7 @@ n = 0 end
|
|
32568
32568
|
end
|
32569
32569
|
elsif @statement.relationship == :hasMembers
|
32570
32570
|
@statement.object.arguments.each do |arg|
|
32571
|
-
statement = BEL::
|
32571
|
+
statement = BEL::Nanopub::Statement.new(
|
32572
32572
|
@statement.subject, :hasMember, arg, @statement.comment
|
32573
32573
|
)
|
32574
32574
|
statement.annotations = @statement.annotations
|
@@ -32637,7 +32637,7 @@ n = 0 end
|
|
32637
32637
|
p -= 1; end
|
32638
32638
|
begin
|
32639
32639
|
|
32640
|
-
@statement = BEL::
|
32640
|
+
@statement = BEL::Nanopub::Statement.new()
|
32641
32641
|
@statement_stack = [@statement]
|
32642
32642
|
end
|
32643
32643
|
begin
|
@@ -32663,7 +32663,7 @@ p -= 1; end
|
|
32663
32663
|
begin
|
32664
32664
|
|
32665
32665
|
fx = @name.to_sym
|
32666
|
-
@term_stack.push(BEL::
|
32666
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
32667
32667
|
@pfx = nil
|
32668
32668
|
@pbuf = []
|
32669
32669
|
end
|
@@ -32723,7 +32723,7 @@ p -= 1; end
|
|
32723
32723
|
|
32724
32724
|
if @statement.relationship == :hasComponents
|
32725
32725
|
@statement.object.arguments.each do |arg|
|
32726
|
-
statement = BEL::
|
32726
|
+
statement = BEL::Nanopub::Statement.new(
|
32727
32727
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32728
32728
|
)
|
32729
32729
|
statement.annotations = @statement.annotations
|
@@ -32731,7 +32731,7 @@ p -= 1; end
|
|
32731
32731
|
end
|
32732
32732
|
elsif @statement.relationship == :hasMembers
|
32733
32733
|
@statement.object.arguments.each do |arg|
|
32734
|
-
statement = BEL::
|
32734
|
+
statement = BEL::Nanopub::Statement.new(
|
32735
32735
|
@statement.subject, :hasMember, arg, @statement.comment
|
32736
32736
|
)
|
32737
32737
|
statement.annotations = @statement.annotations
|
@@ -32772,7 +32772,7 @@ n = 0 end
|
|
32772
32772
|
|
32773
32773
|
if @statement.relationship == :hasComponents
|
32774
32774
|
@statement.object.arguments.each do |arg|
|
32775
|
-
statement = BEL::
|
32775
|
+
statement = BEL::Nanopub::Statement.new(
|
32776
32776
|
@statement.subject, :hasComponent, arg, @statement.comment
|
32777
32777
|
)
|
32778
32778
|
statement.annotations = @statement.annotations
|
@@ -32780,7 +32780,7 @@ n = 0 end
|
|
32780
32780
|
end
|
32781
32781
|
elsif @statement.relationship == :hasMembers
|
32782
32782
|
@statement.object.arguments.each do |arg|
|
32783
|
-
statement = BEL::
|
32783
|
+
statement = BEL::Nanopub::Statement.new(
|
32784
32784
|
@statement.subject, :hasMember, arg, @statement.comment
|
32785
32785
|
)
|
32786
32786
|
statement.annotations = @statement.annotations
|
@@ -32815,12 +32815,12 @@ n = 0 end
|
|
32815
32815
|
|
32816
32816
|
ns =
|
32817
32817
|
if @pfx
|
32818
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
32818
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
32819
32819
|
else
|
32820
32820
|
nil
|
32821
32821
|
end
|
32822
32822
|
|
32823
|
-
param = BEL::
|
32823
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
32824
32824
|
@term_stack.last << param
|
32825
32825
|
|
32826
32826
|
yield param
|
@@ -32870,12 +32870,12 @@ n = 0 end
|
|
32870
32870
|
|
32871
32871
|
ns =
|
32872
32872
|
if @pfx
|
32873
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
32873
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
32874
32874
|
else
|
32875
32875
|
nil
|
32876
32876
|
end
|
32877
32877
|
|
32878
|
-
param = BEL::
|
32878
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
32879
32879
|
@term_stack.last << param
|
32880
32880
|
|
32881
32881
|
yield param
|
@@ -41796,7 +41796,7 @@ begin
|
|
41796
41796
|
|
41797
41797
|
if @statement.relationship == :hasComponents
|
41798
41798
|
@statement.object.arguments.each do |arg|
|
41799
|
-
statement = BEL::
|
41799
|
+
statement = BEL::Nanopub::Statement.new(
|
41800
41800
|
@statement.subject, :hasComponent, arg, @statement.comment
|
41801
41801
|
)
|
41802
41802
|
statement.annotations = @statement.annotations
|
@@ -41804,7 +41804,7 @@ begin
|
|
41804
41804
|
end
|
41805
41805
|
elsif @statement.relationship == :hasMembers
|
41806
41806
|
@statement.object.arguments.each do |arg|
|
41807
|
-
statement = BEL::
|
41807
|
+
statement = BEL::Nanopub::Statement.new(
|
41808
41808
|
@statement.subject, :hasMember, arg, @statement.comment
|
41809
41809
|
)
|
41810
41810
|
statement.annotations = @statement.annotations
|
@@ -41857,12 +41857,12 @@ begin
|
|
41857
41857
|
|
41858
41858
|
ns =
|
41859
41859
|
if @pfx
|
41860
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
41860
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
41861
41861
|
else
|
41862
41862
|
nil
|
41863
41863
|
end
|
41864
41864
|
|
41865
|
-
param = BEL::
|
41865
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
41866
41866
|
@term_stack.last << param
|
41867
41867
|
|
41868
41868
|
yield param
|
@@ -41991,12 +41991,12 @@ begin
|
|
41991
41991
|
|
41992
41992
|
ns =
|
41993
41993
|
if @pfx
|
41994
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
41994
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
41995
41995
|
else
|
41996
41996
|
nil
|
41997
41997
|
end
|
41998
41998
|
|
41999
|
-
param = BEL::
|
41999
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
42000
42000
|
@term_stack.last << param
|
42001
42001
|
|
42002
42002
|
yield param
|
@@ -42182,7 +42182,7 @@ begin
|
|
42182
42182
|
|
42183
42183
|
if @statement.relationship == :hasComponents
|
42184
42184
|
@statement.object.arguments.each do |arg|
|
42185
|
-
statement = BEL::
|
42185
|
+
statement = BEL::Nanopub::Statement.new(
|
42186
42186
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42187
42187
|
)
|
42188
42188
|
statement.annotations = @statement.annotations
|
@@ -42190,7 +42190,7 @@ begin
|
|
42190
42190
|
end
|
42191
42191
|
elsif @statement.relationship == :hasMembers
|
42192
42192
|
@statement.object.arguments.each do |arg|
|
42193
|
-
statement = BEL::
|
42193
|
+
statement = BEL::Nanopub::Statement.new(
|
42194
42194
|
@statement.subject, :hasMember, arg, @statement.comment
|
42195
42195
|
)
|
42196
42196
|
statement.annotations = @statement.annotations
|
@@ -42211,7 +42211,7 @@ begin
|
|
42211
42211
|
when 110 then
|
42212
42212
|
begin
|
42213
42213
|
|
42214
|
-
@statement = BEL::
|
42214
|
+
@statement = BEL::Nanopub::Statement.new()
|
42215
42215
|
@statement_stack = [@statement]
|
42216
42216
|
end
|
42217
42217
|
begin
|
@@ -42252,7 +42252,7 @@ p -= 1; begin
|
|
42252
42252
|
|
42253
42253
|
if @statement.relationship == :hasComponents
|
42254
42254
|
@statement.object.arguments.each do |arg|
|
42255
|
-
statement = BEL::
|
42255
|
+
statement = BEL::Nanopub::Statement.new(
|
42256
42256
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42257
42257
|
)
|
42258
42258
|
statement.annotations = @statement.annotations
|
@@ -42260,7 +42260,7 @@ p -= 1; begin
|
|
42260
42260
|
end
|
42261
42261
|
elsif @statement.relationship == :hasMembers
|
42262
42262
|
@statement.object.arguments.each do |arg|
|
42263
|
-
statement = BEL::
|
42263
|
+
statement = BEL::Nanopub::Statement.new(
|
42264
42264
|
@statement.subject, :hasMember, arg, @statement.comment
|
42265
42265
|
)
|
42266
42266
|
statement.annotations = @statement.annotations
|
@@ -42273,7 +42273,7 @@ p -= 1; begin
|
|
42273
42273
|
when 63 then
|
42274
42274
|
begin
|
42275
42275
|
|
42276
|
-
nested = BEL::
|
42276
|
+
nested = BEL::Nanopub::Statement.new()
|
42277
42277
|
@statement_stack.last.object = nested
|
42278
42278
|
@statement_stack.push nested
|
42279
42279
|
end
|
@@ -42302,7 +42302,7 @@ p -= 1; begin
|
|
42302
42302
|
|
42303
42303
|
if @statement.relationship == :hasComponents
|
42304
42304
|
@statement.object.arguments.each do |arg|
|
42305
|
-
statement = BEL::
|
42305
|
+
statement = BEL::Nanopub::Statement.new(
|
42306
42306
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42307
42307
|
)
|
42308
42308
|
statement.annotations = @statement.annotations
|
@@ -42310,7 +42310,7 @@ p -= 1; begin
|
|
42310
42310
|
end
|
42311
42311
|
elsif @statement.relationship == :hasMembers
|
42312
42312
|
@statement.object.arguments.each do |arg|
|
42313
|
-
statement = BEL::
|
42313
|
+
statement = BEL::Nanopub::Statement.new(
|
42314
42314
|
@statement.subject, :hasMember, arg, @statement.comment
|
42315
42315
|
)
|
42316
42316
|
statement.annotations = @statement.annotations
|
@@ -42399,7 +42399,7 @@ p -= 1; begin
|
|
42399
42399
|
begin
|
42400
42400
|
|
42401
42401
|
fx = @name.to_sym
|
42402
|
-
@term_stack.push(BEL::
|
42402
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
42403
42403
|
@pfx = nil
|
42404
42404
|
@pbuf = []
|
42405
42405
|
end
|
@@ -42423,12 +42423,12 @@ p -= 1; begin
|
|
42423
42423
|
|
42424
42424
|
ns =
|
42425
42425
|
if @pfx
|
42426
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
42426
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
42427
42427
|
else
|
42428
42428
|
nil
|
42429
42429
|
end
|
42430
42430
|
|
42431
|
-
param = BEL::
|
42431
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
42432
42432
|
@term_stack.last << param
|
42433
42433
|
|
42434
42434
|
yield param
|
@@ -42534,7 +42534,7 @@ n = 0 end
|
|
42534
42534
|
begin
|
42535
42535
|
|
42536
42536
|
fx = @name.to_sym
|
42537
|
-
@term_stack.push(BEL::
|
42537
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
42538
42538
|
@pfx = nil
|
42539
42539
|
@pbuf = []
|
42540
42540
|
end
|
@@ -42724,7 +42724,7 @@ n = 0 end
|
|
42724
42724
|
|
42725
42725
|
if @statement.relationship == :hasComponents
|
42726
42726
|
@statement.object.arguments.each do |arg|
|
42727
|
-
statement = BEL::
|
42727
|
+
statement = BEL::Nanopub::Statement.new(
|
42728
42728
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42729
42729
|
)
|
42730
42730
|
statement.annotations = @statement.annotations
|
@@ -42732,7 +42732,7 @@ n = 0 end
|
|
42732
42732
|
end
|
42733
42733
|
elsif @statement.relationship == :hasMembers
|
42734
42734
|
@statement.object.arguments.each do |arg|
|
42735
|
-
statement = BEL::
|
42735
|
+
statement = BEL::Nanopub::Statement.new(
|
42736
42736
|
@statement.subject, :hasMember, arg, @statement.comment
|
42737
42737
|
)
|
42738
42738
|
statement.annotations = @statement.annotations
|
@@ -42768,7 +42768,7 @@ n = 0 end
|
|
42768
42768
|
|
42769
42769
|
if @statement.relationship == :hasComponents
|
42770
42770
|
@statement.object.arguments.each do |arg|
|
42771
|
-
statement = BEL::
|
42771
|
+
statement = BEL::Nanopub::Statement.new(
|
42772
42772
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42773
42773
|
)
|
42774
42774
|
statement.annotations = @statement.annotations
|
@@ -42776,7 +42776,7 @@ n = 0 end
|
|
42776
42776
|
end
|
42777
42777
|
elsif @statement.relationship == :hasMembers
|
42778
42778
|
@statement.object.arguments.each do |arg|
|
42779
|
-
statement = BEL::
|
42779
|
+
statement = BEL::Nanopub::Statement.new(
|
42780
42780
|
@statement.subject, :hasMember, arg, @statement.comment
|
42781
42781
|
)
|
42782
42782
|
statement.annotations = @statement.annotations
|
@@ -42825,7 +42825,7 @@ n = 0 end
|
|
42825
42825
|
end
|
42826
42826
|
begin
|
42827
42827
|
|
42828
|
-
nested = BEL::
|
42828
|
+
nested = BEL::Nanopub::Statement.new()
|
42829
42829
|
@statement_stack.last.object = nested
|
42830
42830
|
@statement_stack.push nested
|
42831
42831
|
end
|
@@ -42869,7 +42869,7 @@ n = 0 end
|
|
42869
42869
|
@cmtbuffer << data[p].ord end
|
42870
42870
|
begin
|
42871
42871
|
|
42872
|
-
nested = BEL::
|
42872
|
+
nested = BEL::Nanopub::Statement.new()
|
42873
42873
|
@statement_stack.last.object = nested
|
42874
42874
|
@statement_stack.push nested
|
42875
42875
|
end
|
@@ -42910,7 +42910,7 @@ n = 0 end
|
|
42910
42910
|
|
42911
42911
|
if @statement.relationship == :hasComponents
|
42912
42912
|
@statement.object.arguments.each do |arg|
|
42913
|
-
statement = BEL::
|
42913
|
+
statement = BEL::Nanopub::Statement.new(
|
42914
42914
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42915
42915
|
)
|
42916
42916
|
statement.annotations = @statement.annotations
|
@@ -42918,7 +42918,7 @@ n = 0 end
|
|
42918
42918
|
end
|
42919
42919
|
elsif @statement.relationship == :hasMembers
|
42920
42920
|
@statement.object.arguments.each do |arg|
|
42921
|
-
statement = BEL::
|
42921
|
+
statement = BEL::Nanopub::Statement.new(
|
42922
42922
|
@statement.subject, :hasMember, arg, @statement.comment
|
42923
42923
|
)
|
42924
42924
|
statement.annotations = @statement.annotations
|
@@ -42955,7 +42955,7 @@ n = 0 end
|
|
42955
42955
|
|
42956
42956
|
if @statement.relationship == :hasComponents
|
42957
42957
|
@statement.object.arguments.each do |arg|
|
42958
|
-
statement = BEL::
|
42958
|
+
statement = BEL::Nanopub::Statement.new(
|
42959
42959
|
@statement.subject, :hasComponent, arg, @statement.comment
|
42960
42960
|
)
|
42961
42961
|
statement.annotations = @statement.annotations
|
@@ -42963,7 +42963,7 @@ n = 0 end
|
|
42963
42963
|
end
|
42964
42964
|
elsif @statement.relationship == :hasMembers
|
42965
42965
|
@statement.object.arguments.each do |arg|
|
42966
|
-
statement = BEL::
|
42966
|
+
statement = BEL::Nanopub::Statement.new(
|
42967
42967
|
@statement.subject, :hasMember, arg, @statement.comment
|
42968
42968
|
)
|
42969
42969
|
statement.annotations = @statement.annotations
|
@@ -42989,7 +42989,7 @@ n = 0 end
|
|
42989
42989
|
begin
|
42990
42990
|
|
42991
42991
|
fx = @name.to_sym
|
42992
|
-
@term_stack.push(BEL::
|
42992
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
42993
42993
|
@pfx = nil
|
42994
42994
|
@pbuf = []
|
42995
42995
|
end
|
@@ -43018,7 +43018,7 @@ n = 0 end
|
|
43018
43018
|
p -= 1; end
|
43019
43019
|
begin
|
43020
43020
|
|
43021
|
-
@statement = BEL::
|
43021
|
+
@statement = BEL::Nanopub::Statement.new()
|
43022
43022
|
@statement_stack = [@statement]
|
43023
43023
|
end
|
43024
43024
|
begin
|
@@ -43042,7 +43042,7 @@ p -= 1; end
|
|
43042
43042
|
begin
|
43043
43043
|
|
43044
43044
|
fx = @name.to_sym
|
43045
|
-
@term_stack.push(BEL::
|
43045
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
43046
43046
|
@pfx = nil
|
43047
43047
|
@pbuf = []
|
43048
43048
|
end
|
@@ -43100,7 +43100,7 @@ p -= 1; end
|
|
43100
43100
|
p -= 1; end
|
43101
43101
|
begin
|
43102
43102
|
|
43103
|
-
@statement = BEL::
|
43103
|
+
@statement = BEL::Nanopub::Statement.new()
|
43104
43104
|
@statement_stack = [@statement]
|
43105
43105
|
end
|
43106
43106
|
begin
|
@@ -43128,7 +43128,7 @@ p -= 1; end
|
|
43128
43128
|
p -= 1; end
|
43129
43129
|
begin
|
43130
43130
|
|
43131
|
-
@statement = BEL::
|
43131
|
+
@statement = BEL::Nanopub::Statement.new()
|
43132
43132
|
@statement_stack = [@statement]
|
43133
43133
|
end
|
43134
43134
|
begin
|
@@ -43156,7 +43156,7 @@ p -= 1; end
|
|
43156
43156
|
p -= 1; end
|
43157
43157
|
begin
|
43158
43158
|
|
43159
|
-
@statement = BEL::
|
43159
|
+
@statement = BEL::Nanopub::Statement.new()
|
43160
43160
|
@statement_stack = [@statement]
|
43161
43161
|
end
|
43162
43162
|
begin
|
@@ -43184,7 +43184,7 @@ p -= 1; end
|
|
43184
43184
|
p -= 1; end
|
43185
43185
|
begin
|
43186
43186
|
|
43187
|
-
@statement = BEL::
|
43187
|
+
@statement = BEL::Nanopub::Statement.new()
|
43188
43188
|
@statement_stack = [@statement]
|
43189
43189
|
end
|
43190
43190
|
begin
|
@@ -43212,7 +43212,7 @@ p -= 1; end
|
|
43212
43212
|
|
43213
43213
|
if @statement.relationship == :hasComponents
|
43214
43214
|
@statement.object.arguments.each do |arg|
|
43215
|
-
statement = BEL::
|
43215
|
+
statement = BEL::Nanopub::Statement.new(
|
43216
43216
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43217
43217
|
)
|
43218
43218
|
statement.annotations = @statement.annotations
|
@@ -43220,7 +43220,7 @@ p -= 1; end
|
|
43220
43220
|
end
|
43221
43221
|
elsif @statement.relationship == :hasMembers
|
43222
43222
|
@statement.object.arguments.each do |arg|
|
43223
|
-
statement = BEL::
|
43223
|
+
statement = BEL::Nanopub::Statement.new(
|
43224
43224
|
@statement.subject, :hasMember, arg, @statement.comment
|
43225
43225
|
)
|
43226
43226
|
statement.annotations = @statement.annotations
|
@@ -43256,7 +43256,7 @@ n = 0 end
|
|
43256
43256
|
|
43257
43257
|
if @statement.relationship == :hasComponents
|
43258
43258
|
@statement.object.arguments.each do |arg|
|
43259
|
-
statement = BEL::
|
43259
|
+
statement = BEL::Nanopub::Statement.new(
|
43260
43260
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43261
43261
|
)
|
43262
43262
|
statement.annotations = @statement.annotations
|
@@ -43264,7 +43264,7 @@ n = 0 end
|
|
43264
43264
|
end
|
43265
43265
|
elsif @statement.relationship == :hasMembers
|
43266
43266
|
@statement.object.arguments.each do |arg|
|
43267
|
-
statement = BEL::
|
43267
|
+
statement = BEL::Nanopub::Statement.new(
|
43268
43268
|
@statement.subject, :hasMember, arg, @statement.comment
|
43269
43269
|
)
|
43270
43270
|
statement.annotations = @statement.annotations
|
@@ -43326,7 +43326,7 @@ n = 0 end
|
|
43326
43326
|
end
|
43327
43327
|
begin
|
43328
43328
|
|
43329
|
-
nested = BEL::
|
43329
|
+
nested = BEL::Nanopub::Statement.new()
|
43330
43330
|
@statement_stack.last.object = nested
|
43331
43331
|
@statement_stack.push nested
|
43332
43332
|
end
|
@@ -43362,7 +43362,7 @@ n = 0 end
|
|
43362
43362
|
|
43363
43363
|
if @statement.relationship == :hasComponents
|
43364
43364
|
@statement.object.arguments.each do |arg|
|
43365
|
-
statement = BEL::
|
43365
|
+
statement = BEL::Nanopub::Statement.new(
|
43366
43366
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43367
43367
|
)
|
43368
43368
|
statement.annotations = @statement.annotations
|
@@ -43370,7 +43370,7 @@ n = 0 end
|
|
43370
43370
|
end
|
43371
43371
|
elsif @statement.relationship == :hasMembers
|
43372
43372
|
@statement.object.arguments.each do |arg|
|
43373
|
-
statement = BEL::
|
43373
|
+
statement = BEL::Nanopub::Statement.new(
|
43374
43374
|
@statement.subject, :hasMember, arg, @statement.comment
|
43375
43375
|
)
|
43376
43376
|
statement.annotations = @statement.annotations
|
@@ -43403,7 +43403,7 @@ n = 0 end
|
|
43403
43403
|
|
43404
43404
|
if @statement.relationship == :hasComponents
|
43405
43405
|
@statement.object.arguments.each do |arg|
|
43406
|
-
statement = BEL::
|
43406
|
+
statement = BEL::Nanopub::Statement.new(
|
43407
43407
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43408
43408
|
)
|
43409
43409
|
statement.annotations = @statement.annotations
|
@@ -43411,7 +43411,7 @@ n = 0 end
|
|
43411
43411
|
end
|
43412
43412
|
elsif @statement.relationship == :hasMembers
|
43413
43413
|
@statement.object.arguments.each do |arg|
|
43414
|
-
statement = BEL::
|
43414
|
+
statement = BEL::Nanopub::Statement.new(
|
43415
43415
|
@statement.subject, :hasMember, arg, @statement.comment
|
43416
43416
|
)
|
43417
43417
|
statement.annotations = @statement.annotations
|
@@ -43454,7 +43454,7 @@ n = 0 end
|
|
43454
43454
|
|
43455
43455
|
if @statement.relationship == :hasComponents
|
43456
43456
|
@statement.object.arguments.each do |arg|
|
43457
|
-
statement = BEL::
|
43457
|
+
statement = BEL::Nanopub::Statement.new(
|
43458
43458
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43459
43459
|
)
|
43460
43460
|
statement.annotations = @statement.annotations
|
@@ -43462,7 +43462,7 @@ n = 0 end
|
|
43462
43462
|
end
|
43463
43463
|
elsif @statement.relationship == :hasMembers
|
43464
43464
|
@statement.object.arguments.each do |arg|
|
43465
|
-
statement = BEL::
|
43465
|
+
statement = BEL::Nanopub::Statement.new(
|
43466
43466
|
@statement.subject, :hasMember, arg, @statement.comment
|
43467
43467
|
)
|
43468
43468
|
statement.annotations = @statement.annotations
|
@@ -43482,7 +43482,7 @@ n = 0 end
|
|
43482
43482
|
begin
|
43483
43483
|
|
43484
43484
|
fx = @name.to_sym
|
43485
|
-
@term_stack.push(BEL::
|
43485
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
43486
43486
|
@pfx = nil
|
43487
43487
|
@pbuf = []
|
43488
43488
|
end
|
@@ -43512,7 +43512,7 @@ n = 0 end
|
|
43512
43512
|
|
43513
43513
|
if @statement.relationship == :hasComponents
|
43514
43514
|
@statement.object.arguments.each do |arg|
|
43515
|
-
statement = BEL::
|
43515
|
+
statement = BEL::Nanopub::Statement.new(
|
43516
43516
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43517
43517
|
)
|
43518
43518
|
statement.annotations = @statement.annotations
|
@@ -43520,7 +43520,7 @@ n = 0 end
|
|
43520
43520
|
end
|
43521
43521
|
elsif @statement.relationship == :hasMembers
|
43522
43522
|
@statement.object.arguments.each do |arg|
|
43523
|
-
statement = BEL::
|
43523
|
+
statement = BEL::Nanopub::Statement.new(
|
43524
43524
|
@statement.subject, :hasMember, arg, @statement.comment
|
43525
43525
|
)
|
43526
43526
|
statement.annotations = @statement.annotations
|
@@ -43557,7 +43557,7 @@ n = 0 end
|
|
43557
43557
|
|
43558
43558
|
if @statement.relationship == :hasComponents
|
43559
43559
|
@statement.object.arguments.each do |arg|
|
43560
|
-
statement = BEL::
|
43560
|
+
statement = BEL::Nanopub::Statement.new(
|
43561
43561
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43562
43562
|
)
|
43563
43563
|
statement.annotations = @statement.annotations
|
@@ -43565,7 +43565,7 @@ n = 0 end
|
|
43565
43565
|
end
|
43566
43566
|
elsif @statement.relationship == :hasMembers
|
43567
43567
|
@statement.object.arguments.each do |arg|
|
43568
|
-
statement = BEL::
|
43568
|
+
statement = BEL::Nanopub::Statement.new(
|
43569
43569
|
@statement.subject, :hasMember, arg, @statement.comment
|
43570
43570
|
)
|
43571
43571
|
statement.annotations = @statement.annotations
|
@@ -43634,7 +43634,7 @@ n = 0 end
|
|
43634
43634
|
p -= 1; end
|
43635
43635
|
begin
|
43636
43636
|
|
43637
|
-
@statement = BEL::
|
43637
|
+
@statement = BEL::Nanopub::Statement.new()
|
43638
43638
|
@statement_stack = [@statement]
|
43639
43639
|
end
|
43640
43640
|
begin
|
@@ -43660,7 +43660,7 @@ p -= 1; end
|
|
43660
43660
|
begin
|
43661
43661
|
|
43662
43662
|
fx = @name.to_sym
|
43663
|
-
@term_stack.push(BEL::
|
43663
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
43664
43664
|
@pfx = nil
|
43665
43665
|
@pbuf = []
|
43666
43666
|
end
|
@@ -43720,7 +43720,7 @@ p -= 1; end
|
|
43720
43720
|
|
43721
43721
|
if @statement.relationship == :hasComponents
|
43722
43722
|
@statement.object.arguments.each do |arg|
|
43723
|
-
statement = BEL::
|
43723
|
+
statement = BEL::Nanopub::Statement.new(
|
43724
43724
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43725
43725
|
)
|
43726
43726
|
statement.annotations = @statement.annotations
|
@@ -43728,7 +43728,7 @@ p -= 1; end
|
|
43728
43728
|
end
|
43729
43729
|
elsif @statement.relationship == :hasMembers
|
43730
43730
|
@statement.object.arguments.each do |arg|
|
43731
|
-
statement = BEL::
|
43731
|
+
statement = BEL::Nanopub::Statement.new(
|
43732
43732
|
@statement.subject, :hasMember, arg, @statement.comment
|
43733
43733
|
)
|
43734
43734
|
statement.annotations = @statement.annotations
|
@@ -43769,7 +43769,7 @@ n = 0 end
|
|
43769
43769
|
|
43770
43770
|
if @statement.relationship == :hasComponents
|
43771
43771
|
@statement.object.arguments.each do |arg|
|
43772
|
-
statement = BEL::
|
43772
|
+
statement = BEL::Nanopub::Statement.new(
|
43773
43773
|
@statement.subject, :hasComponent, arg, @statement.comment
|
43774
43774
|
)
|
43775
43775
|
statement.annotations = @statement.annotations
|
@@ -43777,7 +43777,7 @@ n = 0 end
|
|
43777
43777
|
end
|
43778
43778
|
elsif @statement.relationship == :hasMembers
|
43779
43779
|
@statement.object.arguments.each do |arg|
|
43780
|
-
statement = BEL::
|
43780
|
+
statement = BEL::Nanopub::Statement.new(
|
43781
43781
|
@statement.subject, :hasMember, arg, @statement.comment
|
43782
43782
|
)
|
43783
43783
|
statement.annotations = @statement.annotations
|
@@ -43812,12 +43812,12 @@ n = 0 end
|
|
43812
43812
|
|
43813
43813
|
ns =
|
43814
43814
|
if @pfx
|
43815
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
43815
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
43816
43816
|
else
|
43817
43817
|
nil
|
43818
43818
|
end
|
43819
43819
|
|
43820
|
-
param = BEL::
|
43820
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
43821
43821
|
@term_stack.last << param
|
43822
43822
|
|
43823
43823
|
yield param
|
@@ -43867,12 +43867,12 @@ n = 0 end
|
|
43867
43867
|
|
43868
43868
|
ns =
|
43869
43869
|
if @pfx
|
43870
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
43870
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
43871
43871
|
else
|
43872
43872
|
nil
|
43873
43873
|
end
|
43874
43874
|
|
43875
|
-
param = BEL::
|
43875
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
43876
43876
|
@term_stack.last << param
|
43877
43877
|
|
43878
43878
|
yield param
|
@@ -43994,7 +43994,7 @@ end
|
|
43994
43994
|
|
43995
43995
|
require_relative 'language'
|
43996
43996
|
require_relative 'namespace'
|
43997
|
-
require_relative '
|
43997
|
+
require_relative 'nanopub'
|
43998
43998
|
require_relative 'nonblocking_io_wrapper'
|
43999
43999
|
|
44000
44000
|
module BEL
|
@@ -52916,7 +52916,7 @@ begin
|
|
52916
52916
|
|
52917
52917
|
if @statement.relationship == :hasComponents
|
52918
52918
|
@statement.object.arguments.each do |arg|
|
52919
|
-
statement = BEL::
|
52919
|
+
statement = BEL::Nanopub::Statement.new(
|
52920
52920
|
@statement.subject, :hasComponent, arg, @statement.comment
|
52921
52921
|
)
|
52922
52922
|
statement.annotations = @statement.annotations
|
@@ -52924,7 +52924,7 @@ begin
|
|
52924
52924
|
end
|
52925
52925
|
elsif @statement.relationship == :hasMembers
|
52926
52926
|
@statement.object.arguments.each do |arg|
|
52927
|
-
statement = BEL::
|
52927
|
+
statement = BEL::Nanopub::Statement.new(
|
52928
52928
|
@statement.subject, :hasMember, arg, @statement.comment
|
52929
52929
|
)
|
52930
52930
|
statement.annotations = @statement.annotations
|
@@ -52977,12 +52977,12 @@ begin
|
|
52977
52977
|
|
52978
52978
|
ns =
|
52979
52979
|
if @pfx
|
52980
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
52980
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
52981
52981
|
else
|
52982
52982
|
nil
|
52983
52983
|
end
|
52984
52984
|
|
52985
|
-
param = BEL::
|
52985
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
52986
52986
|
@term_stack.last << param
|
52987
52987
|
|
52988
52988
|
yield param
|
@@ -53111,12 +53111,12 @@ begin
|
|
53111
53111
|
|
53112
53112
|
ns =
|
53113
53113
|
if @pfx
|
53114
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
53114
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
53115
53115
|
else
|
53116
53116
|
nil
|
53117
53117
|
end
|
53118
53118
|
|
53119
|
-
param = BEL::
|
53119
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
53120
53120
|
@term_stack.last << param
|
53121
53121
|
|
53122
53122
|
yield param
|
@@ -53302,7 +53302,7 @@ begin
|
|
53302
53302
|
|
53303
53303
|
if @statement.relationship == :hasComponents
|
53304
53304
|
@statement.object.arguments.each do |arg|
|
53305
|
-
statement = BEL::
|
53305
|
+
statement = BEL::Nanopub::Statement.new(
|
53306
53306
|
@statement.subject, :hasComponent, arg, @statement.comment
|
53307
53307
|
)
|
53308
53308
|
statement.annotations = @statement.annotations
|
@@ -53310,7 +53310,7 @@ begin
|
|
53310
53310
|
end
|
53311
53311
|
elsif @statement.relationship == :hasMembers
|
53312
53312
|
@statement.object.arguments.each do |arg|
|
53313
|
-
statement = BEL::
|
53313
|
+
statement = BEL::Nanopub::Statement.new(
|
53314
53314
|
@statement.subject, :hasMember, arg, @statement.comment
|
53315
53315
|
)
|
53316
53316
|
statement.annotations = @statement.annotations
|
@@ -53331,7 +53331,7 @@ begin
|
|
53331
53331
|
when 110 then
|
53332
53332
|
begin
|
53333
53333
|
|
53334
|
-
@statement = BEL::
|
53334
|
+
@statement = BEL::Nanopub::Statement.new()
|
53335
53335
|
@statement_stack = [@statement]
|
53336
53336
|
end
|
53337
53337
|
begin
|
@@ -53372,7 +53372,7 @@ p -= 1; begin
|
|
53372
53372
|
|
53373
53373
|
if @statement.relationship == :hasComponents
|
53374
53374
|
@statement.object.arguments.each do |arg|
|
53375
|
-
statement = BEL::
|
53375
|
+
statement = BEL::Nanopub::Statement.new(
|
53376
53376
|
@statement.subject, :hasComponent, arg, @statement.comment
|
53377
53377
|
)
|
53378
53378
|
statement.annotations = @statement.annotations
|
@@ -53380,7 +53380,7 @@ p -= 1; begin
|
|
53380
53380
|
end
|
53381
53381
|
elsif @statement.relationship == :hasMembers
|
53382
53382
|
@statement.object.arguments.each do |arg|
|
53383
|
-
statement = BEL::
|
53383
|
+
statement = BEL::Nanopub::Statement.new(
|
53384
53384
|
@statement.subject, :hasMember, arg, @statement.comment
|
53385
53385
|
)
|
53386
53386
|
statement.annotations = @statement.annotations
|
@@ -53393,7 +53393,7 @@ p -= 1; begin
|
|
53393
53393
|
when 63 then
|
53394
53394
|
begin
|
53395
53395
|
|
53396
|
-
nested = BEL::
|
53396
|
+
nested = BEL::Nanopub::Statement.new()
|
53397
53397
|
@statement_stack.last.object = nested
|
53398
53398
|
@statement_stack.push nested
|
53399
53399
|
end
|
@@ -53422,7 +53422,7 @@ p -= 1; begin
|
|
53422
53422
|
|
53423
53423
|
if @statement.relationship == :hasComponents
|
53424
53424
|
@statement.object.arguments.each do |arg|
|
53425
|
-
statement = BEL::
|
53425
|
+
statement = BEL::Nanopub::Statement.new(
|
53426
53426
|
@statement.subject, :hasComponent, arg, @statement.comment
|
53427
53427
|
)
|
53428
53428
|
statement.annotations = @statement.annotations
|
@@ -53430,7 +53430,7 @@ p -= 1; begin
|
|
53430
53430
|
end
|
53431
53431
|
elsif @statement.relationship == :hasMembers
|
53432
53432
|
@statement.object.arguments.each do |arg|
|
53433
|
-
statement = BEL::
|
53433
|
+
statement = BEL::Nanopub::Statement.new(
|
53434
53434
|
@statement.subject, :hasMember, arg, @statement.comment
|
53435
53435
|
)
|
53436
53436
|
statement.annotations = @statement.annotations
|
@@ -53519,7 +53519,7 @@ p -= 1; begin
|
|
53519
53519
|
begin
|
53520
53520
|
|
53521
53521
|
fx = @name.to_sym
|
53522
|
-
@term_stack.push(BEL::
|
53522
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
53523
53523
|
@pfx = nil
|
53524
53524
|
@pbuf = []
|
53525
53525
|
end
|
@@ -53543,12 +53543,12 @@ p -= 1; begin
|
|
53543
53543
|
|
53544
53544
|
ns =
|
53545
53545
|
if @pfx
|
53546
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
53546
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
53547
53547
|
else
|
53548
53548
|
nil
|
53549
53549
|
end
|
53550
53550
|
|
53551
|
-
param = BEL::
|
53551
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
53552
53552
|
@term_stack.last << param
|
53553
53553
|
|
53554
53554
|
yield param
|
@@ -53654,7 +53654,7 @@ n = 0 end
|
|
53654
53654
|
begin
|
53655
53655
|
|
53656
53656
|
fx = @name.to_sym
|
53657
|
-
@term_stack.push(BEL::
|
53657
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
53658
53658
|
@pfx = nil
|
53659
53659
|
@pbuf = []
|
53660
53660
|
end
|
@@ -53844,7 +53844,7 @@ n = 0 end
|
|
53844
53844
|
|
53845
53845
|
if @statement.relationship == :hasComponents
|
53846
53846
|
@statement.object.arguments.each do |arg|
|
53847
|
-
statement = BEL::
|
53847
|
+
statement = BEL::Nanopub::Statement.new(
|
53848
53848
|
@statement.subject, :hasComponent, arg, @statement.comment
|
53849
53849
|
)
|
53850
53850
|
statement.annotations = @statement.annotations
|
@@ -53852,7 +53852,7 @@ n = 0 end
|
|
53852
53852
|
end
|
53853
53853
|
elsif @statement.relationship == :hasMembers
|
53854
53854
|
@statement.object.arguments.each do |arg|
|
53855
|
-
statement = BEL::
|
53855
|
+
statement = BEL::Nanopub::Statement.new(
|
53856
53856
|
@statement.subject, :hasMember, arg, @statement.comment
|
53857
53857
|
)
|
53858
53858
|
statement.annotations = @statement.annotations
|
@@ -53888,7 +53888,7 @@ n = 0 end
|
|
53888
53888
|
|
53889
53889
|
if @statement.relationship == :hasComponents
|
53890
53890
|
@statement.object.arguments.each do |arg|
|
53891
|
-
statement = BEL::
|
53891
|
+
statement = BEL::Nanopub::Statement.new(
|
53892
53892
|
@statement.subject, :hasComponent, arg, @statement.comment
|
53893
53893
|
)
|
53894
53894
|
statement.annotations = @statement.annotations
|
@@ -53896,7 +53896,7 @@ n = 0 end
|
|
53896
53896
|
end
|
53897
53897
|
elsif @statement.relationship == :hasMembers
|
53898
53898
|
@statement.object.arguments.each do |arg|
|
53899
|
-
statement = BEL::
|
53899
|
+
statement = BEL::Nanopub::Statement.new(
|
53900
53900
|
@statement.subject, :hasMember, arg, @statement.comment
|
53901
53901
|
)
|
53902
53902
|
statement.annotations = @statement.annotations
|
@@ -53945,7 +53945,7 @@ n = 0 end
|
|
53945
53945
|
end
|
53946
53946
|
begin
|
53947
53947
|
|
53948
|
-
nested = BEL::
|
53948
|
+
nested = BEL::Nanopub::Statement.new()
|
53949
53949
|
@statement_stack.last.object = nested
|
53950
53950
|
@statement_stack.push nested
|
53951
53951
|
end
|
@@ -53989,7 +53989,7 @@ n = 0 end
|
|
53989
53989
|
@cmtbuffer << data[p].ord end
|
53990
53990
|
begin
|
53991
53991
|
|
53992
|
-
nested = BEL::
|
53992
|
+
nested = BEL::Nanopub::Statement.new()
|
53993
53993
|
@statement_stack.last.object = nested
|
53994
53994
|
@statement_stack.push nested
|
53995
53995
|
end
|
@@ -54030,7 +54030,7 @@ n = 0 end
|
|
54030
54030
|
|
54031
54031
|
if @statement.relationship == :hasComponents
|
54032
54032
|
@statement.object.arguments.each do |arg|
|
54033
|
-
statement = BEL::
|
54033
|
+
statement = BEL::Nanopub::Statement.new(
|
54034
54034
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54035
54035
|
)
|
54036
54036
|
statement.annotations = @statement.annotations
|
@@ -54038,7 +54038,7 @@ n = 0 end
|
|
54038
54038
|
end
|
54039
54039
|
elsif @statement.relationship == :hasMembers
|
54040
54040
|
@statement.object.arguments.each do |arg|
|
54041
|
-
statement = BEL::
|
54041
|
+
statement = BEL::Nanopub::Statement.new(
|
54042
54042
|
@statement.subject, :hasMember, arg, @statement.comment
|
54043
54043
|
)
|
54044
54044
|
statement.annotations = @statement.annotations
|
@@ -54075,7 +54075,7 @@ n = 0 end
|
|
54075
54075
|
|
54076
54076
|
if @statement.relationship == :hasComponents
|
54077
54077
|
@statement.object.arguments.each do |arg|
|
54078
|
-
statement = BEL::
|
54078
|
+
statement = BEL::Nanopub::Statement.new(
|
54079
54079
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54080
54080
|
)
|
54081
54081
|
statement.annotations = @statement.annotations
|
@@ -54083,7 +54083,7 @@ n = 0 end
|
|
54083
54083
|
end
|
54084
54084
|
elsif @statement.relationship == :hasMembers
|
54085
54085
|
@statement.object.arguments.each do |arg|
|
54086
|
-
statement = BEL::
|
54086
|
+
statement = BEL::Nanopub::Statement.new(
|
54087
54087
|
@statement.subject, :hasMember, arg, @statement.comment
|
54088
54088
|
)
|
54089
54089
|
statement.annotations = @statement.annotations
|
@@ -54109,7 +54109,7 @@ n = 0 end
|
|
54109
54109
|
begin
|
54110
54110
|
|
54111
54111
|
fx = @name.to_sym
|
54112
|
-
@term_stack.push(BEL::
|
54112
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
54113
54113
|
@pfx = nil
|
54114
54114
|
@pbuf = []
|
54115
54115
|
end
|
@@ -54138,7 +54138,7 @@ n = 0 end
|
|
54138
54138
|
p -= 1; end
|
54139
54139
|
begin
|
54140
54140
|
|
54141
|
-
@statement = BEL::
|
54141
|
+
@statement = BEL::Nanopub::Statement.new()
|
54142
54142
|
@statement_stack = [@statement]
|
54143
54143
|
end
|
54144
54144
|
begin
|
@@ -54162,7 +54162,7 @@ p -= 1; end
|
|
54162
54162
|
begin
|
54163
54163
|
|
54164
54164
|
fx = @name.to_sym
|
54165
|
-
@term_stack.push(BEL::
|
54165
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
54166
54166
|
@pfx = nil
|
54167
54167
|
@pbuf = []
|
54168
54168
|
end
|
@@ -54220,7 +54220,7 @@ p -= 1; end
|
|
54220
54220
|
p -= 1; end
|
54221
54221
|
begin
|
54222
54222
|
|
54223
|
-
@statement = BEL::
|
54223
|
+
@statement = BEL::Nanopub::Statement.new()
|
54224
54224
|
@statement_stack = [@statement]
|
54225
54225
|
end
|
54226
54226
|
begin
|
@@ -54248,7 +54248,7 @@ p -= 1; end
|
|
54248
54248
|
p -= 1; end
|
54249
54249
|
begin
|
54250
54250
|
|
54251
|
-
@statement = BEL::
|
54251
|
+
@statement = BEL::Nanopub::Statement.new()
|
54252
54252
|
@statement_stack = [@statement]
|
54253
54253
|
end
|
54254
54254
|
begin
|
@@ -54276,7 +54276,7 @@ p -= 1; end
|
|
54276
54276
|
p -= 1; end
|
54277
54277
|
begin
|
54278
54278
|
|
54279
|
-
@statement = BEL::
|
54279
|
+
@statement = BEL::Nanopub::Statement.new()
|
54280
54280
|
@statement_stack = [@statement]
|
54281
54281
|
end
|
54282
54282
|
begin
|
@@ -54304,7 +54304,7 @@ p -= 1; end
|
|
54304
54304
|
p -= 1; end
|
54305
54305
|
begin
|
54306
54306
|
|
54307
|
-
@statement = BEL::
|
54307
|
+
@statement = BEL::Nanopub::Statement.new()
|
54308
54308
|
@statement_stack = [@statement]
|
54309
54309
|
end
|
54310
54310
|
begin
|
@@ -54332,7 +54332,7 @@ p -= 1; end
|
|
54332
54332
|
|
54333
54333
|
if @statement.relationship == :hasComponents
|
54334
54334
|
@statement.object.arguments.each do |arg|
|
54335
|
-
statement = BEL::
|
54335
|
+
statement = BEL::Nanopub::Statement.new(
|
54336
54336
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54337
54337
|
)
|
54338
54338
|
statement.annotations = @statement.annotations
|
@@ -54340,7 +54340,7 @@ p -= 1; end
|
|
54340
54340
|
end
|
54341
54341
|
elsif @statement.relationship == :hasMembers
|
54342
54342
|
@statement.object.arguments.each do |arg|
|
54343
|
-
statement = BEL::
|
54343
|
+
statement = BEL::Nanopub::Statement.new(
|
54344
54344
|
@statement.subject, :hasMember, arg, @statement.comment
|
54345
54345
|
)
|
54346
54346
|
statement.annotations = @statement.annotations
|
@@ -54376,7 +54376,7 @@ n = 0 end
|
|
54376
54376
|
|
54377
54377
|
if @statement.relationship == :hasComponents
|
54378
54378
|
@statement.object.arguments.each do |arg|
|
54379
|
-
statement = BEL::
|
54379
|
+
statement = BEL::Nanopub::Statement.new(
|
54380
54380
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54381
54381
|
)
|
54382
54382
|
statement.annotations = @statement.annotations
|
@@ -54384,7 +54384,7 @@ n = 0 end
|
|
54384
54384
|
end
|
54385
54385
|
elsif @statement.relationship == :hasMembers
|
54386
54386
|
@statement.object.arguments.each do |arg|
|
54387
|
-
statement = BEL::
|
54387
|
+
statement = BEL::Nanopub::Statement.new(
|
54388
54388
|
@statement.subject, :hasMember, arg, @statement.comment
|
54389
54389
|
)
|
54390
54390
|
statement.annotations = @statement.annotations
|
@@ -54446,7 +54446,7 @@ n = 0 end
|
|
54446
54446
|
end
|
54447
54447
|
begin
|
54448
54448
|
|
54449
|
-
nested = BEL::
|
54449
|
+
nested = BEL::Nanopub::Statement.new()
|
54450
54450
|
@statement_stack.last.object = nested
|
54451
54451
|
@statement_stack.push nested
|
54452
54452
|
end
|
@@ -54482,7 +54482,7 @@ n = 0 end
|
|
54482
54482
|
|
54483
54483
|
if @statement.relationship == :hasComponents
|
54484
54484
|
@statement.object.arguments.each do |arg|
|
54485
|
-
statement = BEL::
|
54485
|
+
statement = BEL::Nanopub::Statement.new(
|
54486
54486
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54487
54487
|
)
|
54488
54488
|
statement.annotations = @statement.annotations
|
@@ -54490,7 +54490,7 @@ n = 0 end
|
|
54490
54490
|
end
|
54491
54491
|
elsif @statement.relationship == :hasMembers
|
54492
54492
|
@statement.object.arguments.each do |arg|
|
54493
|
-
statement = BEL::
|
54493
|
+
statement = BEL::Nanopub::Statement.new(
|
54494
54494
|
@statement.subject, :hasMember, arg, @statement.comment
|
54495
54495
|
)
|
54496
54496
|
statement.annotations = @statement.annotations
|
@@ -54523,7 +54523,7 @@ n = 0 end
|
|
54523
54523
|
|
54524
54524
|
if @statement.relationship == :hasComponents
|
54525
54525
|
@statement.object.arguments.each do |arg|
|
54526
|
-
statement = BEL::
|
54526
|
+
statement = BEL::Nanopub::Statement.new(
|
54527
54527
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54528
54528
|
)
|
54529
54529
|
statement.annotations = @statement.annotations
|
@@ -54531,7 +54531,7 @@ n = 0 end
|
|
54531
54531
|
end
|
54532
54532
|
elsif @statement.relationship == :hasMembers
|
54533
54533
|
@statement.object.arguments.each do |arg|
|
54534
|
-
statement = BEL::
|
54534
|
+
statement = BEL::Nanopub::Statement.new(
|
54535
54535
|
@statement.subject, :hasMember, arg, @statement.comment
|
54536
54536
|
)
|
54537
54537
|
statement.annotations = @statement.annotations
|
@@ -54574,7 +54574,7 @@ n = 0 end
|
|
54574
54574
|
|
54575
54575
|
if @statement.relationship == :hasComponents
|
54576
54576
|
@statement.object.arguments.each do |arg|
|
54577
|
-
statement = BEL::
|
54577
|
+
statement = BEL::Nanopub::Statement.new(
|
54578
54578
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54579
54579
|
)
|
54580
54580
|
statement.annotations = @statement.annotations
|
@@ -54582,7 +54582,7 @@ n = 0 end
|
|
54582
54582
|
end
|
54583
54583
|
elsif @statement.relationship == :hasMembers
|
54584
54584
|
@statement.object.arguments.each do |arg|
|
54585
|
-
statement = BEL::
|
54585
|
+
statement = BEL::Nanopub::Statement.new(
|
54586
54586
|
@statement.subject, :hasMember, arg, @statement.comment
|
54587
54587
|
)
|
54588
54588
|
statement.annotations = @statement.annotations
|
@@ -54602,7 +54602,7 @@ n = 0 end
|
|
54602
54602
|
begin
|
54603
54603
|
|
54604
54604
|
fx = @name.to_sym
|
54605
|
-
@term_stack.push(BEL::
|
54605
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
54606
54606
|
@pfx = nil
|
54607
54607
|
@pbuf = []
|
54608
54608
|
end
|
@@ -54632,7 +54632,7 @@ n = 0 end
|
|
54632
54632
|
|
54633
54633
|
if @statement.relationship == :hasComponents
|
54634
54634
|
@statement.object.arguments.each do |arg|
|
54635
|
-
statement = BEL::
|
54635
|
+
statement = BEL::Nanopub::Statement.new(
|
54636
54636
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54637
54637
|
)
|
54638
54638
|
statement.annotations = @statement.annotations
|
@@ -54640,7 +54640,7 @@ n = 0 end
|
|
54640
54640
|
end
|
54641
54641
|
elsif @statement.relationship == :hasMembers
|
54642
54642
|
@statement.object.arguments.each do |arg|
|
54643
|
-
statement = BEL::
|
54643
|
+
statement = BEL::Nanopub::Statement.new(
|
54644
54644
|
@statement.subject, :hasMember, arg, @statement.comment
|
54645
54645
|
)
|
54646
54646
|
statement.annotations = @statement.annotations
|
@@ -54677,7 +54677,7 @@ n = 0 end
|
|
54677
54677
|
|
54678
54678
|
if @statement.relationship == :hasComponents
|
54679
54679
|
@statement.object.arguments.each do |arg|
|
54680
|
-
statement = BEL::
|
54680
|
+
statement = BEL::Nanopub::Statement.new(
|
54681
54681
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54682
54682
|
)
|
54683
54683
|
statement.annotations = @statement.annotations
|
@@ -54685,7 +54685,7 @@ n = 0 end
|
|
54685
54685
|
end
|
54686
54686
|
elsif @statement.relationship == :hasMembers
|
54687
54687
|
@statement.object.arguments.each do |arg|
|
54688
|
-
statement = BEL::
|
54688
|
+
statement = BEL::Nanopub::Statement.new(
|
54689
54689
|
@statement.subject, :hasMember, arg, @statement.comment
|
54690
54690
|
)
|
54691
54691
|
statement.annotations = @statement.annotations
|
@@ -54754,7 +54754,7 @@ n = 0 end
|
|
54754
54754
|
p -= 1; end
|
54755
54755
|
begin
|
54756
54756
|
|
54757
|
-
@statement = BEL::
|
54757
|
+
@statement = BEL::Nanopub::Statement.new()
|
54758
54758
|
@statement_stack = [@statement]
|
54759
54759
|
end
|
54760
54760
|
begin
|
@@ -54780,7 +54780,7 @@ p -= 1; end
|
|
54780
54780
|
begin
|
54781
54781
|
|
54782
54782
|
fx = @name.to_sym
|
54783
|
-
@term_stack.push(BEL::
|
54783
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
54784
54784
|
@pfx = nil
|
54785
54785
|
@pbuf = []
|
54786
54786
|
end
|
@@ -54840,7 +54840,7 @@ p -= 1; end
|
|
54840
54840
|
|
54841
54841
|
if @statement.relationship == :hasComponents
|
54842
54842
|
@statement.object.arguments.each do |arg|
|
54843
|
-
statement = BEL::
|
54843
|
+
statement = BEL::Nanopub::Statement.new(
|
54844
54844
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54845
54845
|
)
|
54846
54846
|
statement.annotations = @statement.annotations
|
@@ -54848,7 +54848,7 @@ p -= 1; end
|
|
54848
54848
|
end
|
54849
54849
|
elsif @statement.relationship == :hasMembers
|
54850
54850
|
@statement.object.arguments.each do |arg|
|
54851
|
-
statement = BEL::
|
54851
|
+
statement = BEL::Nanopub::Statement.new(
|
54852
54852
|
@statement.subject, :hasMember, arg, @statement.comment
|
54853
54853
|
)
|
54854
54854
|
statement.annotations = @statement.annotations
|
@@ -54889,7 +54889,7 @@ n = 0 end
|
|
54889
54889
|
|
54890
54890
|
if @statement.relationship == :hasComponents
|
54891
54891
|
@statement.object.arguments.each do |arg|
|
54892
|
-
statement = BEL::
|
54892
|
+
statement = BEL::Nanopub::Statement.new(
|
54893
54893
|
@statement.subject, :hasComponent, arg, @statement.comment
|
54894
54894
|
)
|
54895
54895
|
statement.annotations = @statement.annotations
|
@@ -54897,7 +54897,7 @@ n = 0 end
|
|
54897
54897
|
end
|
54898
54898
|
elsif @statement.relationship == :hasMembers
|
54899
54899
|
@statement.object.arguments.each do |arg|
|
54900
|
-
statement = BEL::
|
54900
|
+
statement = BEL::Nanopub::Statement.new(
|
54901
54901
|
@statement.subject, :hasMember, arg, @statement.comment
|
54902
54902
|
)
|
54903
54903
|
statement.annotations = @statement.annotations
|
@@ -54932,12 +54932,12 @@ n = 0 end
|
|
54932
54932
|
|
54933
54933
|
ns =
|
54934
54934
|
if @pfx
|
54935
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
54935
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
54936
54936
|
else
|
54937
54937
|
nil
|
54938
54938
|
end
|
54939
54939
|
|
54940
|
-
param = BEL::
|
54940
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
54941
54941
|
@term_stack.last << param
|
54942
54942
|
|
54943
54943
|
yield param
|
@@ -54987,12 +54987,12 @@ n = 0 end
|
|
54987
54987
|
|
54988
54988
|
ns =
|
54989
54989
|
if @pfx
|
54990
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
54990
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
54991
54991
|
else
|
54992
54992
|
nil
|
54993
54993
|
end
|
54994
54994
|
|
54995
|
-
param = BEL::
|
54995
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
54996
54996
|
@term_stack.last << param
|
54997
54997
|
|
54998
54998
|
yield param
|
@@ -63947,7 +63947,7 @@ begin
|
|
63947
63947
|
|
63948
63948
|
if @statement.relationship == :hasComponents
|
63949
63949
|
@statement.object.arguments.each do |arg|
|
63950
|
-
statement = BEL::
|
63950
|
+
statement = BEL::Nanopub::Statement.new(
|
63951
63951
|
@statement.subject, :hasComponent, arg, @statement.comment
|
63952
63952
|
)
|
63953
63953
|
statement.annotations = @statement.annotations
|
@@ -63955,7 +63955,7 @@ begin
|
|
63955
63955
|
end
|
63956
63956
|
elsif @statement.relationship == :hasMembers
|
63957
63957
|
@statement.object.arguments.each do |arg|
|
63958
|
-
statement = BEL::
|
63958
|
+
statement = BEL::Nanopub::Statement.new(
|
63959
63959
|
@statement.subject, :hasMember, arg, @statement.comment
|
63960
63960
|
)
|
63961
63961
|
statement.annotations = @statement.annotations
|
@@ -64008,12 +64008,12 @@ begin
|
|
64008
64008
|
|
64009
64009
|
ns =
|
64010
64010
|
if @pfx
|
64011
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
64011
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
64012
64012
|
else
|
64013
64013
|
nil
|
64014
64014
|
end
|
64015
64015
|
|
64016
|
-
param = BEL::
|
64016
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
64017
64017
|
@term_stack.last << param
|
64018
64018
|
|
64019
64019
|
yield param
|
@@ -64142,12 +64142,12 @@ begin
|
|
64142
64142
|
|
64143
64143
|
ns =
|
64144
64144
|
if @pfx
|
64145
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
64145
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
64146
64146
|
else
|
64147
64147
|
nil
|
64148
64148
|
end
|
64149
64149
|
|
64150
|
-
param = BEL::
|
64150
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
64151
64151
|
@term_stack.last << param
|
64152
64152
|
|
64153
64153
|
yield param
|
@@ -64333,7 +64333,7 @@ begin
|
|
64333
64333
|
|
64334
64334
|
if @statement.relationship == :hasComponents
|
64335
64335
|
@statement.object.arguments.each do |arg|
|
64336
|
-
statement = BEL::
|
64336
|
+
statement = BEL::Nanopub::Statement.new(
|
64337
64337
|
@statement.subject, :hasComponent, arg, @statement.comment
|
64338
64338
|
)
|
64339
64339
|
statement.annotations = @statement.annotations
|
@@ -64341,7 +64341,7 @@ begin
|
|
64341
64341
|
end
|
64342
64342
|
elsif @statement.relationship == :hasMembers
|
64343
64343
|
@statement.object.arguments.each do |arg|
|
64344
|
-
statement = BEL::
|
64344
|
+
statement = BEL::Nanopub::Statement.new(
|
64345
64345
|
@statement.subject, :hasMember, arg, @statement.comment
|
64346
64346
|
)
|
64347
64347
|
statement.annotations = @statement.annotations
|
@@ -64362,7 +64362,7 @@ begin
|
|
64362
64362
|
when 110 then
|
64363
64363
|
begin
|
64364
64364
|
|
64365
|
-
@statement = BEL::
|
64365
|
+
@statement = BEL::Nanopub::Statement.new()
|
64366
64366
|
@statement_stack = [@statement]
|
64367
64367
|
end
|
64368
64368
|
begin
|
@@ -64403,7 +64403,7 @@ p -= 1; begin
|
|
64403
64403
|
|
64404
64404
|
if @statement.relationship == :hasComponents
|
64405
64405
|
@statement.object.arguments.each do |arg|
|
64406
|
-
statement = BEL::
|
64406
|
+
statement = BEL::Nanopub::Statement.new(
|
64407
64407
|
@statement.subject, :hasComponent, arg, @statement.comment
|
64408
64408
|
)
|
64409
64409
|
statement.annotations = @statement.annotations
|
@@ -64411,7 +64411,7 @@ p -= 1; begin
|
|
64411
64411
|
end
|
64412
64412
|
elsif @statement.relationship == :hasMembers
|
64413
64413
|
@statement.object.arguments.each do |arg|
|
64414
|
-
statement = BEL::
|
64414
|
+
statement = BEL::Nanopub::Statement.new(
|
64415
64415
|
@statement.subject, :hasMember, arg, @statement.comment
|
64416
64416
|
)
|
64417
64417
|
statement.annotations = @statement.annotations
|
@@ -64424,7 +64424,7 @@ p -= 1; begin
|
|
64424
64424
|
when 63 then
|
64425
64425
|
begin
|
64426
64426
|
|
64427
|
-
nested = BEL::
|
64427
|
+
nested = BEL::Nanopub::Statement.new()
|
64428
64428
|
@statement_stack.last.object = nested
|
64429
64429
|
@statement_stack.push nested
|
64430
64430
|
end
|
@@ -64453,7 +64453,7 @@ p -= 1; begin
|
|
64453
64453
|
|
64454
64454
|
if @statement.relationship == :hasComponents
|
64455
64455
|
@statement.object.arguments.each do |arg|
|
64456
|
-
statement = BEL::
|
64456
|
+
statement = BEL::Nanopub::Statement.new(
|
64457
64457
|
@statement.subject, :hasComponent, arg, @statement.comment
|
64458
64458
|
)
|
64459
64459
|
statement.annotations = @statement.annotations
|
@@ -64461,7 +64461,7 @@ p -= 1; begin
|
|
64461
64461
|
end
|
64462
64462
|
elsif @statement.relationship == :hasMembers
|
64463
64463
|
@statement.object.arguments.each do |arg|
|
64464
|
-
statement = BEL::
|
64464
|
+
statement = BEL::Nanopub::Statement.new(
|
64465
64465
|
@statement.subject, :hasMember, arg, @statement.comment
|
64466
64466
|
)
|
64467
64467
|
statement.annotations = @statement.annotations
|
@@ -64550,7 +64550,7 @@ p -= 1; begin
|
|
64550
64550
|
begin
|
64551
64551
|
|
64552
64552
|
fx = @name.to_sym
|
64553
|
-
@term_stack.push(BEL::
|
64553
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
64554
64554
|
@pfx = nil
|
64555
64555
|
@pbuf = []
|
64556
64556
|
end
|
@@ -64574,12 +64574,12 @@ p -= 1; begin
|
|
64574
64574
|
|
64575
64575
|
ns =
|
64576
64576
|
if @pfx
|
64577
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
64577
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
64578
64578
|
else
|
64579
64579
|
nil
|
64580
64580
|
end
|
64581
64581
|
|
64582
|
-
param = BEL::
|
64582
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
64583
64583
|
@term_stack.last << param
|
64584
64584
|
|
64585
64585
|
yield param
|
@@ -64685,7 +64685,7 @@ n = 0 end
|
|
64685
64685
|
begin
|
64686
64686
|
|
64687
64687
|
fx = @name.to_sym
|
64688
|
-
@term_stack.push(BEL::
|
64688
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
64689
64689
|
@pfx = nil
|
64690
64690
|
@pbuf = []
|
64691
64691
|
end
|
@@ -64875,7 +64875,7 @@ n = 0 end
|
|
64875
64875
|
|
64876
64876
|
if @statement.relationship == :hasComponents
|
64877
64877
|
@statement.object.arguments.each do |arg|
|
64878
|
-
statement = BEL::
|
64878
|
+
statement = BEL::Nanopub::Statement.new(
|
64879
64879
|
@statement.subject, :hasComponent, arg, @statement.comment
|
64880
64880
|
)
|
64881
64881
|
statement.annotations = @statement.annotations
|
@@ -64883,7 +64883,7 @@ n = 0 end
|
|
64883
64883
|
end
|
64884
64884
|
elsif @statement.relationship == :hasMembers
|
64885
64885
|
@statement.object.arguments.each do |arg|
|
64886
|
-
statement = BEL::
|
64886
|
+
statement = BEL::Nanopub::Statement.new(
|
64887
64887
|
@statement.subject, :hasMember, arg, @statement.comment
|
64888
64888
|
)
|
64889
64889
|
statement.annotations = @statement.annotations
|
@@ -64919,7 +64919,7 @@ n = 0 end
|
|
64919
64919
|
|
64920
64920
|
if @statement.relationship == :hasComponents
|
64921
64921
|
@statement.object.arguments.each do |arg|
|
64922
|
-
statement = BEL::
|
64922
|
+
statement = BEL::Nanopub::Statement.new(
|
64923
64923
|
@statement.subject, :hasComponent, arg, @statement.comment
|
64924
64924
|
)
|
64925
64925
|
statement.annotations = @statement.annotations
|
@@ -64927,7 +64927,7 @@ n = 0 end
|
|
64927
64927
|
end
|
64928
64928
|
elsif @statement.relationship == :hasMembers
|
64929
64929
|
@statement.object.arguments.each do |arg|
|
64930
|
-
statement = BEL::
|
64930
|
+
statement = BEL::Nanopub::Statement.new(
|
64931
64931
|
@statement.subject, :hasMember, arg, @statement.comment
|
64932
64932
|
)
|
64933
64933
|
statement.annotations = @statement.annotations
|
@@ -64976,7 +64976,7 @@ n = 0 end
|
|
64976
64976
|
end
|
64977
64977
|
begin
|
64978
64978
|
|
64979
|
-
nested = BEL::
|
64979
|
+
nested = BEL::Nanopub::Statement.new()
|
64980
64980
|
@statement_stack.last.object = nested
|
64981
64981
|
@statement_stack.push nested
|
64982
64982
|
end
|
@@ -65020,7 +65020,7 @@ n = 0 end
|
|
65020
65020
|
@cmtbuffer << data[p].ord end
|
65021
65021
|
begin
|
65022
65022
|
|
65023
|
-
nested = BEL::
|
65023
|
+
nested = BEL::Nanopub::Statement.new()
|
65024
65024
|
@statement_stack.last.object = nested
|
65025
65025
|
@statement_stack.push nested
|
65026
65026
|
end
|
@@ -65061,7 +65061,7 @@ n = 0 end
|
|
65061
65061
|
|
65062
65062
|
if @statement.relationship == :hasComponents
|
65063
65063
|
@statement.object.arguments.each do |arg|
|
65064
|
-
statement = BEL::
|
65064
|
+
statement = BEL::Nanopub::Statement.new(
|
65065
65065
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65066
65066
|
)
|
65067
65067
|
statement.annotations = @statement.annotations
|
@@ -65069,7 +65069,7 @@ n = 0 end
|
|
65069
65069
|
end
|
65070
65070
|
elsif @statement.relationship == :hasMembers
|
65071
65071
|
@statement.object.arguments.each do |arg|
|
65072
|
-
statement = BEL::
|
65072
|
+
statement = BEL::Nanopub::Statement.new(
|
65073
65073
|
@statement.subject, :hasMember, arg, @statement.comment
|
65074
65074
|
)
|
65075
65075
|
statement.annotations = @statement.annotations
|
@@ -65106,7 +65106,7 @@ n = 0 end
|
|
65106
65106
|
|
65107
65107
|
if @statement.relationship == :hasComponents
|
65108
65108
|
@statement.object.arguments.each do |arg|
|
65109
|
-
statement = BEL::
|
65109
|
+
statement = BEL::Nanopub::Statement.new(
|
65110
65110
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65111
65111
|
)
|
65112
65112
|
statement.annotations = @statement.annotations
|
@@ -65114,7 +65114,7 @@ n = 0 end
|
|
65114
65114
|
end
|
65115
65115
|
elsif @statement.relationship == :hasMembers
|
65116
65116
|
@statement.object.arguments.each do |arg|
|
65117
|
-
statement = BEL::
|
65117
|
+
statement = BEL::Nanopub::Statement.new(
|
65118
65118
|
@statement.subject, :hasMember, arg, @statement.comment
|
65119
65119
|
)
|
65120
65120
|
statement.annotations = @statement.annotations
|
@@ -65140,7 +65140,7 @@ n = 0 end
|
|
65140
65140
|
begin
|
65141
65141
|
|
65142
65142
|
fx = @name.to_sym
|
65143
|
-
@term_stack.push(BEL::
|
65143
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
65144
65144
|
@pfx = nil
|
65145
65145
|
@pbuf = []
|
65146
65146
|
end
|
@@ -65169,7 +65169,7 @@ n = 0 end
|
|
65169
65169
|
p -= 1; end
|
65170
65170
|
begin
|
65171
65171
|
|
65172
|
-
@statement = BEL::
|
65172
|
+
@statement = BEL::Nanopub::Statement.new()
|
65173
65173
|
@statement_stack = [@statement]
|
65174
65174
|
end
|
65175
65175
|
begin
|
@@ -65193,7 +65193,7 @@ p -= 1; end
|
|
65193
65193
|
begin
|
65194
65194
|
|
65195
65195
|
fx = @name.to_sym
|
65196
|
-
@term_stack.push(BEL::
|
65196
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
65197
65197
|
@pfx = nil
|
65198
65198
|
@pbuf = []
|
65199
65199
|
end
|
@@ -65251,7 +65251,7 @@ p -= 1; end
|
|
65251
65251
|
p -= 1; end
|
65252
65252
|
begin
|
65253
65253
|
|
65254
|
-
@statement = BEL::
|
65254
|
+
@statement = BEL::Nanopub::Statement.new()
|
65255
65255
|
@statement_stack = [@statement]
|
65256
65256
|
end
|
65257
65257
|
begin
|
@@ -65279,7 +65279,7 @@ p -= 1; end
|
|
65279
65279
|
p -= 1; end
|
65280
65280
|
begin
|
65281
65281
|
|
65282
|
-
@statement = BEL::
|
65282
|
+
@statement = BEL::Nanopub::Statement.new()
|
65283
65283
|
@statement_stack = [@statement]
|
65284
65284
|
end
|
65285
65285
|
begin
|
@@ -65307,7 +65307,7 @@ p -= 1; end
|
|
65307
65307
|
p -= 1; end
|
65308
65308
|
begin
|
65309
65309
|
|
65310
|
-
@statement = BEL::
|
65310
|
+
@statement = BEL::Nanopub::Statement.new()
|
65311
65311
|
@statement_stack = [@statement]
|
65312
65312
|
end
|
65313
65313
|
begin
|
@@ -65335,7 +65335,7 @@ p -= 1; end
|
|
65335
65335
|
p -= 1; end
|
65336
65336
|
begin
|
65337
65337
|
|
65338
|
-
@statement = BEL::
|
65338
|
+
@statement = BEL::Nanopub::Statement.new()
|
65339
65339
|
@statement_stack = [@statement]
|
65340
65340
|
end
|
65341
65341
|
begin
|
@@ -65363,7 +65363,7 @@ p -= 1; end
|
|
65363
65363
|
|
65364
65364
|
if @statement.relationship == :hasComponents
|
65365
65365
|
@statement.object.arguments.each do |arg|
|
65366
|
-
statement = BEL::
|
65366
|
+
statement = BEL::Nanopub::Statement.new(
|
65367
65367
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65368
65368
|
)
|
65369
65369
|
statement.annotations = @statement.annotations
|
@@ -65371,7 +65371,7 @@ p -= 1; end
|
|
65371
65371
|
end
|
65372
65372
|
elsif @statement.relationship == :hasMembers
|
65373
65373
|
@statement.object.arguments.each do |arg|
|
65374
|
-
statement = BEL::
|
65374
|
+
statement = BEL::Nanopub::Statement.new(
|
65375
65375
|
@statement.subject, :hasMember, arg, @statement.comment
|
65376
65376
|
)
|
65377
65377
|
statement.annotations = @statement.annotations
|
@@ -65407,7 +65407,7 @@ n = 0 end
|
|
65407
65407
|
|
65408
65408
|
if @statement.relationship == :hasComponents
|
65409
65409
|
@statement.object.arguments.each do |arg|
|
65410
|
-
statement = BEL::
|
65410
|
+
statement = BEL::Nanopub::Statement.new(
|
65411
65411
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65412
65412
|
)
|
65413
65413
|
statement.annotations = @statement.annotations
|
@@ -65415,7 +65415,7 @@ n = 0 end
|
|
65415
65415
|
end
|
65416
65416
|
elsif @statement.relationship == :hasMembers
|
65417
65417
|
@statement.object.arguments.each do |arg|
|
65418
|
-
statement = BEL::
|
65418
|
+
statement = BEL::Nanopub::Statement.new(
|
65419
65419
|
@statement.subject, :hasMember, arg, @statement.comment
|
65420
65420
|
)
|
65421
65421
|
statement.annotations = @statement.annotations
|
@@ -65477,7 +65477,7 @@ n = 0 end
|
|
65477
65477
|
end
|
65478
65478
|
begin
|
65479
65479
|
|
65480
|
-
nested = BEL::
|
65480
|
+
nested = BEL::Nanopub::Statement.new()
|
65481
65481
|
@statement_stack.last.object = nested
|
65482
65482
|
@statement_stack.push nested
|
65483
65483
|
end
|
@@ -65513,7 +65513,7 @@ n = 0 end
|
|
65513
65513
|
|
65514
65514
|
if @statement.relationship == :hasComponents
|
65515
65515
|
@statement.object.arguments.each do |arg|
|
65516
|
-
statement = BEL::
|
65516
|
+
statement = BEL::Nanopub::Statement.new(
|
65517
65517
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65518
65518
|
)
|
65519
65519
|
statement.annotations = @statement.annotations
|
@@ -65521,7 +65521,7 @@ n = 0 end
|
|
65521
65521
|
end
|
65522
65522
|
elsif @statement.relationship == :hasMembers
|
65523
65523
|
@statement.object.arguments.each do |arg|
|
65524
|
-
statement = BEL::
|
65524
|
+
statement = BEL::Nanopub::Statement.new(
|
65525
65525
|
@statement.subject, :hasMember, arg, @statement.comment
|
65526
65526
|
)
|
65527
65527
|
statement.annotations = @statement.annotations
|
@@ -65554,7 +65554,7 @@ n = 0 end
|
|
65554
65554
|
|
65555
65555
|
if @statement.relationship == :hasComponents
|
65556
65556
|
@statement.object.arguments.each do |arg|
|
65557
|
-
statement = BEL::
|
65557
|
+
statement = BEL::Nanopub::Statement.new(
|
65558
65558
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65559
65559
|
)
|
65560
65560
|
statement.annotations = @statement.annotations
|
@@ -65562,7 +65562,7 @@ n = 0 end
|
|
65562
65562
|
end
|
65563
65563
|
elsif @statement.relationship == :hasMembers
|
65564
65564
|
@statement.object.arguments.each do |arg|
|
65565
|
-
statement = BEL::
|
65565
|
+
statement = BEL::Nanopub::Statement.new(
|
65566
65566
|
@statement.subject, :hasMember, arg, @statement.comment
|
65567
65567
|
)
|
65568
65568
|
statement.annotations = @statement.annotations
|
@@ -65605,7 +65605,7 @@ n = 0 end
|
|
65605
65605
|
|
65606
65606
|
if @statement.relationship == :hasComponents
|
65607
65607
|
@statement.object.arguments.each do |arg|
|
65608
|
-
statement = BEL::
|
65608
|
+
statement = BEL::Nanopub::Statement.new(
|
65609
65609
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65610
65610
|
)
|
65611
65611
|
statement.annotations = @statement.annotations
|
@@ -65613,7 +65613,7 @@ n = 0 end
|
|
65613
65613
|
end
|
65614
65614
|
elsif @statement.relationship == :hasMembers
|
65615
65615
|
@statement.object.arguments.each do |arg|
|
65616
|
-
statement = BEL::
|
65616
|
+
statement = BEL::Nanopub::Statement.new(
|
65617
65617
|
@statement.subject, :hasMember, arg, @statement.comment
|
65618
65618
|
)
|
65619
65619
|
statement.annotations = @statement.annotations
|
@@ -65633,7 +65633,7 @@ n = 0 end
|
|
65633
65633
|
begin
|
65634
65634
|
|
65635
65635
|
fx = @name.to_sym
|
65636
|
-
@term_stack.push(BEL::
|
65636
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
65637
65637
|
@pfx = nil
|
65638
65638
|
@pbuf = []
|
65639
65639
|
end
|
@@ -65663,7 +65663,7 @@ n = 0 end
|
|
65663
65663
|
|
65664
65664
|
if @statement.relationship == :hasComponents
|
65665
65665
|
@statement.object.arguments.each do |arg|
|
65666
|
-
statement = BEL::
|
65666
|
+
statement = BEL::Nanopub::Statement.new(
|
65667
65667
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65668
65668
|
)
|
65669
65669
|
statement.annotations = @statement.annotations
|
@@ -65671,7 +65671,7 @@ n = 0 end
|
|
65671
65671
|
end
|
65672
65672
|
elsif @statement.relationship == :hasMembers
|
65673
65673
|
@statement.object.arguments.each do |arg|
|
65674
|
-
statement = BEL::
|
65674
|
+
statement = BEL::Nanopub::Statement.new(
|
65675
65675
|
@statement.subject, :hasMember, arg, @statement.comment
|
65676
65676
|
)
|
65677
65677
|
statement.annotations = @statement.annotations
|
@@ -65708,7 +65708,7 @@ n = 0 end
|
|
65708
65708
|
|
65709
65709
|
if @statement.relationship == :hasComponents
|
65710
65710
|
@statement.object.arguments.each do |arg|
|
65711
|
-
statement = BEL::
|
65711
|
+
statement = BEL::Nanopub::Statement.new(
|
65712
65712
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65713
65713
|
)
|
65714
65714
|
statement.annotations = @statement.annotations
|
@@ -65716,7 +65716,7 @@ n = 0 end
|
|
65716
65716
|
end
|
65717
65717
|
elsif @statement.relationship == :hasMembers
|
65718
65718
|
@statement.object.arguments.each do |arg|
|
65719
|
-
statement = BEL::
|
65719
|
+
statement = BEL::Nanopub::Statement.new(
|
65720
65720
|
@statement.subject, :hasMember, arg, @statement.comment
|
65721
65721
|
)
|
65722
65722
|
statement.annotations = @statement.annotations
|
@@ -65785,7 +65785,7 @@ n = 0 end
|
|
65785
65785
|
p -= 1; end
|
65786
65786
|
begin
|
65787
65787
|
|
65788
|
-
@statement = BEL::
|
65788
|
+
@statement = BEL::Nanopub::Statement.new()
|
65789
65789
|
@statement_stack = [@statement]
|
65790
65790
|
end
|
65791
65791
|
begin
|
@@ -65811,7 +65811,7 @@ p -= 1; end
|
|
65811
65811
|
begin
|
65812
65812
|
|
65813
65813
|
fx = @name.to_sym
|
65814
|
-
@term_stack.push(BEL::
|
65814
|
+
@term_stack.push(BEL::Nanopub::Term.new(fx, []))
|
65815
65815
|
@pfx = nil
|
65816
65816
|
@pbuf = []
|
65817
65817
|
end
|
@@ -65871,7 +65871,7 @@ p -= 1; end
|
|
65871
65871
|
|
65872
65872
|
if @statement.relationship == :hasComponents
|
65873
65873
|
@statement.object.arguments.each do |arg|
|
65874
|
-
statement = BEL::
|
65874
|
+
statement = BEL::Nanopub::Statement.new(
|
65875
65875
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65876
65876
|
)
|
65877
65877
|
statement.annotations = @statement.annotations
|
@@ -65879,7 +65879,7 @@ p -= 1; end
|
|
65879
65879
|
end
|
65880
65880
|
elsif @statement.relationship == :hasMembers
|
65881
65881
|
@statement.object.arguments.each do |arg|
|
65882
|
-
statement = BEL::
|
65882
|
+
statement = BEL::Nanopub::Statement.new(
|
65883
65883
|
@statement.subject, :hasMember, arg, @statement.comment
|
65884
65884
|
)
|
65885
65885
|
statement.annotations = @statement.annotations
|
@@ -65920,7 +65920,7 @@ n = 0 end
|
|
65920
65920
|
|
65921
65921
|
if @statement.relationship == :hasComponents
|
65922
65922
|
@statement.object.arguments.each do |arg|
|
65923
|
-
statement = BEL::
|
65923
|
+
statement = BEL::Nanopub::Statement.new(
|
65924
65924
|
@statement.subject, :hasComponent, arg, @statement.comment
|
65925
65925
|
)
|
65926
65926
|
statement.annotations = @statement.annotations
|
@@ -65928,7 +65928,7 @@ n = 0 end
|
|
65928
65928
|
end
|
65929
65929
|
elsif @statement.relationship == :hasMembers
|
65930
65930
|
@statement.object.arguments.each do |arg|
|
65931
|
-
statement = BEL::
|
65931
|
+
statement = BEL::Nanopub::Statement.new(
|
65932
65932
|
@statement.subject, :hasMember, arg, @statement.comment
|
65933
65933
|
)
|
65934
65934
|
statement.annotations = @statement.annotations
|
@@ -65963,12 +65963,12 @@ n = 0 end
|
|
65963
65963
|
|
65964
65964
|
ns =
|
65965
65965
|
if @pfx
|
65966
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
65966
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
65967
65967
|
else
|
65968
65968
|
nil
|
65969
65969
|
end
|
65970
65970
|
|
65971
|
-
param = BEL::
|
65971
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
65972
65972
|
@term_stack.last << param
|
65973
65973
|
|
65974
65974
|
yield param
|
@@ -66018,12 +66018,12 @@ n = 0 end
|
|
66018
66018
|
|
66019
66019
|
ns =
|
66020
66020
|
if @pfx
|
66021
|
-
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil
|
66021
|
+
@namespaces[@pfx.to_sym] ||= BEL::Namespace::NamespaceDefinition.new(@pfx, nil)
|
66022
66022
|
else
|
66023
66023
|
nil
|
66024
66024
|
end
|
66025
66025
|
|
66026
|
-
param = BEL::
|
66026
|
+
param = BEL::Nanopub::Parameter.new(ns, val)
|
66027
66027
|
@term_stack.last << param
|
66028
66028
|
|
66029
66029
|
yield param
|