One of the several advantages of N-Triples (and this is not an accident) is how 
easy it is to use standard Posix tools with it, e.g. cut, sed, grep, etc.

---
A. Soroka
The University of Virginia Library

> On Apr 18, 2017, at 11:46 AM, Laura Morales <laure...@mail.com> wrote:
> 
>> In the meantime, you can use something like sed for this, something like: 
>> sed -e "s|\(.*\)|\1 <mygraphuri>|"
> 
> ah, right! This is a good suggestion. This seems to work: sed "s/\(.*\) 
> \.$/\1 <graph> ./"  (all triples have a period at the end).
> I think I'll use this until RIOT has a --graph option that would be much more 
> easy to work with :)

Reply via email to