Skip to content

EventMention Output Missing Multiple Arguments in ReachXml2Trig.java #1

@IanGross

Description

@IanGross

The issue is related to the output of EventMentions. Currently, ReachXml2Trig.java only supports the output of a single argument for each EventMention. I have modified readXml to extract multiple arguments from the xml input and modified EventMention.java accordingly. However, we now need to include multiple arguments in our trig output and I am unsure as to how we want to model that.

An example of a Reach Event is shown below:

"frame-id":"evem-PMC29063-UAZ-r1-10-6-32",
"arguments":[
        {
          "text":"interaction between SRF and p35-C/EBPbeta, but not between SRF and p20-C",
          "argument-type":"event",
          "object-type":"argument",
          "index":0,
          "argument-label":"controlled",
          "arg":"evem-PMC29063-UAZ-r1-10-6-7"
        },
        {
          "text":"Ras",
          "argument-type":"entity",
          "object-type":"argument",
          "index":0,
          "argument-label":"controller",
          "arg":"ment-PMC29063-UAZ-r1-10-6-93"
        }

The current representation in the Trig format output is shown below:

kgcs-kb:provenance-evem-PMC29063-UAZ-r1-10-6-32 {
	kgcs-kb:assertion-evem-PMC29063-UAZ-r1-10-6-32
		prov:generatedAtTime	"2018-01-04T10:06:38Z"^^xsd:dateTime .

	kgcs-kb:evem-PMC29063-UAZ-r1-10-6-32
		kgcs:hasFrameType	kgcs:Frame-EVENT_MENTION ;
		kgcs:hasObjectType	kgcs:relative-pos ;
		kgcs:foundBy	"Positive_regulation_syntax_2_verb" ;
		kgcs:hasTrigger	"stimulated" ;
		kgcs:hasArgument	kgcs-kb:evem-PMC29063-UAZ-r1-10-6-7 ;
		kgcs:hasArgumentObjectType	kgcs:argument ;
		kgcs:hasArgumentIndex	0 ;
		kgcs:hasArgumentArgumentType	kgcs:Argument-EVENT ;
		kgcs:hasArgumentType	"null" ;
		kgcs:hasArgumentLabel	"interaction between SRF and p35-C/EBPbeta, but not between SRF and p20-C" ;
		kgcs:fromSentence	kgcs-kb:sent-PMC29063-UAZ-r1-10-6 .
}

As shown above, only the first argument is included in the provenance information: kgcs-kb:evem-PMC29063-UAZ-r1-10-6-7.

Text File Representations are provided for context:
event_mentions-0.example_text.txt
PMC29063.uaz.events.example_text.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions