Convert to RDF using node map

This closes #33.