Fix inverse relation logic
Add :standard_prefixes to JSON-LD output