Skip to content

Commit

Permalink
Update sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
weitechen committed Feb 6, 2014
1 parent 4db4309 commit c131bc4
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 52 deletions.
76 changes: 41 additions & 35 deletions sample data/sampleanaforaprojectfile/.schema/demomedicalschema.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<schema>
<entities type="MedicalEntities" color="a60000">
<entity type="Disease/Disorder" color="103ffb" hotkey="d">
<properties>
<property type="UMLS CUI" input="text"></property>
<property type="Polarity" input="choice">Positive, Negative</property>
<property type="Type" input="multichoice">Chronic,Acute,Drug-Resistant</property>
<property type="Location" input="list" maxlink="1" instanceOf="Anatomy"/>
</properties>
</entity>
<entity type="Medication" color="459d1b" hotkey="m">
<properties/>
</entity>
<entity type="Anatomy" color="FF2A1A" hotkey="a">
<properties/>
</entity>
</entities>
<relations type="MedicalRelations" color="006363" >
<relation type="Treats" color="522290" hotkey="t">
<properties>
<property type="Treated" input="link" maxlink="1" instanceOf="Disease/Disorder"/>
<property type="Treatment" input="link" maxlink="1" instanceOf="Medication"/>
<property type="Outcome" input="choice">Unsure, Success, Failure</property>
</properties>
</relation>

<relation type="Causes" color="D97999" hotkey="t">
<properties>
<property type="Causer" input="link" maxlink="1" instanceOf="Disease/Disorder, Medication"/>
<property type="ThingCaused" input="link" maxlink="1" instanceOf="Disease/Disorder"/>
</properties>
</relation>
</relations>
</schema>
<?xml version="1.0" encoding="UTF-8"?>
<schema>
<definition>
<entities type="Entities" color="a60000">
<entity type="Disease/Disorder" color="FFA3A3" hotkey="d">
<properties>
<property type="UMLS CUI" input="text"></property>
<property type="Polarity" input="choice">Positive, Negative</property>
<property type="Type" input="multichoice">,Chronic,Acute,Drug-Resistant,Inoperable</property>
<property type="Location" input="list" maxlink="1" instanceOf="Anatomy"/>
</properties>
</entity>

<entity type="Medication/Intervention" color="65CF69" hotkey="m">
<properties>
<property type="Generic Name" input="text"></property>
</properties>
</entity>

<entity type="Anatomy" color="FFA321" hotkey="a">
<properties>
</properties>
</entity>

<entity type="Temporal Expression" color="FFFF85" hotkey="x">
<properties>
</properties>
</entity>
</entities>

<relations type="MedicalRelations" color="006363" >
<relation type="Treats" color="33cccc" hotkey="t">
<properties>
<property type="Treated" input="list" maxlink="1" instanceOf="Disease/Disorder"/>
<property type="Treatment" input="list" maxlink="1" instanceOf="Medication/Intervention"/>
<property type="Outcome" input="choice">Unsure, Success, Failure</property>
</properties>
</relation>
</relations>
</definition>
</schema>
2 changes: 1 addition & 1 deletion sample data/sampleanaforaprojectfile/.setting.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<setting>
<projects>
<project name="SampleProject" numOfAnnotator="2">
<admin>anaforaadmin</admin>
<admin>anaforaec2admin</admin>
<annotator>annotatorGroup</annotator>
<schema>Medicine</schema>
</project>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<entity>
<id>5@e@doc22@stylerw</id>
<span>170,182</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -113,7 +113,7 @@
<entity>
<id>10@e@doc22@stylerw</id>
<span>317,326</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -132,7 +132,7 @@
<entity>
<id>14@e@doc22@stylerw</id>
<span>368,381</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -164,7 +164,7 @@
<entity>
<id>17@e@doc22@stylerw</id>
<span>492,500</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -186,7 +186,7 @@
<entity>
<id>19@e@doc22@stylerw</id>
<span>527,535</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -369,7 +369,7 @@
<entity>
<id>36@e@doc22@stylerw</id>
<span>1023,1033</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -418,7 +418,7 @@
<entity>
<id>42@e@doc22@stylerw</id>
<span>1111,1123</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -427,7 +427,7 @@
<entity>
<id>43@e@doc22@stylerw</id>
<span>2,13</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<entity>
<id>5@e@doc22@weitechen</id>
<span>170,182</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -79,7 +79,7 @@
<entity>
<id>10@e@doc22@weitechen</id>
<span>317,326</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -98,7 +98,7 @@
<entity>
<id>14@e@doc22@weitechen</id>
<span>368,381</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -130,7 +130,7 @@
<entity>
<id>17@e@doc22@weitechen</id>
<span>492,500</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -152,7 +152,7 @@
<entity>
<id>19@e@doc22@weitechen</id>
<span>527,535</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -345,7 +345,7 @@
<entity>
<id>36@e@doc22@weitechen</id>
<span>1023,1033</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down Expand Up @@ -394,7 +394,7 @@
<entity>
<id>42@e@doc22@weitechen</id>
<span>1111,1123</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand All @@ -403,7 +403,7 @@
<entity>
<id>43@e@doc22@weitechen</id>
<span>2,13</span>
<type>Temporal Expression</type>
<type>TemporalExpression</type>
<parentsType>Entities</parentsType>
<properties>
</properties>
Expand Down

0 comments on commit c131bc4

Please sign in to comment.