Skip to content

Commit

Permalink
feat: add slots
Browse files Browse the repository at this point in the history
  • Loading branch information
harryle95 committed Aug 18, 2024
1 parent 5e0173a commit 95b9611
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/router/sparql.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from src.services.sparql import QUERY_RESULT, SPARQLService

__all__ = ("SPARQLController", )


class SPARQLController(Controller):
path: str = "/sparql"
Expand Down
3 changes: 3 additions & 0 deletions src/services/sparql.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@

from SPARQLWrapper import JSON, SPARQLWrapper

__all__ = ("QueryFactory", "SPARQLService", )


URL = "https://demo.vocabs.ardc.edu.au/repository/api/sparql/appf_appf-test-project-2_appf-test-project-2-v0-1"

SKOS_CONCEPT_PROPERTY = Literal[
Expand Down

0 comments on commit 95b9611

Please sign in to comment.