I have dbpedia's NTriple files. Some of them contain non absolute URIs, URI's that don't start with http://. This is causing problem to the parsing.
i.e. i have some triples that have URIs like <www.example.com> instead of <http://www.example.com>
I'd like to grep them out by negating them.
I tried, failing, with grep -v "^(<http)".
Any suggestion?
Edit
I probably made my point wrongly. These URI's aren't necessarily at the beginning of the line. That was my mistake in using the '^' operator as NOT. Also, I want to grep them out, with grep -v.
These are some sample lines:
<http://dbpedia.org/resource/Petrodvorets_Watch_Factory> <http://xmlns.com/foaf/0.1/homepage> <www.raketa.su> .
<http://dbpedia.org/resource/ABS_network> <http://xmlns.com/foaf/0.1/homepage> <www.absn.tv> .