My current work

I have a compacted graph like this one:

  "@graph": [
    {
      "@id": "baseScholar:Competency3_2",
      "@type": "baseScholar:Competency",
      "bloom": "baseBloom:Bloom_Taxonomy1",
      "topic": "baseBloom:Topic37"
    },
    {
      "@id": "baseScholar:Competency3_3",
      "@type": "baseScholar:Competency",
      "bloom": "baseBloom:Bloom_Taxonomy1",
      "topic": "baseBloom:Topic32"
    },
...
with a lot of data structure like this one, but also others nodes
interleaved in the middle (like some defining Bloom_TaxonomyXXX).

I imagine a useful campacted version with something like
  "@graph": [
       "competencies": [
            { "bloom": "baseBloom:Bloom_Taxonomy1",      "topic":
"baseBloom:Topic37"},
            { "bloom": "baseBloom:Bloom_Taxonomy1",      "topic":
"baseBloom:Topic32"},
            ...
        ],

And I can't figure if I'm completely dumb to try to do that with a context
or if I need to create an ad-hoc code to get my result

--
Jean-Claude Moissinac

Received on Thursday, 13 March 2014 14:16:06 UTC