gsi-upm/sematch

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(query)?

rocana95 opened this issue · 2 comments

the print query not work in python3 of course

class BaseSPARQL:
def execution(self, query, show_query=False):
if show_query:
print query
self._sparql.setQuery(query)
results = self._sparql.query().convert()
#print results
return results["results"]["bindings"]

I'm closing this issue in favor of #31

Hello!
I can't understand how to solve this problem. Can you give me an advice?
Снимок экрана (1889)