ruby script to compare 2 rdfa file