Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Aug 8, 2024
1 parent 0b1aac0 commit 49ff6ba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cmem_plugin_reason/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,14 @@ def get_provenance(plugin: WorkflowPlugin, context: ExecutionContext) -> dict |
project_graph = f"http://di.eccenca.com/project/{context.task.project_id()}"

type_query = f"""
SELECT ?type ?label {{
GRAPH <{project_graph}> {{
<{plugin_iri}> a ?type .
<{plugin_iri}> <http://www.w3.org/2000/01/rdf-schema#label> ?label .
FILTER(STRSTARTS(STR(?type), "https://vocab.eccenca.com/di/functions/"))
}}
SELECT ?type ?label {{
GRAPH <{project_graph}> {{
<{plugin_iri}> a ?type .
<{plugin_iri}> <http://www.w3.org/2000/01/rdf-schema#label> ?label .
FILTER(STRSTARTS(STR(?type), "https://vocab.eccenca.com/di/functions/"))
}}
"""
}}
"""

result = json.loads(post_select(query=type_query))

Expand Down

0 comments on commit 49ff6ba

Please sign in to comment.