rdf.json is missing
Closed this issue · 4 comments
Thanks a lot for this auto completion!
The rdf.json
file is missing in ./lib/ontologies
.
Tried to add it to your repo and convert from turtle file (http://www.w3.org/1999/02/22-rdf-syntax-ns#), but got the following error:
cat rdf.ttl | python convert.py "http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf > rdf.json
File "convert.py", line 25
predicateRegex = re.compile(ur'^([^:\s]*):([a-zA-Z\-_]+)')
^
SyntaxError: invalid syntax
Did I miss something?
Running Windows 10 and python 3.6.5. Switching to python 2 did the trick, the convert.py
finished without any problems now. If you want, I can provide a patch for the missing rdf.json
file.
That's very kind of you. I've changed my process so no more of these can get missed. 1.4.2 adds rdf.json and I've updated convert.py to indicate the python version. Thanks for the offer (and thanks for confirming this works on Windows ;-)
Yes, indeed it works on Windows ;). Thanks for including the missing file and your work.