gsi-upm / sematch

semantic similarity framework for knowledge graph
http://gsi-upm.github.io/sematch/
Other
432 stars 111 forks source link

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

Closed rocana95 closed 4 years ago

rocana95 commented 5 years ago

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"]
balkian commented 4 years ago

I'm closing this issue in favor of #31

KseniiaKolesnichenko commented 3 years ago

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