Skip to content

Commit

Permalink
Order top-concepts and narrowers by str(?label)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondchuc committed Jul 27, 2023
1 parent 0cb5873 commit 3e63b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prez/services/vocprez.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_concept_scheme_top_concepts_query(iri: str, page: int, per_page: int) ->
}
}
GROUP BY ?concept ?label
ORDER BY ?label
ORDER BY str(?label)
LIMIT {{ limit }}
OFFSET {{ offset }}
}
Expand Down Expand Up @@ -139,7 +139,7 @@ def get_concept_narrowers_query(iri: str, page: int, per_page: int) -> str:
}
}
GROUP BY ?concept ?label
ORDER BY ?label
ORDER BY str(?label)
LIMIT {{ limit }}
OFFSET {{ offset }}
}
Expand Down

0 comments on commit 3e63b1a

Please sign in to comment.