Is there any way to return nested results in JSON from a query? For example 
something like this


{
    "<person-1>": {
        "ex:type":   "ex:Book",
        "ex:title":  "Macbeth",
        "ex:Author": {
            "ex:name": "William Shakespeare"
            ...
        },
        "ex:Characters": [
            { "ex:name": "Duncan" },
            { "ex:name": "Macbeth" },
            { "ex:name": "Macduff" },
            ...
        ]
    }

    "<person-2>": {
        ...
    }
}

Reply via email to