Skip to content

Commit 051058f

Browse files
update owlapi wrapper
1 parent 368f975 commit 051058f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

bin/owlapi-wrapper-1.4.3.jar

4.31 KB
Binary file not shown.

test/models/test_ontology.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def test_ontology_properties
152152
ont = LinkedData::Models::Ontology.find('BRO35').first
153153
ont.bring(:submissions)
154154
sub = ont.submissions[0]
155-
props = ont.properties()
156-
assert_equal 82, props.length
155+
props = ont.properties
156+
assert_equal 86, props.length
157157

158158
# verify sorting
159159
assert_equal "http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#AlgorithmPurpose", props[0].id.to_s
@@ -192,7 +192,7 @@ def test_ontology_properties
192192

193193
# test property roots
194194
pr = ont.property_roots(sub, extra_include=[:hasChildren, :children])
195-
assert_equal 61, pr.length
195+
assert_equal 65, pr.length
196196

197197
# verify sorting
198198
assert_equal "http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#AlgorithmPurpose", pr[0].id.to_s
@@ -206,7 +206,7 @@ def test_ontology_properties
206206
assert_equal 33, dpr.length
207207
# count annotation properties
208208
apr = pr.select { |p| p.class == LinkedData::Models::AnnotationProperty }
209-
assert_equal 10, apr.length
209+
assert_equal 14, apr.length
210210
# check for non-root properties
211211
assert_empty pr.select { |p| ["http://www.w3.org/2004/02/skos/core#broaderTransitive",
212212
"http://www.w3.org/2004/02/skos/core#topConceptOf",

test/models/test_ontology_submission.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def test_index_properties
448448
"./test/data/ontology_files/BRO_v3.5.owl", 1,
449449
process_rdf: true, extract_metadata: false, index_properties: true)
450450
res = LinkedData::Models::Class.search("*:*", {:fq => "submissionAcronym:\"BRO\"", :start => 0, :rows => 80}, :property)
451-
assert_equal 80 , res["response"]["numFound"]
451+
assert_equal 84 , res["response"]["numFound"]
452452
found = 0
453453

454454
res["response"]["docs"].each do |doc|

0 commit comments

Comments
 (0)