Collect triples with different subjects for JSON-LD conversion

This closes #108.

Tested with lobid-organisations, lobid-resources, and GND data.

Queries and UI need to be updated for the new format, see #115.