Skip to content

Commit

Permalink
fix: Exclude identity from exact matches in GTM (#1251)
Browse files Browse the repository at this point in the history
* fix duplicate exact match URI's

* Apply to lookup query

---------

Co-authored-by: David de Boer <[email protected]>
  • Loading branch information
coret and ddeboer authored Mar 3, 2024
1 parent fcbe3e1 commit d2f5b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ CONSTRUCT {
OPTIONAL {
?uri owl:sameAs ?exactMatch_uri .
?exactMatch_uri sdo:name ?exactMatch_prefLabel .
FILTER(?exactMatch_uri != ?uri)
}
}
LIMIT 100
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ CONSTRUCT {
OPTIONAL {
?uri owl:sameAs ?exactMatch_uri .
?exactMatch_uri sdo:name ?exactMatch_prefLabel .
FILTER(?exactMatch_uri != ?uri)
}
} ORDER BY DESC(?score) LIMIT 100

0 comments on commit d2f5b9e

Please sign in to comment.