Skip to content

Commit

Permalink
Update roud-oeuvres-permissions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Nora-Olivia-Ammann committed Jan 22, 2025
1 parent d986c1e commit fd67a2c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions roud-oeuvres-permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,20 @@ def main() -> None:
oap_config=oap_config,
)

# Problematic Permissions:
"""
PREFIX kb: <http://www.knora.org/ontology/knora-base#>
PREFIX ka: <http://www.knora.org/ontology/knora-admin#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?targetIRI ?resType
WHERE {
GRAPH <http://www.knora.org/data/0112/roud-oeuvres> {
?targetIRI kb:hasPermissions "CR knora-admin:Creator,knora-admin:ProjectAdmin|D knora-admin:KnownUser|V knora-admin:UnknownUser" .
?targetIRI rdf:type ?resType
}
}
"""

if __name__ == "__main__":
main()

0 comments on commit fd67a2c

Please sign in to comment.