Stopped production of triples with null objects.

Checked for null objects before producing a triple because some RDF
parsers choke on null triple components.
Merge pull request #1 from prototypo/master

Stopped production of triples with null objects.