Skip to content

Commit

Permalink
Modify default profile to exclude skos:hasTopConcept to prevent timeo…
Browse files Browse the repository at this point in the history
…uts when loading ConceptSchemes. The top concepts can be obtained using the paginated endpoint `/concept-hierarchy/<cs>/top-concepts`. Remove optional inclusion of concept skos:inScheme conceptScheme links for the same reason.
  • Loading branch information
recalcitrantsupplant committed Aug 5, 2024
1 parent 77e6bcc commit 72252e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prez/reference_data/profiles/ogc_records_profile.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,10 @@ prez:OGCSchemesObjectProfile
altr-ext:hasDefaultResourceFormat "text/anot+turtle" ;
altr-ext:constrainsClass skos:ConceptScheme ;
sh:property [
sh:minCount 0 ;
sh:path [sh:inversePath skos:inScheme ]
] , [
sh:path shext:allPredicateValues
] , [
sh:maxCount 0 ;
sh:path skos:hasTopConcept ;
] ;
shext:bnode-depth 2 ;
.

0 comments on commit 72252e1

Please sign in to comment.