...
The Structured Analysis Harvester supports the creation of events that are specified
Code Block | ||
---|---|---|
| ||
{
...
"events" : [
{
"iterateOver" : "entity1/entity2/geo_index",
"verb" : "attacked",
"verb_category" : "assault/attack",
"entity1" : "PersonPerpetrator",
"entity2" : "VictimType",
"geo_index" : "Location",
"time_start" : "$SCRIPT( return _doc.metadata.incidentdate[0]; )"
},
],
...
}
|
Blah de blah, blah
Code Block | ||
---|---|---|
| ||
{ ... "entities" : [ { "actual_name" : "Batticaloa,North Eastern Province,Sri Lanka", "dimension" : "Where", "disambiguous_name" : "Batticaloa,North Eastern Province,Sri Lanka", "doccount" : NumberLong(18), "frequency" : 1, "gazateer_index" : "batticaloa,north eastern province,sri lanka/location", "geotag" : { "latitude" : "7.7166667", "longitude" : "81.7" }, "totalfrequency" : NumberLong(18), "type" : "Location" }, { "actual_name" : "Targeted, Police, Adult from Sri Lanka", "dimension" : "Who", "disambiguous_name" : "Targeted, Police, Adult from Sri Lanka", "doccount" : NumberLong(47), "frequency" : 3, "gazateer_index" : "targeted, police, adult from sri lanka/victimtype", "totalfrequency" : NumberLong(161), "type" : "VictimType" }, { "actual_name" : "Targeted, Military, Adult, Combatant from Sri Lanka", "dimension" : "Who", "disambiguous_name" : "Targeted, Military, Adult, Combatant from Sri Lanka", "doccount" : NumberLong(20), "frequency" : 1, "gazateer_index" : "targeted, military, adult, combatant from sri lanka/victimtype", "totalfrequency" : NumberLong(147), "type" : "VictimType" }, { "actual_name" : "Secular/Political/Anarchist from Sri Lanka", "dimension" : "Who", "disambiguous_name" : "Secular/Political/Anarchist from Sri Lanka", "doccount" : NumberLong(200), "frequency" : 1, "gazateer_index" : "secular/political/anarchist from sri lanka/personperpetrator", "totalfrequency" : NumberLong(200), "type" : "PersonPerpetrator" }, ... ], ... } |
Blah de blah, blah
Code Block | ||
---|---|---|
| ||
{
...
"events" : [
{
"entity1" : "secular/political/anarchist from sri lanka",
"entity1_index" : "secular/political/anarchist from sri lanka/personperpetrator",
"verb" : "attacked",
"verb_category" : "assault/attack",
"entity2" : "targeted, police, adult from sri lanka",
"entity2_index" : "targeted, police, adult from sri lanka/victimtype",
"time_start" : "09/07/2005",
"geotag" : {
"latitude" : "7.7166667",
"longitude" : "81.7"
},
"geo_index" : "batticaloa,north eastern province,sri lanka/location",
"event_type" : "Event"
},
{
"entity1" : "secular/political/anarchist from sri lanka",
"entity1_index" : "secular/political/anarchist from sri lanka/personperpetrator",
"verb" : "attacked",
"verb_category" : "assault/attack",
"entity2" : "targeted, military, adult, combatant from sri lanka",
"entity2_index" : "targeted, military, adult, combatant from sri lanka/victimtype",
"time_start" : "09/07/2005",
"geotag" : {
"latitude" : "7.7166667",
"longitude" : "81.7"
},
"geo_index" : "batticaloa,north eastern province,sri lanka/location",
"event_type" : "Event"
}
],
...
}
|