JSON-LD: Support top-level @graph expressing implicit default graph
Per W3C JSON-LD v1.1 §4.9 (non-normative ref): When a JSON-LD document's top-level structure is a map that contains no other keys than @graph and optionally @context (properties that are not mapped to an IRI or a keyword are ignored), @graph is considered to express the otherwise implicit default graph. Support such a structure in InfoExtractor._json_ld parsing: Wrap the control flow block in a function, which is called recursively upon such a structurepull/30229/head
parent
a803582717
commit
77e8f5353c
Loading…
Reference in New Issue