Skip to content

Commit

Permalink
use replace_url_prefix_to_id in the get_rest_mapping method
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Sep 5, 2022
1 parent 94eeb65 commit dc35d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ontologies_linked_data/mappings/mappings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def self.get_rest_mapping(mapping_id)
GRAPH ?s2 {
?c2 <#{rest_predicate}> ?uuid .
}
FILTER(?uuid = <#{mapping_id}>)
FILTER(?uuid = <#{LinkedData::Models::Base.replace_url_prefix_to_id(mapping_id)}>)
FILTER(?s1 != ?s2)
} LIMIT 1
eos
Expand Down

0 comments on commit dc35d50

Please sign in to comment.