1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-22 09:42:28 +00:00
This commit is contained in:
Fernando Sánchez 2013-10-21 08:42:24 -07:00
parent adb813afb4
commit 87d7417061

View File

@ -16,15 +16,15 @@
"@type" : "xsd:string", "@type" : "xsd:string",
"http://www.w3.org/2000/01/rdf-schema#label": "Modified version of the source, verbs in infinitive and singular forms" "http://www.w3.org/2000/01/rdf-schema#label": "Modified version of the source, verbs in infinitive and singular forms"
}, },
"field3": {
"@id": "_:field3",
"@type" : "xsd:string",
"http://www.w3.org/2000/01/rdf-schema#label": "Modified version of the source, verbs in infinitive and singular forms"
},
"field4": { "field4": {
"@id": "_:field4", "@id": "_:field4",
"@type" : "xsd:string", "@type" : "xsd:string",
"http://www.w3.org/2000/01/rdf-schema#label": "Entity" "http://www.w3.org/2000/01/rdf-schema#label": "Entity"
},
"field6": {
"@id": "_:field6",
"@type" : "xsd:string",
"http://www.w3.org/2000/01/rdf-schema#label": "Synsets in the text"
} }
}, },
"@graph": [ "@graph": [
@ -41,12 +41,13 @@
{ {
"@id": "{{ node }}", "@id": "{{ node }}",
"@type": "marl:opinion", "@type": "marl:opinion",
"marl:opinionText": "{{ i[1] | escape }}", "marl:opinionText": {{ i[1] | escapejs }},
"marl:domain": "pt:{{ i[0] }}", "marl:domain": "pt:{{ i[0] }}",
"marl:polarityValue": {{ i[5] }}, "marl:polarityValue": {{ i[5] }},
"field0": "{{ i[0] | escape }}", "field0": {{ i[0] | escapejs }},
"field3": "{{ i[3] | escape }}", "field3": {{ i[3] | escapejs }},
"field4": "{{ i[4] | escape }}" "field4": {{ i[4] | escapejs }},
"field6": {{ i[6] | escapejs }}
} {% if not loop.last %} , {% endif %} } {% if not loop.last %} , {% endif %}
{% endfor %} {% endfor %}