Datenspeicherung
Es soll eine Möglichkeit geben, die Daten aus dem Formular zu speichern.
Das Datenformat soll in etwa so aussehen:
{
"annotator" : ...,
"project" : ...,
"date": ... (input from SystemTime),
"text" : {
"value" : ...,
"reference" : ...,
"metaphorRelatedWords" : [
{
"start" : ... (index),
"end" : ... (index)
},
...
]
},
"propositions" : [
{
"type" : attribute / relation / concept,
"A" : ...,
"B" : ...,
"Y" : ... (if present),
"evidence": explicit / implicit / context / world-knowledge
},
...
],
"mapping" : {
"targetDomain" : {
"A" : {
"value" : ...,
"step" : openmapping / completedmapping
},
...
},
"sourceDomain" : {
"A" : {
"value" : ...,
"step" : openmapping / completedmapping
},
...
}
},
"domainMappings" : [
{
"type" : "comparison",
"source" : ...,
"target" : ...
},
{
"type" : "tertium",
"value" : ...
},
...
]
}
Die genaue Interaktion mit dem Server (file-based storage, …) wird noch spezifiziert.