Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sahalali committed Jul 4, 2024
1 parent 7d11b06 commit a3d48e4
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 180 deletions.
6 changes: 3 additions & 3 deletions src/constant/recon-queries.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ WHERE
# a ?type_additional.
#NAME
OPTIONAL { ?entity schema:name ?name_en. FILTER( LANG(?name_en) = "en") }
OPTIONAL { ?entity schema:name ?name_fr. FILTER( LANG(?name_fr) = "fr")}
OPTIONAL { ?entity schema:name ?name_no. FILTER ( LANG(?name_no) = "")}
OPTIONAL { ?entity rdfs:label ?name_en. FILTER( LANG(?name_en) = "en") }
OPTIONAL { ?entity rdfs:label ?name_fr. FILTER( LANG(?name_fr) = "fr")}
OPTIONAL { ?entity rdfs:label ?name_no. FILTER ( LANG(?name_no) = "")}
#TYPE
OPTIONAL { ?type rdfs:label ?type_label_raw filter(lang(?type_label_raw) = "") }
Expand Down
2 changes: 1 addition & 1 deletion src/dto/recon.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class MultilingualValues {
lang?: string;
}

class MultilingualString {
export class MultilingualString {
@ApiProperty({ type: [MultilingualValues] })
values: MultilingualValues[];
}
Expand Down
Loading

0 comments on commit a3d48e4

Please sign in to comment.