Skip to content

Commit

Permalink
Fix overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
mboudet committed Jul 19, 2023
1 parent 6c4c308 commit c53a2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion askomics/libaskomics/SparqlQuery.py
Expand Up @@ -1185,7 +1185,7 @@ def build_query_from_json(self, preview=False, for_editor=False):
), block_id, sblock_id, pblock_ids)

elif link["uri"] == "overlap_with":
self.store_filter("FILTER (({start2} >{equalsign} {start1} && {start2} <{equalsign} {end1}) || ({end2} >{equalsign} {start1} && {end2} <{equalsign} {end1}))".format(
self.store_filter("FILTER (({start2} >{equalsign} {start1} && {start2} <{equalsign} {end1}) || ({end2} >{equalsign} {start1} && {end2} <{equalsign} {end1}) || ({start1} >{equalsign} {start2} && {end1} <{equalsign} {end2}))".format(
start1=start_1,
start2=start_2,
end1=end_1,
Expand Down

0 comments on commit c53a2df

Please sign in to comment.