<View>
<!--  <header name="articletitle" value="Wikipedia article: $title"/> -->
  <HyperText clickableLinks="true" name="articlelink" inline="true" target="_blank" value="">
     <h2><a target="_blank" href="$url">Wikipedia article: $title</a></h2>
  </HyperText>

  <View style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;                border-radius: 5px;">
  <Header value="Inconsistence or contradictory tag"/>
  <Text name="wikitag" value="$paragraph_A"/>
  </View>

  <View style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;                border-radius: 5px;">
  <Header value="* Step1: Is this tag valid?"/>
  <Choices name="wikitag_label_valid" toName="wikitag" choice="single" showInLine="true">
      <Choice value="Valid"/>
      <Choice value="Invalid"/>
  </Choices>
 <Header value="Additional comment" />
    <TextArea name="valid_comment" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

</View>

<View visibleWhen="choice-selected" whenTagName="wikitag_label_valid" whenChoiceValue="Valid" style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;  border-radius: 5px; ">
<Header value="* Step 2: Copy the inconsistent sentences, paragraphs, or information (e.g., table or infobox rows) from the wikipedia article(s) into the following boxes. Modify these copy-paste messages to ensure they form a coherent and valid stand-alone text passage, if necessary."/>
<Header value="* Article A title" />
<TextArea name="paragraphA_article" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />

<Header value="* Article A relevant information (Passage 1)" />
    <TextArea name="paragraphA_information" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />
<Header value="[Modify] Article A relevant information_stand-alone (Passage 1)" />
    <TextArea name="paragraphA_information_standalone" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />


<Header value="* Article B title" />

  <TextArea name="paragraphB_article" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />

<Header value="* Article B relevant information (Passage 2)" />
    <TextArea name="paragraphB_information" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />
<Header value="[Modify] Article B relevant information_stand-alone (Passage 2)" />
    <TextArea name="paragraphB_information_standalone" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

   <Header value="* Are Passage 1 and Passage 2 the same?"/>
  <Choices name="wikitag_label_samepassage" toName="wikitag" choice="single" showInLine="true">
      <Choice value="Same"/>
      <Choice value="Different" selected="true"/>
  </Choices>
</View>

<View visibleWhen="choice-selected" whenTagName="wikitag_label_valid" whenChoiceValue="Valid" style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;  border-radius: 5px; ">
<Header value="* Step 3: Contradiction reason" />
<Header size = "8">* Passage 1 (states that/contains):  </Header> <TextArea name="relevantInfo_comment_A" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />
<Header size = "8">* However, passage 2 (states that/contains):  </Header>    <TextArea name="relevantInfo_comment_B" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" />
<Header size = "8">If possible, copy the contradicted span from passage 1:  </Header> <TextArea name="relevantInfo_comment_A_Span" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

<Header size = "8">If possible, copy the contradicted span from passage 2:  </Header>    <TextArea name="relevantInfo_comment_B_Span" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

</View>

<style>
  .center-text {
    text-align: center;
  }
</style>


<View visibleWhen="choice-selected" whenTagName="wikitag_label_valid" whenChoiceValue="Valid" style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;  border-radius: 5px; ">
<Header value="* Step 4: Choose all options that can describe the above contradictory information"/>
  <Taxonomy name="taxonomy" toName="wikitag" required="true">
    <Choice value="Contradict type I">
      <Choice value="(PhraseLevel) Entity - Date/time" />
      <Choice value="(PhraseLevel) Entity - Location/GPE (Non-GPE locations, mountain ranges, bodies of water, and Countries, cities, states)" />
      <Choice value="(PhraseLevel) Entity - Number" />
      <Choice value="(PhraseLevel) Entity - Organization (Companies, agencies, institutions, etc.)" />
      <Choice value="(PhraseLevel) Entity - Person" />
      <Choice value="(PhraseLevel) Entity - NORP (Nationalities or religious or political groups)" />
      <Choice value="(PhraseLevel) Entity - FAC (Buildings, airports, highways, bridges, etc.)" />
      <Choice value="(PhraseLevel) Entity - Work-of-Art (Titles of books, songs, etc.)" />
      <Choice value="(PhraseLevel) Entity - Product (Titles of books, songs, etc.)" />
      <Choice value="(PhraseLevel) Entity - Law (Named documents made into laws)" />
      <Choice value="(PhraseLevel) Entity - Language (Any named language)" />
      <Choice value="(PhraseLevel) Entity - Event (Named hurricanes, battles, wars, sports events, etc.)" />
      <Choice value="(PhraseLevel) Entity - Other" />
      <Choice value="(PhraseLevel) NP-related (non-entity)" />
      <Choice value="(PhraseLevel) Event/Relation (e.g., verb)" />
      <Choice value="(DiscourseLevel) NP-related " />
      <Choice value="(DiscourseLevel) Event/Relation-related " />
    </Choice>
    <Choice value="Contradict type II">
      <Choice value="Text - Text" />
      <Choice value="Text - Infobox/table" />
      <Choice value="Infobox/table - Infobox/table" />
      <Choice value="Other" />
    </Choice>
    <Choice value="Contradict type III">
      <Choice value="Within the same article" />
      <Choice value="Across different articles" />
    </Choice>
    <Choice value="Contradict type IV">
      <Choice value="Explicit" />
      <Choice value="Implicit (reasoning required)" />
    </Choice>
  </Taxonomy>
<Header value="Additional comment" />
    <TextArea name="contradict_comment" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

</View>

<View visibleWhen="choice-selected" whenTagName="wikitag_label_valid" whenChoiceValue="Valid" style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;  border-radius: 5px; ">
<Header value="Step 5: Write at least one question that highlights the contradictions between Passage 1 and Passage 2, eliciting different responses based on each passage."/>
<Header value="* Question 1" />
    <TextArea name="question1" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true"  />
<Header value="* Answers for Question 1 (add the answers based on Passage 1 and Passage 2 seperately)" />
    <TextArea name="question1_answer1" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" value = "add the answer based on Passage 1" />
    <TextArea name="question1_answer2" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="true" value = "add the answer based on Passage 2"/>

<Header value="Question 2" />
    <TextArea name="question2" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />
<Header value="Answers for Question 2" />
    <TextArea name="question2_answer1" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" value = "add the answer based on Passage 1" />
    <TextArea name="question2_answer2" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" value = "add the answer based on Passage 2"/>


<Header value="Additional comment" />
    <TextArea name="qa_comment" toName="wikitag"
            showSubmitButton="true" maxSubmissions="1" editable="true"
            required="false" />

  </View>

<View visibleWhen="choice-selected" whenTagName="wikitag_label_valid" whenChoiceValue="Valid" style="box-shadow: 2px 2px 5px #999;                padding: 20px; margin-top: 2em;  border-radius: 5px; ">
<Header value="* Step 6: How confident do you feel about this annotation"  />
<Rating name="confidence" toName="wikitag" defaultValue="5" required = "true"/>



 </View>
</View>
