0

Give I have JSON-LD with an array of objects or a "@graph" of objects.

How can I find the list of objects at the top level?

The array of objects may be connected (referencing each other) or they may not. If they represent multiple graphs I want the top-level object for each graph.

I'm looking for an algorithm or transformations performed on the JSON-LD API 1.1.

More specifically, can I construct a frame to extract these objects' IDs?

Clarification: As Tony McCreath points out, Top-level objects are objects that only have self-references or no references at all.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.