You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
self.BadSyntax(argstr, i, 'Prefix "%s:" not bound' % (pfx))
File "/Users/admin/PycharmProjects/Uni_Caen_GYREC/venv/lib/python3.7/site-packages/rdflib/plugins/parsers/notation3.py", line 1730, in BadSyntax
raise BadSyntax(self._thisDoc, self.lines, argstr, i, msg)
rdflib.plugins.parsers.notation3.BadSyntax: at line 1 of <>:
Bad syntax (Prefix "rdf:" not bound) at ^ in:
"b'<1908_St._Louis_Browns_season>\t'^b'rdf:type\t<wordnet_abstraction_100002137> .\n<1908_St._Louis_B'..."
How to solve the issue?
The text was updated successfully, but these errors were encountered:
I am trying to get the wordnet type for each yago entity but getting the error as
query looks like
q = """
SELECT ?object
WHERE {
http://yago-knowledge.org/resource/Jean-Baptiste-Joseph_Gobel rdf:type ?object
}
"""
error=
self.BadSyntax(argstr, i, 'Prefix "%s:" not bound' % (pfx))
File "/Users/admin/PycharmProjects/Uni_Caen_GYREC/venv/lib/python3.7/site-packages/rdflib/plugins/parsers/notation3.py", line 1730, in BadSyntax
raise BadSyntax(self._thisDoc, self.lines, argstr, i, msg)
rdflib.plugins.parsers.notation3.BadSyntax: at line 1 of <>:
Bad syntax (Prefix "rdf:" not bound) at ^ in:
"b'<1908_St._Louis_Browns_season>\t'^b'rdf:type\t<wordnet_abstraction_100002137> .\n<1908_St._Louis_B'..."
How to solve the issue?
The text was updated successfully, but these errors were encountered: