Skip to content

Commit

Permalink
Updated query
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Jul 2, 2024
1 parent 380e82b commit 2dc9a73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constant/recon-queries.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ SELECT DISTINCT
?score
(SAMPLE(?name_en) as ?nameEn)
(SAMPLE(?name_fr) as ?nameFr)
(SAMPLE(?name_no) as ?description)
(SAMPLE(?name_no) as ?name)
?type
?type_label
(SAMPLE(?description_no) as ?description)
Expand Down Expand Up @@ -46,6 +46,6 @@ WHERE
OPTIONAL { ?entity schema:disambiguatingDescription ?description_fr. FILTER( LANG(?description_fr) = "fr")}
OPTIONAL { ?entity schema:disambiguatingDescription ?description_no. FILTER ( LANG(?description_no) = "")}
} group by ?entity ?score ?name_en ?name_fr ?name ?type ?type_label ?description_en ?description_fr ?description
} group by ?entity ?score ?name_en ?name_fr ?name_no ?type ?type_label ?description_en ?description_fr ?description_no
`
};

0 comments on commit 2dc9a73

Please sign in to comment.