Skip to content

Commit

Permalink
mark DISTINCT as keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
prohde committed Aug 16, 2023
1 parent b92c5d3 commit ce3598f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FedSDM/rdfmtmgt.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ def get_graph_stat(graph: str = None, source: str = None) -> list:
else:
source = '"' + source + '"'
if graph is not None:
query = 'SELECT distinct ?subject ?target WHERE { GRAPH <' + graph + '> {\n' \
query = 'SELECT DISTINCT ?subject ?target WHERE { GRAPH <' + graph + '> {\n' \
' ?subject a mt:RDFMT .\n' \
' ?subject mt:source ?source .\n' \
' ?source mt:datasource ?datasource .\n' \
Expand All @@ -821,7 +821,7 @@ def get_graph_stat(graph: str = None, source: str = None) -> list:
' }\n' \
'}}'
else:
query = 'SELECT distinct ?subject ?target WHERE {\n' \
query = 'SELECT DISTINCT ?subject ?target WHERE {\n' \
' ?subject a mt:RDFMT .\n' \
' ?subject mt:source ?source .\n' \
' ?source mt:datasource ?datasource .\n' \
Expand Down

0 comments on commit ce3598f

Please sign in to comment.