example-complete.json 2.52 KB
Newer Older
Ignacio Corcuera's avatar
Ignacio Corcuera committed
1 2 3
{
  "@context": "http://mixedemotions-project.eu/ns/context.jsonld",
  "@id": "me:Result1",
4
  "@type": "results",
Ignacio Corcuera's avatar
Ignacio Corcuera committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
  "analysis": [
    {
      "@id": "me:SAnalysis1",
      "@type": "marl:SentimentAnalysis",
      "marl:maxPolarityValue": 1,
      "marl:minPolarityValue": 0
    },
    {
      "@id": "me:SgAnalysis1",
      "@type": "me:SuggestionAnalysis"
    },
    {
      "@id": "me:EmotionAnalysis1",
      "@type": "me:EmotionAnalysis"
    },
    {
      "@id": "me:NER1",
      "@type": "me:NER"
    }
  ],
  "entries": [
    {
      "@id": "http://micro.blog/status1",
      "@type": [
        "nif:RFC5147String",
        "nif:Context"
      ],
      "nif:isString": "Dear Microsoft, put your Windows Phone on your newest #open technology program. You'll be awesome. #opensource",
      "entities": [
        {
          "@id": "http://micro.blog/status1#char=5,13",
          "nif:beginIndex": 5,
          "nif:endIndex": 13,
          "nif:anchorOf": "Microsoft",
          "me:references": "http://dbpedia.org/page/Microsoft",
          "prov:wasGeneratedBy": "me:NER1"
        },
        {
          "@id": "http://micro.blog/status1#char=25,37",
          "nif:beginIndex": 25,
          "nif:endIndex": 37,
          "nif:anchorOf": "Windows Phone",
          "me:references": "http://dbpedia.org/page/Windows_Phone",
          "prov:wasGeneratedBy": "me:NER1"
        }
      ],
      "suggestions": [
        {
          "@id": "http://micro.blog/status1#char=16,77",
          "nif:beginIndex": 16,
          "nif:endIndex": 77,
J. Fernando Sánchez's avatar
J. Fernando Sánchez committed
56 57
          "nif:anchorOf": "put your Windows Phone on your newest #open technology program",
          "prov:wasGeneratedBy": "me:SgAnalysis1"
Ignacio Corcuera's avatar
Ignacio Corcuera committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
        }
      ],
      "sentiments": [
        {
          "@id": "http://micro.blog/status1#char=80,97",
          "nif:beginIndex": 80,
          "nif:endIndex": 97,
          "nif:anchorOf": "You'll be awesome.",
          "marl:hasPolarity": "marl:Positive",
          "marl:polarityValue": 0.9,
          "prov:wasGeneratedBy": "me:SAnalysis1"
        }
      ],
      "emotions": [
        {
          "@id": "http://micro.blog/status1#char=0,109",
          "nif:anchorOf": "Dear Microsoft, put your Windows Phone on your newest #open technology program. You'll be awesome. #opensource",
          "prov:wasGeneratedBy": "me:EAnalysis1",
          "onyx:hasEmotion": [
            {
              "onyx:hasEmotionCategory": "wna:liking"
            },
            {
              "onyx:hasEmotionCategory": "wna:excitement"
            }
          ]
        }
      ]
    }
  ]
}