mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-25 01:22:28 +00:00
a0abbede49
Update RDFlib to 6.1.1 (removed rdflib-jsonld, as it is deprecated) Bumped minimum python version: 3.7 (as a result of RDFLIB 6) Added ProxyFix to run behind nginx (Added --no-proxy to run without the fix) Replaced http media links to protocol-agnostic links in playground Enable CORS (via --enable-cors) Update old urls (replaced *.cluster.gsi.dit.upm.es with *.gsi.upm.es)
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"@context": [
|
|
"http://mixedemotions-project.eu/ns/context.jsonld",
|
|
{
|
|
"emovoc": "http://www.gsi.upm.es/ontologies/onyx/vocabularies/emotionml/ns#"
|
|
}
|
|
],
|
|
"@id": "me:Result1",
|
|
"@type": "results",
|
|
"activities": [
|
|
{
|
|
"@id": "me:HesamsAnalysis_Activity",
|
|
"@type": "onyx:EmotionAnalysis",
|
|
"prov:wasAssociatedWith": "me:HesamsAnalysis",
|
|
"prov:used": [
|
|
{
|
|
"name": "emotion-model",
|
|
"prov:value": "emovoc:pad-dimensions"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"entries": [
|
|
{
|
|
"@id": "Entry1",
|
|
"@type": [
|
|
"nif:RFC5147String",
|
|
"nif:Context"
|
|
],
|
|
"nif:isString": "This is a test string",
|
|
"entities": [
|
|
],
|
|
"suggestions": [
|
|
],
|
|
"sentiments": [
|
|
],
|
|
"emotions": [
|
|
{
|
|
"@id": "Entry1#char=0,21",
|
|
"nif:anchorOf": "This is a test string",
|
|
"prov:wasGeneratedBy": "_:HesamAnalysis_Activity",
|
|
"onyx:hasEmotion": [
|
|
{
|
|
"emovoc:pleasure": 0.5,
|
|
"emovoc:arousal": 0.7
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|