How many triples ?

I just found a simple way to count triples in a RDF file, without needed to script anything, using rapper (included in raptor-utils package for Debian and Ubuntu):

rapper --count http://apassant.net/feed 2>&1 | awk 'NR==2 {print $4}'

Redland is definitely great to manage RDF in many ways !

Comments

Leave a Reply

You must be logged in to post a comment.