Skip to content

Commit

Permalink
fix: parsing ontologies issue, when concept label is url (suite) (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal authored Jan 22, 2025
1 parent 27300f2 commit 5825dc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/goo/sparql/mixins/solution_lang_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ def fill_models_with_all_languages(models_by_id)

model = models_by_id[id]
predicates.each do |predicate, values|
if values.values.any? { |v| v.all? { |x| literal?(x) && x.plain?} }

if values.values.any? { |v| v.any? { |x| literal?(x) && x.plain?} }

pull_stored_values(model, values, predicate, @unmapped)
end
end
Expand Down

0 comments on commit 5825dc1

Please sign in to comment.