text:
<?xml version="1.0"?>
<Document>

	<sentence>

		<value>	Mary Ellen Weber, (born in 1962) is an American executive, scientist, aviator, speaker, and a former NASA astronaut.	</value>

		<annotated-sentence>	[[Mary|Mary_Ellen_Weber]] Ellen [[Weber|Mary_Ellen_Weber]], (born in [[1962|1962]]) is an [[American|United_States]] executive, [[scientist|Scientist]], [[aviator|The_Aviator_(1985_film)]], speaker, and a former [[NASA|NASA]] [[astronaut|Astronaut]].	</annotated-sentence>

		<pattern_crowdsource>	[[Mary|Mary_Ellen_Weber]] Ellen [[Weber|Mary_Ellen_Weber]], (born in 1962) is an [[American|United_States]] executive, scientist, aviator, speaker, and a former [[NASA|NASA]] [[astronaut|Astronaut]].	</pattern_crowdsource>

		<tree>
				nn(Weber/NNP-3,Mary/NNP-1)
				nn(Weber/NNP-3,Ellen/NNP-2)
				nsubj(executive/NN-13,Weber/NNP-3)
				dep(Weber/NNP-3,born/VBN-6)
				prep_in(born/VBN-6,1962/CD-8)
				cop(executive/NN-13,is/VBZ-10)
				det(executive/NN-13,an/DT-11)
				amod(executive/NN-13,American/JJ-12)
				conj_and(executive/NN-13,scientist/NN-15)
				conj_and(executive/NN-13,aviator/NN-17)
				conj_and(executive/NN-13,speaker/NN-19)
				det(astronaut/NN-25,a/DT-22)
				amod(astronaut/NN-25,former/JJ-23)
				nn(astronaut/NN-25,NASA/NNP-24)
				conj_and(executive/NN-13,astronaut/NN-25)

		</tree>

		<annotations>

			<annotation>
				<surface-form>Mary</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Mary_Ellen_Weber</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Weber</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Mary_Ellen_Weber</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>1962</surface-form>
				<RDF-ID>http://dbpedia.org/resource/1962</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>American</surface-form>
				<RDF-ID>http://dbpedia.org/resource/United_States</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>scientist</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Scientist</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>aviator</surface-form>
				<RDF-ID>http://dbpedia.org/resource/The_Aviator_(1985_film)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>NASA</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>astronaut</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Astronaut</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/nationality http://dbpedia.org/resource/United_States
			</triple>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/type http://dbpedia.org/resource/NASA
			</triple>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/ontology/Astronaut
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber was born in Cleveland, Ohio and raised in Bedford Heights, Ohio.	</value>

		<annotated-sentence>	Weber was born in [[Cleveland , Ohio|Akron,_Ohio]]and raised in [[Bedford Heights|Bedford_Heights,_Ohio]], [[Ohio|Ohio]].	</annotated-sentence>

		<pattern_crowdsource>	Weber was born in Cleveland, [[Ohio|Ohio]] and raised in [[Bedford Heights|Bedford_Heights,_Ohio]], [[Ohio|Ohio]].	</pattern_crowdsource>

		<tree>
				nsubjpass(born/VBN-3,Weber/NNP-1)
				nsubjpass(raised/VBN-9,Weber/NNP-1)
				auxpass(born/VBN-3,was/VBD-2)
				nn(Ohio/NNP-7,Cleveland/NNP-5)
				prep_in(born/VBN-3,Ohio/NNP-7)
				conj_and(born/VBN-3,raised/VBN-9)
				nn(Heights/NNP-12,Bedford/NNP-11)
				prep_in(raised/VBN-9,Heights/NNP-12)
				appos(Heights/NNP-12,Ohio/NNP-14)

		</tree>

		<annotations>

			<annotation>
				<surface-form>Cleveland , Ohio</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Akron,_Ohio</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Bedford Heights</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Bedford_Heights,_Ohio</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Ohio</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Ohio</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Akron,_Ohio http://dbpedia.org/ontology/isPartOf http://dbpedia.org/resource/Ohio
			</triple>

			<triple>
				http://dbpedia.org/resource/Bedford_Heights,_Ohio http://dbpedia.org/ontology/isPartOf http://dbpedia.org/resource/Ohio
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She graduated from Bedford High School in 1980; received a B.S. in 1984 in chemical engineering (with honors) from Purdue University, where she was a member of Phi Mu sorority; received a Ph.D. in physical chemistry from the University of California, Berkeley in 1988; and received an M.B.A. from Southern Methodist University in 2002.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				nsubj(graduated/VBD-2,She/PRP-1)
				nsubj(received/VBD-10,She/PRP-1)
				nsubj(received/VBD-36,She/PRP-1)
				nsubj(received/VBD-53,She/PRP-1)
				nn(School/NNP-6,Bedford/NNP-4)
				nn(School/NNP-6,High/NNP-5)
				prep_from(graduated/VBD-2,School/NNP-6)
				prep_in(School/NNP-6,1980/CD-8)
				conj_and(graduated/VBD-2,received/VBD-10)
				det(B.S./NNP-12,a/DT-11)
				dobj(received/VBD-10,B.S./NNP-12)
				prep_in(received/VBD-10,1984/CD-14)
				nn(engineering/NN-17,chemical/NN-16)
				prep_in(1984/CD-14,engineering/NN-17)
				prep_with(engineering/NN-17,honors/NNS-20)
				nn(University/NNP-24,Purdue/NNP-23)
				prep_from(received/VBD-10,University/NNP-24)
				advmod(member/NN-30,where/WRB-26)
				nsubj(member/NN-30,she/PRP-27)
				cop(member/NN-30,was/VBD-28)
				det(member/NN-30,a/DT-29)
				rcmod(University/NNP-24,member/NN-30)
				nn(sorority/NN-34,Phi/NNP-32)
				nn(sorority/NN-34,Mu/NNP-33)
				prep_of(member/NN-30,sorority/NN-34)
				conj_and(graduated/VBD-2,received/VBD-36)
				det(Ph.D./NNP-38,a/DT-37)
				dobj(received/VBD-36,Ph.D./NNP-38)
				amod(chemistry/NN-41,physical/JJ-40)
				prep_in(received/VBD-36,chemistry/NN-41)
				det(University/NNP-44,the/DT-43)
				prep_from(received/VBD-36,University/NNP-44)
				nn(Berkeley/NNP-48,California/NNP-46)
				prep_of(University/NNP-44,Berkeley/NNP-48)
				prep_in(Berkeley/NNP-48,1988/CD-50)
				conj_and(graduated/VBD-2,received/VBD-53)
				det(M.B.A./NNP-55,an/DT-54)
				dobj(received/VBD-53,M.B.A./NNP-55)
				nn(University/NNP-59,Southern/NNP-57)
				nn(University/NNP-59,Methodist/NNP-58)
				prep_from(received/VBD-53,University/NNP-59)
				prep_in(University/NNP-59,2002/CD-61)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	As an undergrad, Weber was an chemical engineering intern at Ohio Edison, Delco Electronics, and 3M.	</value>

		<annotated-sentence>	As [[an undergrad|Undergraduate_education]], Weber was an [[chemical engineering|Chemical_engineering]] [[intern|Intern]] at [[Ohio Edison|FirstEnergy]], [[Delco Electronics|Delco_Electronics]], and 3M.	</annotated-sentence>

		<pattern_crowdsource>	As an undergrad, Weber was an chemical engineering intern at Ohio Edison, Delco Electronics, and 3M.	</pattern_crowdsource>

		<tree>
				det(undergrad/NN-3,an/DT-2)
				prep_as(intern/NN-10,undergrad/NN-3)
				nsubj(intern/NN-10,Weber/NNP-5)
				cop(intern/NN-10,was/VBD-6)
				det(intern/NN-10,an/DT-7)
				nn(intern/NN-10,chemical/NN-8)
				nn(intern/NN-10,engineering/NN-9)
				nn(Edison/NNP-13,Ohio/NNP-12)
				prep_at(intern/NN-10,Edison/NNP-13)
				nn(Electronics/NNP-16,Delco/NNP-15)
				prep_at(intern/NN-10,Electronics/NNP-16)
				conj_and(Edison/NNP-13,Electronics/NNP-16)
				prep_at(intern/NN-10,3M/NNP-19)
				conj_and(Edison/NNP-13,3M/NNP-19)

		</tree>

		<annotations>

			<annotation>
				<surface-form>an undergrad</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Undergraduate_education</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>chemical engineering</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Chemical_engineering</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>intern</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Intern</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Ohio Edison</surface-form>
				<RDF-ID>http://dbpedia.org/resource/FirstEnergy</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Delco Electronics</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Delco_Electronics</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	In her doctoral research at Berkeley, she explored the physics of chemical reactions involving silicon.	</value>

		<annotated-sentence>	In her doctoral [[research|Research]] at Berkeley, she explored [[the physics|Physics]] of chemical reactions involving [[silicon|List_of_X-Men_members]].	</annotated-sentence>

		<pattern_crowdsource>	In her doctoral research at Berkeley, she explored the physics of chemical reactions involving silicon.	</pattern_crowdsource>

		<tree>
				poss(research/NN-4,her/PRP$-2)
				amod(research/NN-4,doctoral/JJ-3)
				prep_in(explored/VBD-9,research/NN-4)
				prep_at(research/NN-4,Berkeley/NNP-6)
				nsubj(explored/VBD-9,she/PRP-8)
				det(physics/NN-11,the/DT-10)
				dobj(explored/VBD-9,physics/NN-11)
				amod(reactions/NNS-14,chemical/JJ-13)
				prep_of(physics/NN-11,reactions/NNS-14)
				partmod(reactions/NNS-14,involving/VBG-15)
				dobj(involving/VBG-15,silicon/NN-16)

		</tree>

		<annotations>

			<annotation>
				<surface-form>research</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Research</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>the physics</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Physics</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>silicon</surface-form>
				<RDF-ID>http://dbpedia.org/resource/List_of_X-Men_members</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	At Texas Instruments she research new processes and revolutionary equipment for making computer chips, with SEMATECH and Applied Materials.	</value>

		<annotated-sentence>	At [[Texas Instruments|Texas_Instruments]] she research new processes and revolutionary [[equipment|Sports_equipment]] for making [[computer chips|Integrated_circuit]], with [[SEMATECH and Applied|SEMATECH]] [[Materials|Semiconductor]].	</annotated-sentence>

		<pattern_crowdsource>	At [[Texas Instruments|Texas_Instruments]] she research new processes and revolutionary equipment for making [[computer chips|Integrated_circuit]], with [[SEMATECH and Applied|SEMATECH]] [[Materials|Semiconductor]].	</pattern_crowdsource>

		<tree>
				nn(Instruments/NNP-3,Texas/NNP-2)
				pobj(At/IN-1,Instruments/NNP-3)
				nsubj(research/VB-5,she/PRP-4)
				rcmod(Instruments/NNP-3,research/VB-5)
				amod(processes/NNS-7,new/JJ-6)
				dobj(research/VB-5,processes/NNS-7)
				amod(equipment/NN-10,revolutionary/JJ-9)
				dobj(research/VB-5,equipment/NN-10)
				conj_and(processes/NNS-7,equipment/NN-10)
				prepc_for(research/VB-5,making/VBG-12)
				nn(chips/NNS-14,computer/NN-13)
				dobj(making/VBG-12,chips/NNS-14)
				nn(Materials/NNPS-20,SEMATECH/NNP-17)
				conj_and(SEMATECH/NNP-17,Applied/NNP-19)
				nn(Materials/NNPS-20,Applied/NNP-19)
				prep_with(At/IN-1,Materials/NNPS-20)

		</tree>

		<annotations>

			<annotation>
				<surface-form>Texas Instruments</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Texas_Instruments</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>equipment</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Sports_equipment</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>computer chips</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Integrated_circuit</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>SEMATECH and Applied</surface-form>
				<RDF-ID>http://dbpedia.org/resource/SEMATECH</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Materials</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Semiconductor</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Texas_Instruments http://dbpedia.org/ontology/product http://dbpedia.org/resource/Integrated_circuit
			</triple>

			<triple>
				http://dbpedia.org/resource/Texas_Instruments http://dbpedia.org/ontology/industry http://dbpedia.org/resource/Semiconductor
			</triple>

			<triple>
				http://dbpedia.org/resource/SEMATECH http://dbpedia.org/ontology/industry http://dbpedia.org/resource/Semiconductor
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She holds one patent and published nine papers in scientific journals.	</value>

		<annotated-sentence>	She holds [[one patent|Patent]] and published [[nine papers|Scientific_journal]] in [[scientific journals|Scientific_journal]].	</annotated-sentence>

		<pattern_crowdsource>	She holds one patent and published nine papers in scientific journals.	</pattern_crowdsource>

		<tree>
				nsubj(holds/VBZ-2,She/PRP-1)
				nsubj(published/VBN-6,She/PRP-1)
				num(patent/NN-4,one/CD-3)
				dobj(holds/VBZ-2,patent/NN-4)
				conj_and(holds/VBZ-2,published/VBN-6)
				num(papers/NNS-8,nine/CD-7)
				dobj(published/VBN-6,papers/NNS-8)
				amod(journals/NNS-11,scientific/JJ-10)
				prep_in(papers/NNS-8,journals/NNS-11)

		</tree>

		<annotations>

			<annotation>
				<surface-form>one patent</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Patent</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>nine papers</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Scientific_journal</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>scientific journals</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Scientific_journal</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber was selected by NASA in the fourteenth group of astronauts in 1992.	</value>

		<annotated-sentence>	Weber was selected by [[NASA|NASA]] in the fourteenth group of [[astronauts|Astronaut]] in [[1992|1992]].	</annotated-sentence>

		<pattern_crowdsource>	Weber was selected by [[NASA|NASA]] in the fourteenth group of [[astronauts|Astronaut]] in 1992.	</pattern_crowdsource>

		<tree>
				nsubjpass(selected/VBN-3,Weber/NNP-1)
				auxpass(selected/VBN-3,was/VBD-2)
				agent(selected/VBN-3,NASA/NNP-5)
				det(group/NN-9,the/DT-7)
				amod(group/NN-9,fourteenth/JJ-8)
				prep_in(selected/VBN-3,group/NN-9)
				prep_of(group/NN-9,astronauts/NNS-11)
				prep_in(astronauts/NNS-11,1992/CD-13)

		</tree>

		<annotations>

			<annotation>
				<surface-form>NASA</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>astronauts</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Astronaut</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>1992</surface-form>
				<RDF-ID>http://dbpedia.org/resource/1992</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/type http://dbpedia.org/resource/NASA
			</triple>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://dbpedia.org/ontology/Astronaut
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	During her ten-year career with NASA, she held several positions.	</value>

		<annotated-sentence>	During her ten-year [[career|Career]] with [[NASA|NASA]], she held several positions.	</annotated-sentence>

		<pattern_crowdsource>	During her ten-year career with [[NASA|NASA]], she held several positions.	</pattern_crowdsource>

		<tree>
				poss(career/NN-4,her/PRP$-2)
				amod(career/NN-4,ten-year/JJ-3)
				prep_during(held/VBD-9,career/NN-4)
				prep_with(career/NN-4,NASA/NNP-6)
				nsubj(held/VBD-9,she/PRP-8)
				amod(positions/NNS-11,several/JJ-10)
				dobj(held/VBD-9,positions/NNS-11)

		</tree>

		<annotations>

			<annotation>
				<surface-form>career</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Career</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>NASA</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/type http://dbpedia.org/resource/NASA
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She worked extensively in technology commercialization, and as part of a team reporting to NASA's chief executive, she worked directly with a venture capital firm to successfully identify and develop a business venture leveraging a space technology.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				nsubj(worked/VBD-2,She/PRP-1)
				advmod(worked/VBD-2,extensively/RB-3)
				nn(commercialization/NN-6,technology/NN-5)
				prep_in(worked/VBD-2,commercialization/NN-6)
				nsubj(reporting/VBG-14,part/NN-10)
				det(team/NN-13,a/DT-12)
				prep_of(part/NN-10,team/NN-13)
				prepc_as(worked/VBD-22,reporting/VBG-14)
				poss(executive/NN-19,NASA/NNP-16)
				amod(executive/NN-19,chief/JJ-18)
				prep_to(reporting/VBG-14,executive/NN-19)
				nsubj(worked/VBD-22,she/PRP-21)
				conj_and(worked/VBD-2,worked/VBD-22)
				advmod(worked/VBD-22,directly/RB-23)
				det(firm/NN-28,a/DT-25)
				nn(firm/NN-28,venture/NN-26)
				nn(firm/NN-28,capital/NN-27)
				prep_with(worked/VBD-22,firm/NN-28)
				aux(identify/VB-31,to/TO-29)
				advmod(identify/VB-31,successfully/RB-30)
				xcomp(worked/VBD-22,identify/VB-31)
				xcomp(worked/VBD-22,develop/VB-33)
				conj_and(identify/VB-31,develop/VB-33)
				det(venture/NN-36,a/DT-34)
				nn(venture/NN-36,business/NN-35)
				dobj(identify/VB-31,venture/NN-36)
				xcomp(identify/VB-31,leveraging/VBG-37)
				det(technology/NN-40,a/DT-38)
				nn(technology/NN-40,space/NN-39)
				dobj(leveraging/VBG-37,technology/NN-40)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	In addition, Weber was the Legislative Affairs liaison at NASA Headquarters in Washington D.C., interfacing with Congress and traveling with NASA's chief executive.	</value>

		<annotated-sentence>	In [[addition|Addition]], Weber was the [[Legislative Affairs|Legislative_Affairs]] [[liaison|Affair]] at [[NASA Headquarters|NASA_Headquarters]] in [[Washington D.C.|Washington,_D.C.]], interfacing with [[Congress|United_States_House_of_Representatives]] and traveling with [[NASA|NASA]]'s chief executive.	</annotated-sentence>

		<pattern_crowdsource>	In addition, Weber was the Legislative Affairs liaison at [[NASA|NASA]] Headquarters in [[Washington D.C.|Washington,_D.C.]], interfacing with [[Congress|United_States_House_of_Representatives]] and traveling with [[NASA|NASA]]'s chief executive.	</pattern_crowdsource>

		<tree>
				prep_in(liaison/NN-9,addition/NN-2)
				nsubj(liaison/NN-9,Weber/NNP-4)
				cop(liaison/NN-9,was/VBD-5)
				det(liaison/NN-9,the/DT-6)
				amod(liaison/NN-9,Legislative/JJ-7)
				nn(liaison/NN-9,Affairs/NNP-8)
				nn(Headquarters/NN-12,NASA/NNP-11)
				prep_at(liaison/NN-9,Headquarters/NN-12)
				nn(D.C./NNP-15,Washington/NNP-14)
				prep_in(liaison/NN-9,D.C./NNP-15)
				dep(liaison/NN-9,interfacing/VBG-17)
				prep_with(interfacing/VBG-17,Congress/NNP-19)
				dep(liaison/NN-9,traveling/VBG-21)
				conj_and(interfacing/VBG-17,traveling/VBG-21)
				poss(executive/NN-26,NASA/NNP-23)
				amod(executive/NN-26,chief/JJ-25)
				prep_with(traveling/VBG-21,executive/NN-26)

		</tree>

		<annotations>

			<annotation>
				<surface-form>addition</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Addition</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Legislative Affairs</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Legislative_Affairs</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>liaison</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Affair</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>NASA Headquarters</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA_Headquarters</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Washington D.C.</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Washington,_D.C.</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Congress</surface-form>
				<RDF-ID>http://dbpedia.org/resource/United_States_House_of_Representatives</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>NASA</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Washington,_D.C. http://dbpedia.org/property/leaderTitle http://dbpedia.org/resource/United_States_House_of_Representatives
			</triple>

			<triple>
				http://dbpedia.org/resource/United_States_House_of_Representatives http://dbpedia.org/ontology/location http://dbpedia.org/resource/Washington,_D.C.
			</triple>

			<triple>
				http://dbpedia.org/resource/NASA http://dbpedia.org/property/headquarters http://dbpedia.org/resource/Washington,_D.C.
			</triple>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/type http://dbpedia.org/resource/NASA
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Prior to this appointment, she was Chairman of the procurement board for the Biotechnology Program contractor, and she also served on a team that revamped the $2 billion plan for Space Station research facilities.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				det(appointment/NN-4,this/DT-3)
				prep_prior_to(Chairman/NNP-8,appointment/NN-4)
				nsubj(Chairman/NNP-8,she/PRP-6)
				cop(Chairman/NNP-8,was/VBD-7)
				det(board/NN-12,the/DT-10)
				nn(board/NN-12,procurement/NN-11)
				prep_of(Chairman/NNP-8,board/NN-12)
				det(contractor/NN-17,the/DT-14)
				nn(contractor/NN-17,Biotechnology/NNP-15)
				nn(contractor/NN-17,Program/NNP-16)
				prep_for(board/NN-12,contractor/NN-17)
				nsubj(served/VBD-22,she/PRP-20)
				advmod(served/VBD-22,also/RB-21)
				conj_and(Chairman/NNP-8,served/VBD-22)
				det(team/NN-25,a/DT-24)
				prep_on(served/VBD-22,team/NN-25)
				nsubj(revamped/VBD-27,that/WDT-26)
				rcmod(team/NN-25,revamped/VBD-27)
				det(plan/NN-32,the/DT-28)
				amod(plan/NN-32,$/$-29)
				number(billion/CD-31,2/CD-30)
				num($/$-29,billion/CD-31)
				nsubj(facilities/NNS-37,plan/NN-32)
				prep_for(plan/NN-32,Space/NN-34)
				nn(facilities/NNS-37,Station/NNP-35)
				nn(facilities/NNS-37,research/NN-36)
				xcomp(revamped/VBD-27,facilities/NNS-37)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber's principal technical assignments within the Astronaut Office included Shuttle launch preparations at the Kennedy Space Center, payload and science development, and development of standards and methods for crew science training.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				poss(assignments/NNS-5,Weber/NNP-1)
				amod(assignments/NNS-5,principal/JJ-3)
				amod(assignments/NNS-5,technical/JJ-4)
				nsubj(included/VBD-10,assignments/NNS-5)
				det(Office/NNP-9,the/DT-7)
				nn(Office/NNP-9,Astronaut/NNP-8)
				prep_within(assignments/NNS-5,Office/NNP-9)
				nn(preparations/NNS-13,Shuttle/NNP-11)
				nn(preparations/NNS-13,launch/NN-12)
				dobj(included/VBD-10,preparations/NNS-13)
				det(Center/NNP-18,the/DT-15)
				nn(Center/NNP-18,Kennedy/NNP-16)
				nn(Center/NNP-18,Space/NNP-17)
				prep_at(included/VBD-10,Center/NNP-18)
				nn(development/NN-23,payload/NN-20)
				conj_and(payload/NN-20,science/NN-22)
				nn(development/NN-23,science/NN-22)
				prep_at(included/VBD-10,development/NN-23)
				conj_and(Center/NNP-18,development/NN-23)
				prep_at(included/VBD-10,development/NN-26)
				conj_and(Center/NNP-18,development/NN-26)
				prep_of(development/NN-26,standards/NNS-28)
				prep_of(development/NN-26,methods/NNS-30)
				conj_and(standards/NNS-28,methods/NNS-30)
				nn(training/NN-34,crew/NN-32)
				nn(training/NN-34,science/NN-33)
				prep_for(included/VBD-10,training/NN-34)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	A veteran of two space flights, STS-70 and STS-101, she was among the youngest to fly in space and she logged over 450 hours.	</value>

		<annotated-sentence>	A [[veteran|Veteran]] of two [[space|Space]] [[flights|Flight]], [[STS-70 and STS-101|STS-70]], she was among the youngest to fly in [[space|Space]] and she logged over 450 [[hours|Hour]].	</annotated-sentence>

		<pattern_crowdsource>	A veteran of two space flights, [[STS-70 and STS-101|STS-70]], she was among the youngest to fly in space and she logged over 450 hours.	</pattern_crowdsource>

		<tree>
				det(veteran/NN-2,A/DT-1)
				num(flights/NNS-6,two/CD-4)
				nn(flights/NNS-6,space/NN-5)
				prep_of(veteran/NN-2,flights/NNS-6)
				appos(veteran/NN-2,STS-70/NN-8)
				appos(veteran/NN-2,STS-101/NN-10)
				conj_and(STS-70/NN-8,STS-101/NN-10)
				nsubj(was/VBD-13,she/PRP-12)
				dep(veteran/NN-2,was/VBD-13)
				det(youngest/JJS-16,the/DT-15)
				prep_among(was/VBD-13,youngest/JJS-16)
				aux(fly/VB-18,to/TO-17)
				xcomp(was/VBD-13,fly/VB-18)
				prep_in(fly/VB-18,space/NN-20)
				nsubj(logged/VBD-23,she/PRP-22)
				dep(veteran/NN-2,logged/VBD-23)
				conj_and(was/VBD-13,logged/VBD-23)
				num(hours/NNS-26,450/CD-25)
				prep_over(logged/VBD-23,hours/NNS-26)

		</tree>

		<annotations>

			<annotation>
				<surface-form>veteran</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Veteran</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>space</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Space</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>flights</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Flight</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>STS-70 and STS-101</surface-form>
				<RDF-ID>http://dbpedia.org/resource/STS-70</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>space</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Space</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>hours</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Hour</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/mission http://dbpedia.org/resource/STS-70
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crew5Up http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crewMembers http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She is the recipient of the NASA Exceptional Service Medal.	</value>

		<annotated-sentence>	She is the recipient of [[the NASA Exceptional Service Medal|NASA_Exceptional_Service_Medal]].	</annotated-sentence>

		<pattern_crowdsource>	She is the recipient of the NASA Exceptional Service Medal.	</pattern_crowdsource>

		<tree>
				nsubj(recipient/JJ-4,She/PRP-1)
				cop(recipient/JJ-4,is/VBZ-2)
				det(recipient/JJ-4,the/DT-3)
				det(Medal/NN-10,the/DT-6)
				nn(Medal/NN-10,NASA/NNP-7)
				nn(Medal/NN-10,Exceptional/NNP-8)
				nn(Medal/NN-10,Service/NNP-9)
				prep_of(recipient/JJ-4,Medal/NN-10)

		</tree>

		<annotations>

			<annotation>
				<surface-form>the NASA Exceptional Service Medal</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA_Exceptional_Service_Medal</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She resigned from NASA in December 2002.	</value>

		<annotated-sentence>	She resigned from [[NASA|NASA]] in [[December 2002|December_2002]].	</annotated-sentence>

		<pattern_crowdsource>	She resigned from [[NASA|NASA]] in December 2002.	</pattern_crowdsource>

		<tree>
				nsubj(resigned/VBD-2,She/PRP-1)
				prep_from(resigned/VBD-2,NASA/NNP-4)
				prep_in(resigned/VBD-2,December/NNP-6)
				num(December/NNP-6,2002/CD-7)

		</tree>

		<annotations>

			<annotation>
				<surface-form>NASA</surface-form>
				<RDF-ID>http://dbpedia.org/resource/NASA</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>December 2002</surface-form>
				<RDF-ID>http://dbpedia.org/resource/December_2002</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/type http://dbpedia.org/resource/NASA
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	STS-70 Discovery (July 13-22, 1995), a mission that successfully delivered to orbit a critical $200 million NASA communications satellite, TDRS-G to its 22-thousand-mile orbit above the equator.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				amod(NASA/NNP-22,STS-70/JJ-1)
				dep(STS-70/JJ-1,Discovery/NNP-2)
				appos(Discovery/NNP-2,July/NNP-4)
				num(July/NNP-4,13-22/CD-5)
				dep(July/NNP-4,1995/CD-7)
				det(mission/NN-11,a/DT-10)
				appos(Discovery/NNP-2,mission/NN-11)
				nsubj(delivered/VBN-14,that/WDT-12)
				advmod(delivered/VBN-14,successfully/RB-13)
				rcmod(mission/NN-11,delivered/VBN-14)
				aux(orbit/VB-16,to/TO-15)
				xcomp(delivered/VBN-14,orbit/VB-16)
				det($/$-19,a/DT-17)
				amod($/$-19,critical/JJ-18)
				dobj(orbit/VB-16,$/$-19)
				number(million/CD-21,200/CD-20)
				num($/$-19,million/CD-21)
				nsubj(communications/NNS-23,NASA/NNP-22)
				dobj(communications/NNS-23,satellite/NN-24)
				appos(satellite/NN-24,TDRS-G/NN-26)
				poss(orbit/NN-30,its/PRP$-28)
				amod(orbit/NN-30,22-thousand-mile/JJ-29)
				prep_to(TDRS-G/NN-26,orbit/NN-30)
				det(equator/NN-33,the/DT-32)
				prep_above(communications/NNS-23,equator/NN-33)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber deployed the satellite and also performed pioneering biotechnology experiments, growing colon cancer tissues never before possible to later become a leading NASA biotechnology spokesperson in this field.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				nsubj(deployed/VBD-2,Weber/NNP-1)
				nsubj(performed/VBN-7,Weber/NNP-1)
				det(satellite/NN-4,the/DT-3)
				dobj(deployed/VBD-2,satellite/NN-4)
				advmod(deployed/VBD-2,also/RB-6)
				conj_and(deployed/VBD-2,performed/VBN-7)
				amod(experiments/NNS-10,pioneering/JJ-8)
				nn(experiments/NNS-10,biotechnology/NN-9)
				dobj(performed/VBN-7,experiments/NNS-10)
				partmod(performed/VBN-7,growing/VBG-12)
				nn(tissues/NNS-15,colon/NN-13)
				nn(tissues/NNS-15,cancer/NN-14)
				dobj(growing/VBG-12,tissues/NNS-15)
				advmod(growing/VBG-12,never/RB-16)
				prep_before(growing/VBG-12,possible/JJ-18)
				aux(spokesperson/NN-26,to/TO-19)
				advmod(spokesperson/NN-26,later/RB-20)
				cop(spokesperson/NN-26,become/VB-21)
				det(spokesperson/NN-26,a/DT-22)
				amod(spokesperson/NN-26,leading/VBG-23)
				nn(spokesperson/NN-26,NASA/NNP-24)
				nn(spokesperson/NN-26,biotechnology/NN-25)
				xcomp(growing/VBG-12,spokesperson/NN-26)
				det(field/NN-29,this/DT-28)
				prep_in(spokesperson/NN-26,field/NN-29)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She was the prime spacewalk crewmember in the event a malfunction required a spacewalk, crew medical officer, and flight deck crew member for landing.	</value>

		<annotated-sentence>	She was the prime [[spacewalk|Spacewalk_(software)]] [[crewmember|Crewman]] in [[the event|Event]] a malfunction required [[a spacewalk|Spacewalk_(software)]], [[crew|Crewman]] [[medical officer|Physician]], and [[flight deck|Flight_deck]] [[crew member|Crewman]] for [[landing|Amphibious_warfare]].	</annotated-sentence>

		<pattern_crowdsource>	She was the prime spacewalk crewmember in the event a malfunction required a spacewalk, crew medical officer, and flight deck crew member for landing.	</pattern_crowdsource>

		<tree>
				nsubj(crewmember/NN-6,She/PRP-1)
				cop(crewmember/NN-6,was/VBD-2)
				det(crewmember/NN-6,the/DT-3)
				amod(crewmember/NN-6,prime/JJ-4)
				nn(crewmember/NN-6,spacewalk/NN-5)
				det(event/NN-9,the/DT-8)
				prep_in(crewmember/NN-6,event/NN-9)
				det(malfunction/NN-11,a/DT-10)
				nsubj(required/VBD-12,malfunction/NN-11)
				rcmod(event/NN-9,required/VBD-12)
				det(spacewalk/NN-14,a/DT-13)
				dobj(required/VBD-12,spacewalk/NN-14)
				nn(officer/NN-18,crew/NN-16)
				amod(officer/NN-18,medical/JJ-17)
				dobj(required/VBD-12,officer/NN-18)
				conj_and(spacewalk/NN-14,officer/NN-18)
				nn(member/NN-24,flight/NN-21)
				nn(member/NN-24,deck/NN-22)
				nn(member/NN-24,crew/NN-23)
				dobj(required/VBD-12,member/NN-24)
				conj_and(spacewalk/NN-14,member/NN-24)
				prep_for(required/VBD-12,landing/NN-26)

		</tree>

		<annotations>

			<annotation>
				<surface-form>spacewalk</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Spacewalk_(software)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>crewmember</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Crewman</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>the event</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Event</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>a spacewalk</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Spacewalk_(software)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>crew</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Crewman</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>medical officer</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Physician</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>flight deck</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Flight_deck</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>crew member</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Crewman</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>landing</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Amphibious_warfare</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	STS-70 was known for its "All-Ohio crew" and for its last-minute launch delay due to woodpeckers, becoming the "Woodpecker flight."	</value>

		<annotated-sentence>	[[STS-70|STS-70]] was known for its "[[All-Ohio|All-Ohio_State_Fair_Youth_Choir]] crew" and for its last-minute launch delay due to [[woodpeckers|Woodpecker]], becoming the "[[Woodpecker|Woodpecker]] [[flight|Flight]]."	</annotated-sentence>

		<pattern_crowdsource>	[[STS-70|STS-70]] was known for its "All-Ohio crew" and for its last-minute launch delay due to woodpeckers, becoming the "Woodpecker flight."	</pattern_crowdsource>

		<tree>
				nsubjpass(known/VBN-3,STS-70/NN-1)
				auxpass(known/VBN-3,was/VBD-2)
				poss(crew/NN-8,its/PRP$-5)
				nn(crew/NN-8,All-Ohio/NNP-7)
				prep_for(known/VBN-3,crew/NN-8)
				poss(delay/NN-15,its/PRP$-12)
				amod(delay/NN-15,last-minute/JJ-13)
				nn(delay/NN-15,launch/NN-14)
				prep_for(known/VBN-3,delay/NN-15)
				conj_and(crew/NN-8,delay/NN-15)
				prep_due_to(delay/NN-15,woodpeckers/NNS-18)
				partmod(delay/NN-15,becoming/VBG-20)
				det(flight/NN-24,the/DT-21)
				nn(flight/NN-24,Woodpecker/NNP-23)
				dep(becoming/VBG-20,flight/NN-24)

		</tree>

		<annotations>

			<annotation>
				<surface-form>STS-70</surface-form>
				<RDF-ID>http://dbpedia.org/resource/STS-70</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>All-Ohio</surface-form>
				<RDF-ID>http://dbpedia.org/resource/All-Ohio_State_Fair_Youth_Choir</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>woodpeckers</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Woodpecker</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Woodpecker</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Woodpecker</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>flight</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Flight</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/mission http://dbpedia.org/resource/STS-70
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crew5Up http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crewMembers http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	The STS-70 mission was completed in 142 orbits of the Earth, after traveling 3.7 million miles in 214 hours and 20 minutes.	</value>

		<annotated-sentence>	The [[STS-70|STS-70]] mission was completed in 142 orbits of [[the Earth|Earth]], after traveling 3.7 [[million|Million_(band)]] [[miles|Mile]] in 214 [[hours|Hour]] and 20 minutes.	</annotated-sentence>

		<pattern_crowdsource>	The [[STS-70|STS-70]] mission was completed in 142 orbits of the Earth, after traveling 3.7 million miles in 214 hours and 20 minutes.	</pattern_crowdsource>

		<tree>
				det(mission/NN-3,The/DT-1)
				nn(mission/NN-3,STS-70/NN-2)
				nsubjpass(completed/VBN-5,mission/NN-3)
				auxpass(completed/VBN-5,was/VBD-4)
				num(orbits/NNS-8,142/CD-7)
				prep_in(completed/VBN-5,orbits/NNS-8)
				det(Earth/NNP-11,the/DT-10)
				prep_of(orbits/NNS-8,Earth/NNP-11)
				prepc_after(completed/VBN-5,traveling/VBG-14)
				number(million/CD-16,3.7/CD-15)
				num(miles/NNS-17,million/CD-16)
				dobj(traveling/VBG-14,miles/NNS-17)
				num(hours/NNS-20,214/CD-19)
				prep_in(traveling/VBG-14,hours/NNS-20)
				num(minutes/NNS-23,20/CD-22)
				prep_in(traveling/VBG-14,minutes/NNS-23)
				conj_and(hours/NNS-20,minutes/NNS-23)

		</tree>

		<annotations>

			<annotation>
				<surface-form>STS-70</surface-form>
				<RDF-ID>http://dbpedia.org/resource/STS-70</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>the Earth</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Earth</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>million</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Million_(band)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>miles</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Mile</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>hours</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Hour</RDF-ID>
			</annotation>

		</annotations>

		<triples>

			<triple>
				http://dbpedia.org/resource/Mary_Ellen_Weber http://dbpedia.org/ontology/mission http://dbpedia.org/resource/STS-70
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crew5Up http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

			<triple>
				http://dbpedia.org/resource/STS-70 http://dbpedia.org/property/crewMembers http://dbpedia.org/resource/Mary_Ellen_Weber
			</triple>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	STS-101 Atlantis (May 19-29, 2000), the third Shuttle mission devoted to International Space Station construction—a critical mission, with no mission to the fledgling Station in over a year and batteries failing.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				dep(STS-101/NN-1,Atlantis/NNP-2)
				dep(Atlantis/NNP-2,May/NNP-4)
				num(May/NNP-4,19-29/CD-5)
				num(May/NNP-4,2000/CD-7)
				det(mission/NN-13,the/DT-10)
				amod(mission/NN-13,third/JJ-11)
				nn(mission/NN-13,Shuttle/NNP-12)
				appos(STS-101/NN-1,mission/NN-13)
				partmod(mission/NN-13,devoted/VBN-14)
				nn(construction/NN-19,International/NNP-16)
				nn(construction/NN-19,Space/NNP-17)
				nn(construction/NN-19,Station/NNP-18)
				prep_to(devoted/VBN-14,construction/NN-19)
				det(mission/NN-23,a/DT-21)
				amod(mission/NN-23,critical/JJ-22)
				appos(STS-101/NN-1,mission/NN-23)
				conj_and(mission/NN-13,mission/NN-23)
				det(mission/NN-27,no/DT-26)
				prep_with(mission/NN-23,mission/NN-27)
				det(Station/NNP-31,the/DT-29)
				nn(Station/NNP-31,fledgling/NN-30)
				prep_to(mission/NN-27,Station/NNP-31)
				prep(mission/NN-27,in/IN-32)
				pcomp(in/IN-32,over/IN-33)
				det(year/NN-35,a/DT-34)
				pobj(over/IN-33,year/NN-35)
				appos(STS-101/NN-1,batteries/NNS-37)
				conj_and(mission/NN-13,batteries/NNS-37)
				partmod(batteries/NNS-37,failing/VBG-38)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	The crew repaired and installed electrical and life-support components, both inside and out, and boosted the Station to a safe orbit.	</value>

		<annotated-sentence>	The crew repaired and installed [[electrical and|Mechanical,_Electrical_and_Plumbing]] life-support components, both inside and out, and boosted [[the Station|Station]] to a safe orbit.	</annotated-sentence>

		<pattern_crowdsource>	The crew repaired and installed electrical and life-support components, both inside and out, and boosted the Station to a safe orbit.	</pattern_crowdsource>

		<tree>
				det(crew/NN-2,The/DT-1)
				nsubj(repaired/VBN-3,crew/NN-2)
				nsubj(installed/VBN-5,crew/NN-2)
				conj_and(repaired/VBN-3,installed/VBN-5)
				amod(components/NNS-9,electrical/JJ-6)
				conj_and(electrical/JJ-6,life-support/JJ-8)
				amod(components/NNS-9,life-support/JJ-8)
				dobj(installed/VBN-5,components/NNS-9)
				preconj(inside/JJ-12,both/DT-11)
				amod(components/NNS-9,inside/JJ-12)
				amod(components/NNS-9,out/RB-14)
				conj_and(inside/JJ-12,out/RB-14)
				amod(components/NNS-9,boosted/VBD-17)
				conj_and(inside/JJ-12,boosted/VBD-17)
				det(Station/NNP-19,the/DT-18)
				dobj(boosted/VBD-17,Station/NNP-19)
				det(orbit/NN-23,a/DT-21)
				amod(orbit/NN-23,safe/JJ-22)
				prep_to(boosted/VBD-17,orbit/NN-23)

		</tree>

		<annotations>

			<annotation>
				<surface-form>electrical and</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Mechanical,_Electrical_and_Plumbing</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>the Station</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Station</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber was a flight deck crew member for launch, landing and Station rendezvous, drove Atlantis' 60-foot robotic arm to maneuver spacewalk crewmembers along the Station surface, and directed the logistics and transfer of over three thousand pounds of equipment.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				nsubj(member/NN-7,Weber/NNP-1)
				nsubj(drove/VBD-16,Weber/NNP-1)
				nsubj(directed/VBD-32,Weber/NNP-1)
				cop(member/NN-7,was/VBD-2)
				det(member/NN-7,a/DT-3)
				nn(member/NN-7,flight/NN-4)
				nn(member/NN-7,deck/NN-5)
				nn(member/NN-7,crew/NN-6)
				prep_for(member/NN-7,launch/NN-9)
				prep_for(member/NN-7,landing/NN-11)
				conj_and(launch/NN-9,landing/NN-11)
				nn(rendezvous/NN-14,Station/NNP-13)
				prep_for(member/NN-7,rendezvous/NN-14)
				conj_and(launch/NN-9,rendezvous/NN-14)
				conj_and(member/NN-7,drove/VBD-16)
				poss(arm/NN-21,Atlantis/NNP-17)
				amod(arm/NN-21,60-foot/JJ-19)
				amod(arm/NN-21,robotic/JJ-20)
				dobj(drove/VBD-16,arm/NN-21)
				aux(maneuver/VB-23,to/TO-22)
				xcomp(drove/VBD-16,maneuver/VB-23)
				nn(crewmembers/NNS-25,spacewalk/NN-24)
				dobj(maneuver/VB-23,crewmembers/NNS-25)
				det(surface/NN-29,the/DT-27)
				nn(surface/NN-29,Station/NNP-28)
				prep_along(maneuver/VB-23,surface/NN-29)
				conj_and(member/NN-7,directed/VBD-32)
				det(logistics/NNS-34,the/DT-33)
				dobj(directed/VBD-32,logistics/NNS-34)
				dobj(directed/VBD-32,transfer/NN-36)
				conj_and(logistics/NNS-34,transfer/NN-36)
				quantmod(thousand/CD-40,over/IN-38)
				number(thousand/CD-40,three/CD-39)
				num(pounds/NNS-41,thousand/CD-40)
				prep_of(logistics/NNS-34,pounds/NNS-41)
				prep_of(pounds/NNS-41,equipment/NN-43)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She also developed new crew checklists for engine failures during ascent and new procedures for robotic arm operations.	</value>

		<annotated-sentence>	She also developed new crew [[checklists|Checklist]] for [[engine|Engine]] [[failures|Failure]] during ascent and new procedures for [[robotic arm|Robotic_arm]] operations.	</annotated-sentence>

		<pattern_crowdsource>	She also developed new crew checklists for engine failures during ascent and new procedures for robotic arm operations.	</pattern_crowdsource>

		<tree>
				nsubj(developed/VBD-3,She/PRP-1)
				advmod(developed/VBD-3,also/RB-2)
				amod(checklists/NNS-6,new/JJ-4)
				nn(checklists/NNS-6,crew/NN-5)
				dobj(developed/VBD-3,checklists/NNS-6)
				nn(failures/NNS-9,engine/NN-8)
				prep_for(developed/VBD-3,failures/NNS-9)
				nn(procedures/NNS-14,ascent/NN-11)
				conj_and(ascent/NN-11,new/JJ-13)
				nn(procedures/NNS-14,new/JJ-13)
				prep_during(developed/VBD-3,procedures/NNS-14)
				amod(operations/NNS-18,robotic/JJ-16)
				nn(operations/NNS-18,arm/NN-17)
				prep_for(procedures/NNS-14,operations/NNS-18)

		</tree>

		<annotations>

			<annotation>
				<surface-form>checklists</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Checklist</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>engine</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Engine</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>failures</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Failure</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>robotic arm</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Robotic_arm</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	The STS-101 mission—the subject of an A&E documentary, Mission Possible—was accomplished in 155 orbits of the Earth, after traveling 4.1 million miles in 236 hours and 9 minutes.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				det(mission/NN-3,The/DT-1)
				nn(mission/NN-3,STS-101/NN-2)
				nsubjpass(accomplished/VBN-16,mission/NN-3)
				det(subject/NN-6,the/DT-5)
				dep(mission/NN-3,subject/NN-6)
				det(documentary/NN-10,an/DT-8)
				nn(documentary/NN-10,A&E/NNP-9)
				prep_of(subject/NN-6,documentary/NN-10)
				appos(documentary/NN-10,Mission/NNP-12)
				dep(Mission/NNP-12,Possible/JJ-13)
				auxpass(accomplished/VBN-16,was/VBD-15)
				num(orbits/NNS-19,155/CD-18)
				prep_in(accomplished/VBN-16,orbits/NNS-19)
				det(Earth/NNP-22,the/DT-21)
				prep_of(orbits/NNS-19,Earth/NNP-22)
				prepc_after(accomplished/VBN-16,traveling/VBG-25)
				number(million/CD-27,4.1/CD-26)
				num(miles/NNS-28,million/CD-27)
				dobj(traveling/VBG-25,miles/NNS-28)
				num(hours/NNS-31,236/CD-30)
				prep_in(traveling/VBG-25,hours/NNS-31)
				num(minutes/NNS-34,9/CD-33)
				prep_in(traveling/VBG-25,minutes/NNS-34)
				conj_and(hours/NNS-31,minutes/NNS-34)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber is currently (April 2012) with STELLAR Strategies, LLC, providing consulting services in strategies for operations in high-stakes business ventures, technology communications, and legislative strategy.	</value>

		<annotated-sentence>	Weber is currently ([[April 2012|April_2012]]) with [[STELLAR|Stellar_Information_Systems]] [[Strategies|Strategy]], [[LLC|LLC_(studio)]], providing [[consulting services|Consulting_Services]] in [[strategies|Strategy]] for operations in high-stakes [[business|Business]] ventures, [[technology|Technology]] [[communications|Communication]], and legislative [[strategy|Strategy]].	</annotated-sentence>

		<pattern_crowdsource>	Weber is currently (April 2012) with STELLAR Strategies, LLC, providing consulting services in strategies for operations in high-stakes business ventures, technology communications, and legislative strategy.	</pattern_crowdsource>

		<tree>
				nsubj(providing/VBG-14,Weber/NNP-1)
				aux(providing/VBG-14,is/VBZ-2)
				advmod(providing/VBG-14,currently/RB-3)
				dep(currently/RB-3,April/NNP-5)
				num(April/NNP-5,2012/CD-6)
				amod(Strategies/NNS-10,STELLAR/JJ-9)
				prep_with(providing/VBG-14,Strategies/NNS-10)
				appos(Strategies/NNS-10,LLC/NNP-12)
				nn(services/NNS-16,consulting/NN-15)
				dobj(providing/VBG-14,services/NNS-16)
				prep_in(services/NNS-16,strategies/NNS-18)
				prep_for(strategies/NNS-18,operations/NNS-20)
				amod(ventures/NNS-24,high-stakes/JJ-22)
				nn(ventures/NNS-24,business/NN-23)
				prep_in(providing/VBG-14,ventures/NNS-24)
				nn(communications/NNS-27,technology/NN-26)
				prep_in(providing/VBG-14,communications/NNS-27)
				conj_and(ventures/NNS-24,communications/NNS-27)
				amod(strategy/NN-31,legislative/JJ-30)
				prep_in(providing/VBG-14,strategy/NN-31)
				conj_and(ventures/NNS-24,strategy/NN-31)

		</tree>

		<annotations>

			<annotation>
				<surface-form>April 2012</surface-form>
				<RDF-ID>http://dbpedia.org/resource/April_2012</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>STELLAR</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Stellar_Information_Systems</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Strategies</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Strategy</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>LLC</surface-form>
				<RDF-ID>http://dbpedia.org/resource/LLC_(studio)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>consulting services</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Consulting_Services</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>strategies</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Strategy</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>business</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Business</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>technology</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Technology</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>communications</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Communication</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>strategy</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Strategy</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	She is also an acclaimed speaker, with over twenty years of experience with a wide range of audiences and venues.	</value>

		<annotated-sentence>	She is also an acclaimed speaker, with over [[twenty years|Twenty_Years_(song)]] of [[experience|Experience]] with a wide range of audiences and venues.	</annotated-sentence>

		<pattern_crowdsource>	She is also an acclaimed speaker, with over twenty years of experience with a wide range of audiences and venues.	</pattern_crowdsource>

		<tree>
				nsubj(speaker/NN-6,She/PRP-1)
				cop(speaker/NN-6,is/VBZ-2)
				advmod(speaker/NN-6,also/RB-3)
				det(speaker/NN-6,an/DT-4)
				amod(speaker/NN-6,acclaimed/JJ-5)
				dep(speaker/NN-6,with/IN-8)
				num(years/NNS-11,twenty/CD-10)
				prep_over(speaker/NN-6,years/NNS-11)
				prep_of(years/NNS-11,experience/NN-13)
				det(range/NN-17,a/DT-15)
				amod(range/NN-17,wide/JJ-16)
				prep_with(speaker/NN-6,range/NN-17)
				prep_of(range/NN-17,audiences/NNS-19)
				prep_of(range/NN-17,venues/NNS-21)
				conj_and(audiences/NNS-19,venues/NNS-21)

		</tree>

		<annotations>

			<annotation>
				<surface-form>twenty years</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Twenty_Years_(song)</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>experience</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Experience</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Prior to STELLAR Strategies, Weber was Vice President for Government Affairs and Policy for nine years at the University of Texas Southwestern Medical Center—a $1.6 billion world-class research center and medical school in Dallas, Texas, with five Nobel Laureates, and five hospital affiliates.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				nn(Strategies/NNS-4,STELLAR/NNP-3)
				prep_prior_to(President/NNP-9,Strategies/NNS-4)
				nsubj(President/NNP-9,Weber/NNP-6)
				cop(President/NNP-9,was/VBD-7)
				nn(President/NNP-9,Vice/NNP-8)
				nn(Affairs/NNP-12,Government/NNP-11)
				prep_for(President/NNP-9,Affairs/NNP-12)
				conj_and(President/NNP-9,Policy/NNP-14)
				num(years/NNS-17,nine/CD-16)
				prep_for(Policy/NNP-14,years/NNS-17)
				det(University/NNP-20,the/DT-19)
				prep_at(years/NNS-17,University/NNP-20)
				nn(Center/NNP-25,Texas/NNP-22)
				nn(Center/NNP-25,Southwestern/NNP-23)
				nn(Center/NNP-25,Medical/NNP-24)
				prep_of(University/NNP-20,Center/NNP-25)
				det(center/NN-33,a/DT-27)
				amod(center/NN-33,$/$-28)
				number(billion/CD-30,1.6/CD-29)
				num($/$-28,billion/CD-30)
				amod(center/NN-33,world-class/JJ-31)
				nn(center/NN-33,research/NN-32)
				conj_and(President/NNP-9,center/NN-33)
				amod(school/NN-36,medical/JJ-35)
				conj_and(President/NNP-9,school/NN-36)
				conj_and(center/NN-33,school/NN-36)
				dep(Laureates/NNP-45,Dallas/NNP-38)
				dep(Dallas/NNP-38,Texas/NNP-40)
				prep_with(Dallas/NNP-38,five/CD-43)
				nn(Laureates/NNP-45,Nobel/NNP-44)
				prep_in(center/NN-33,Laureates/NNP-45)
				num(affiliates/NNS-50,five/CD-48)
				nn(affiliates/NNS-50,hospital/NN-49)
				conj_and(President/NNP-9,affiliates/NNS-50)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Weber is married to Dr. Jerome Elkind—founder of Stellar Generation, LLC, an alternative energy technology company—who is originally from Bayonne, New Jersey.	</value>

		<annotated-sentence>	Weber is married to Dr. [[Jerome|Jerome]] Elkind—founder of Stellar [[Generation|Generation]], LLC, an [[alternative energy|Alternative_energy]] technology [[company|Company]]—who is originally from [[Bayonne|Bayonne]], [[New Jersey|New_Jersey]].	</annotated-sentence>

		<pattern_crowdsource>	Weber is married to Dr. Jerome Elkind—founder of Stellar Generation, LLC, an alternative energy technology company—who is originally from Bayonne, New Jersey.	</pattern_crowdsource>

		<tree>
				nsubjpass(married/VBN-3,Weber/NNP-1)
				auxpass(married/VBN-3,is/VBZ-2)
				nn(Elkind/NNP-7,Dr./NNP-5)
				nn(Elkind/NNP-7,Jerome/NNP-6)
				prep_to(married/VBN-3,Elkind/NNP-7)
				dep(Elkind/NNP-7,founder/NN-9)
				amod(LLC/NNP-14,Stellar/JJ-11)
				nn(LLC/NNP-14,Generation/NNP-12)
				prep_of(founder/NN-9,LLC/NNP-14)
				det(company/NN-20,an/DT-16)
				amod(company/NN-20,alternative/JJ-17)
				nn(company/NN-20,energy/NN-18)
				nn(company/NN-20,technology/NN-19)
				dep(founder/NN-9,company/NN-20)
				nsubj(is/VBZ-23,who/WP-22)
				rcmod(Elkind/NNP-7,is/VBZ-23)
				advmod(is/VBZ-23,originally/RB-24)
				prep_from(is/VBZ-23,Bayonne/NNP-26)
				nn(Jersey/NNP-29,New/NNP-28)
				appos(Bayonne/NNP-26,Jersey/NNP-29)

		</tree>

		<annotations>

			<annotation>
				<surface-form>Jerome</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Jerome</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Generation</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Generation</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>alternative energy</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Alternative_energy</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>company</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Company</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>Bayonne</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Bayonne</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>New Jersey</surface-form>
				<RDF-ID>http://dbpedia.org/resource/New_Jersey</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	Having logged nearly 5,000 skydives, Weber is an active skydiver, with 13 silver and bronze medals to date at the U.S. National Skydiving Championships and a world record in 2002 for the largest freefall formation with 300 skydivers.	</value>

		<annotated-sentence>	null	</annotated-sentence>

		<pattern_crowdsource>	null	</pattern_crowdsource>

		<tree>
				aux(logged/VBN-2,Having/VBG-1)
				partmod(skydiver/NN-11,logged/VBN-2)
				quantmod(5,000/CD-4,nearly/RB-3)
				num(skydives/NNS-5,5,000/CD-4)
				dobj(logged/VBN-2,skydives/NNS-5)
				nsubj(skydiver/NN-11,Weber/NNP-7)
				cop(skydiver/NN-11,is/VBZ-8)
				det(skydiver/NN-11,an/DT-9)
				amod(skydiver/NN-11,active/JJ-10)
				num(silver/NN-15,13/CD-14)
				prep_with(skydiver/NN-11,silver/NN-15)
				nn(medals/NNS-18,bronze/NN-17)
				prep_with(skydiver/NN-11,medals/NNS-18)
				conj_and(silver/NN-15,medals/NNS-18)
				prep_to(silver/NN-15,date/NN-20)
				det(Championships/NNP-26,the/DT-22)
				nn(Championships/NNP-26,U.S./NNP-23)
				nn(Championships/NNP-26,National/NNP-24)
				nn(Championships/NNP-26,Skydiving/NNP-25)
				prep_at(date/NN-20,Championships/NNP-26)
				det(record/NN-30,a/DT-28)
				nn(record/NN-30,world/NN-29)
				prep_to(silver/NN-15,record/NN-30)
				conj_and(date/NN-20,record/NN-30)
				prep_in(record/NN-30,2002/CD-32)
				det(formation/NN-37,the/DT-34)
				amod(formation/NN-37,largest/JJS-35)
				nn(formation/NN-37,freefall/NN-36)
				prep_for(silver/NN-15,formation/NN-37)
				num(skydivers/NNS-40,300/CD-39)
				prep_with(formation/NN-37,skydivers/NNS-40)

		</tree>

		<annotations>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

	<sentence>

		<value>	In addition, she is an instrument-rated pilot, a skier, and a scuba diver.	</value>

		<annotated-sentence>	In [[addition|Addition]], she is an instrument-rated pilot, [[a skier|Skier]], and [[a scuba diver|Scuba_diving]].	</annotated-sentence>

		<pattern_crowdsource>	In addition, she is an instrument-rated pilot, a skier, and a scuba diver.	</pattern_crowdsource>

		<tree>
				prep_in(pilot/NN-8,addition/NN-2)
				nsubj(pilot/NN-8,she/PRP-4)
				cop(pilot/NN-8,is/VBZ-5)
				det(pilot/NN-8,an/DT-6)
				amod(pilot/NN-8,instrument-rated/JJ-7)
				det(skier/NN-11,a/DT-10)
				conj_and(pilot/NN-8,skier/NN-11)
				det(diver/NN-16,a/DT-14)
				nn(diver/NN-16,scuba/NN-15)
				conj_and(pilot/NN-8,diver/NN-16)

		</tree>

		<annotations>

			<annotation>
				<surface-form>addition</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Addition</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>a skier</surface-form>
				<RDF-ID>http://dbpedia.org/ontology/Skier</RDF-ID>
			</annotation>

			<annotation>
				<surface-form>a scuba diver</surface-form>
				<RDF-ID>http://dbpedia.org/resource/Scuba_diving</RDF-ID>
			</annotation>

		</annotations>

		<triples>

		</triples>

		<pattern>

			null

		</pattern>

	</sentence>

</Document>


text:
package org.springframework.retry.policy;

import org.springframework.retry.RetryContext;
import org.springframework.retry.RetryPolicy;
import org.springframework.retry.context.RetryContextSupport;

/**
 * A {@link RetryPolicy} that allows a retry only if it hasn't timed out. The
 * clock is started on a call to {@link #open(RetryContext)}.
 *
 * @author Dave Syer
 *
 */
public class TimeoutRetryPolicy implements RetryPolicy {

	/**
	 * Default value for timeout (milliseconds).
	 */
	public static final long DEFAULT_TIMEOUT = 1000;

	private long timeout = DEFAULT_TIMEOUT;

	/**
	 * Setter for timeout in milliseconds. Default is {@link #DEFAULT_TIMEOUT}.
	 * @param timeout
	 */
	public void setTimeout(long timeout) {
		this.timeout = timeout;
	}

	/**
	 * The value of the timeout.
	 *
	 * @return the timeout in milliseconds
	 */
	public long getTimeout() {
		return timeout;
	}

	/**
	 * Only permits a retry if the timeout has not expired. Does not check the
	 * exception at all.
	 *
	 * @see org.springframework.retry.RetryPolicy#canRetry(org.springframework.retry.RetryContext)
	 */
	public boolean canRetry(RetryContext context) {
		return ((TimeoutRetryContext) context).isAlive();
	}

	public void close(RetryContext context) {
	}

	public RetryContext open(RetryContext parent) {
		return new TimeoutRetryContext(parent, timeout);
	}

	public void registerThrowable(RetryContext context, Throwable throwable) {
		((RetryContextSupport) context).registerThrowable(throwable);
		// otherwise no-op - we only time out, otherwise retry everything...
	}

	@SuppressWarnings("serial")
	private static class TimeoutRetryContext extends RetryContextSupport {
		private long timeout;

		private long start;

		public TimeoutRetryContext(RetryContext parent, long timeout) {
			super(parent);
			this.start = System.currentTimeMillis();
			this.timeout = timeout;
		}

		public boolean isAlive() {
			return (System.currentTimeMillis() - start) <= timeout;
		}
	}

}

redpajama_set_name: RedPajamaGithub


text:
include_recipe 'bluepill::default'

# Boring
package 'nc' do
  package_name node['platform_family'] == 'debian' ?  'netcat' : 'nc'
end

# This fake services uses Netcat to continuously send the secret
# (attribute) to the tcp_server_listen_port, which we bind in the test
template ::File.join(node['bluepill']['conf_dir'],
                     node['bluepill_test']['service_name'] + '.pill')

bluepill_service node['bluepill_test']['service_name'] do
  action [:enable, :load, :start]
end


text:
<?php
// src/Blogger/BlogBundle/Controller/PageController.php

namespace Blogger\BlogBundle\Controller;

use Blogger\BlogBundle\Entity\Enquiry;
use Blogger\BlogBundle\Form\EnquiryType;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;

class PageController extends Controller
{
    public function indexAction()
    {
        return $this->render('BloggerBlogBundle:Page:index.html.twig');
    }

    public function aboutAction()
    {
        return $this->render('BloggerBlogBundle:Page:about.html.twig');
    }

    public function contactAction(Request $request)
    {
        // create an enquiry and give it some dummy data
        $enquiry = new Enquiry();

        $form = $this->createFormBuilder($enquiry)
            ->add('name', 'text')
            ->add('email', 'email')
            ->add('subject', 'text')
            ->add('body', 'textarea')
            ->add('save', 'submit', array('label' => 'Send'))
            ->getForm();

        $form->handleRequest($request);

        if($form->isValid()) {
            $message = \Swift_Message::newInstance()
                ->setSubject('Contact enquiry from nickblog')
                ->setFrom('enquiries@nickblog.vm')
                ->setTo('nickdunnblog@gmail.com')
                ->setBody($this->renderView('BloggerBlogBundle:Page:contactEmail.txt.twig', array('enquiry' => $enquiry)));
            $this->get('mailer')->send($message);

            // $this->get('session')->setFlash('blogger-notice', 'Your contact enquiry was successfully sent. Thank you!');

            // Redirect - This is important to prevent users re-posting
            // the form if they refresh the page
            return $this->redirect($this->generateUrl('BloggerBlogBundle_contact'));

        }

        return $this->render('BloggerBlogBundle:Page:contact.html.twig', array(
            'form' => $form->createView(),
        ));
    }
}


text:
package org.keycloak.storage.federated;

import org.keycloak.models.RealmModel;
import org.keycloak.models.RoleModel;

import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @author Bill Burke
 * @version $Revision: 1 $
 */
public interface UserRoleMappingsFederatedStorage {

    /**
     * @deprecated Use {@link #getRoleMappingsStream(RealmModel, String) getRoleMappingsStream} instead.
     */
    @Deprecated
    Set<RoleModel> getRoleMappings(RealmModel realm,String userId);

    void grantRole(RealmModel realm, String userId, RoleModel role);

    /**
     * Obtains the roles associated with the federated user identified by {@code userId}.
     *
     * @param realm a reference to the realm.
     * @param userId the user identifier.
     * @return a non-null {@code Stream} of roles.
     */
    default Stream<RoleModel> getRoleMappingsStream(RealmModel realm, String userId) {
        Set<RoleModel> value = this.getRoleMappings(realm, userId);
        return value != null ? value.stream() : Stream.empty();
    }

    void deleteRoleMapping(RealmModel realm, String userId, RoleModel role);

    /**
     * The {@link Streams} interface makes all collection-based methods in {@link UserRoleMappingsFederatedStorage}
     * default by providing implementations that delegate to the {@link Stream}-based variants instead of the other way
     * around.
     *

     * It allows for implementations to focus on the {@link Stream}-based approach for processing sets of data and benefit
     * from the potential memory and performance optimizations of that approach.
     */
    interface Streams extends UserRoleMappingsFederatedStorage {
        @Override
        default Set<RoleModel> getRoleMappings(RealmModel realm, String userId) {
            return getRoleMappingsStream(realm, userId).collect(Collectors.toSet());
        }

        @Override
        Stream<RoleModel> getRoleMappingsStream(RealmModel realm, String userId);
    }
}


text:
<?xml version="1.0" encoding="utf-8"?>
<com.qamaster.android.ui.ScreenshotElementView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@color/qamaster_transparent" >

    <FrameLayout
        android:id="@+id/qamaster_screenshot_container"
        android:layout_width="wrap_content"
        android:layout_height="@dimen/qamaster_screenshot_height" >

        <include layout="@layout/qamaster_screenshot_loader" />

        <com.qamaster.android.ui.util.ScreenshotImageView
            android:id="@+id/qamaster_screenshot_small"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:scaleType="fitCenter" />

        <com.qamaster.android.ui.util.ScreenshotImageView
            android:id="@+id/qamaster_screenshot_overlay"
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:scaleType="fitCenter" />

        <TextView
            android:id="@+id/qamaster_screenshot_label"
            android:layout_width="match_parent"
            android:layout_height="@dimen/qamaster_screenshot_thumbnail_edit_button_height"
            android:layout_gravity="bottom|center"
            android:background="@drawable/qamaster_button"
            android:gravity="center"
            android:text="@string/qamaster_edit_screenshot_short"
            android:textColor="@android:color/white"
            android:textSize="11sp" />

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="@drawable/qamaster_screenshot_thumbnail_overlay" />
    </FrameLayout>

    <com.qamaster.android.ui.AwesomeFontTextView
        android:id="@+id/qamaster_gallery_next"
        android:layout_width="32dp"
        android:layout_height="@dimen/qamaster_screenshot_height"
        android:gravity="center"
        android:text="@string/qamaster_next_screenshot_icon"
        android:textColor="@color/qamaster_blue"
        android:textSize="28dp"
        tools:ignore="SpUsage" />

</com.qamaster.android.ui.ScreenshotElementView>


text:
export const POKEDEX_ARROW_UP = 'POKEDEX_ARROW_UP';
export const POKEDEX_ARROW_DOWN = 'POKEDEX_ARROW_DOWN';
export const POKEDEX_BUTTON_A = 'POKEDEX_BUTTON_A';

export const OPTIONS_ARROW_UP = 'OPTIONS_ARROW_UP';
export const OPTIONS_ARROW_DOWN = 'OPTIONS_ARROW_DOWN';
export const OPTIONS_BUTTON_A = 'OPTIONS_BUTTON_A';
export const OPTIONS_BUTTON_B = 'OPTIONS_BUTTON_B';

export const SCREEN_FOCUS = 'SCREEN_FOCUS';
export const OPTIONS_BACK = 'OPTIONS_BACK';

function pokedexArrowUp() {
  return {
    type: POKEDEX_ARROW_UP
  }
}

function pokedexArrowDown() {
  return {
    type: POKEDEX_ARROW_DOWN
  }
}

function pokedexButtonA() {
  return {
    type: POKEDEX_BUTTON_A
  }
}

function optionsArrowUp() {
  return {
    type: OPTIONS_ARROW_UP
  }
}

function optionsArrowDown() {
  return {
    type: OPTIONS_ARROW_DOWN
  }
}

function optionsButtonA() {
  return {
    type: OPTIONS_BUTTON_A
  }
}

function optionsButtonB() {
  return {
    type: OPTIONS_BUTTON_B
  }
}

function screenFocus(screenFocus) {
  let goBackHome = false;
  if (screenFocus === 'VIEWER') {
    goBackHome = true
  }
  return {
    type: SCREEN_FOCUS,
    data: { screenFocus, goBackHome }
  }
}

function returnToPokedex() {
  return {
    type: OPTIONS_BACK
  }
}

export const keyboardEvent = (code) => (dispatch, getState) => {
  let screenFocus = getState().pokedexControls.screenFocus;
  switch(code) {
    case 38:
      if (screenFocus === "POKEDEX" ) {
        dispatch(pokedexArrowUp());
      } else if (screenFocus === "SIDEBAR"){
        dispatch(optionsArrowUp());
      }
      break;
    case 40:
      if (screenFocus === "POKEDEX" ) {
        dispatch(pokedexArrowDown());
      } else if (screenFocus === "SIDEBAR"){
        dispatch(optionsArrowDown());
      }
      break;
    case 65:
      if (screenFocus === "POKEDEX" ) {
        dispatch(pokedexButtonA());
      } else if (screenFocus === "SIDEBAR"){
        dispatch(optionsButtonA());
      }
      break;
    case 83:
      if (screenFocus === "SIDEBAR"){
        dispatch(optionsButtonB());
      } else if (screenFocus === "VIEWER"){
        dispatch(returnToPokedex());
      }
      break;
    default:
      break;
  }
}

export const setScreenFocus = (screen) => dispatch => {
  return dispatch(screenFocus(screen));
}


text:
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

using System;
using Microsoft.Azure.Commands.ManagedCache.Models;
using Microsoft.Azure.Management.ManagedCache.Models;
using Xunit;

namespace Microsoft.Azure.Commands.ManagedCache.Test
{
    public class CacheSkuCountConvertTest
    {
        [Fact]
        public void ManagedCache_ConversionWorksForBasicSku()
        {
            CacheSkuCountConvert convert = new CacheSkuCountConvert(CacheServiceSkuType.Basic);
            Assert.Equal("128MB", convert.ToMemorySize(1));
            Assert.Equal("256MB", convert.ToMemorySize(2));
            Assert.Equal(2, convert.ToSkuCount("256"));
            Assert.Equal(1, convert.ToSkuCount("128MB"));
            Assert.Equal(1, convert.ToSkuCount("128mb"));
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("2222"); });
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("foo-bar"); });
        }

        [Fact]
        public void ManagedCache_ConversionWorksForStandardSku()
        {
            CacheSkuCountConvert convert = new CacheSkuCountConvert(CacheServiceSkuType.Standard);
            Assert.Equal("1GB", convert.ToMemorySize(1));
            Assert.Equal("2GB", convert.ToMemorySize(2));
            Assert.Equal(1, convert.ToSkuCount("1GB"));
            Assert.Equal(10, convert.ToSkuCount("10GB"));
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("11"); });
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("foo-bar"); });
        }

        [Fact]
        public void ManagedCache_ConversionWorksForPremiumSku()
        {
            CacheSkuCountConvert convert = new CacheSkuCountConvert(CacheServiceSkuType.Premium);
            Assert.Equal("5GB", convert.ToMemorySize(1));
            Assert.Equal("10GB", convert.ToMemorySize(2));
            Assert.Equal(1, convert.ToSkuCount("5GB"));
            Assert.Equal(30, convert.ToSkuCount("150GB"));
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("12MB"); });
            Assert.Throws(typeof(ArgumentException), () => { convert.ToSkuCount("-1"); });
        }

        [Fact]
        public void ManagedCache_CountIsOneIfMemorySizeIsNull()
        {
            Assert.Equal(1, new CacheSkuCountConvert(CacheServiceSkuType.Basic).ToSkuCount(null));
        }
    }
}


text:
package com.alorma.github.ui.adapter.issues;

import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.alorma.github.R;
import com.alorma.github.emoji.EmojiBitmapLoader;
import com.alorma.github.sdk.bean.dto.response.Issue;
import com.alorma.github.sdk.bean.dto.response.IssueState;
import com.alorma.github.ui.adapter.base.RecyclerArrayAdapter;
import com.mikepenz.iconics.IconicsDrawable;
import com.mikepenz.octicons_typeface_library.Octicons;
import com.nostra13.universalimageloader.core.ImageLoader;

/**
 * Created by Bernat on 22/08/2014.
 */
public class IssuesAdapter extends RecyclerArrayAdapter<Issue , IssuesAdapter.ViewHolder> {

    private IssuesAdapterListener issuesAdapterListener;

    public IssuesAdapter(LayoutInflater inflater) {
        super(inflater);
    }

    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new ViewHolder(getInflater().inflate(R.layout.row_issue, parent, false));
    }

    @Override
    protected void onBindViewHolder(ViewHolder holder, Issue issue) {
        holder.title.setText(issue.title);

        holder.num.setText("#" + issue.number);

        if (issue.user != null) {
            holder.autor.setText(Html.fromHtml(holder.itemView.getResources().getString(R.string.issue_created_by, issue.user.login)));
            ImageLoader instance = ImageLoader.getInstance();
            instance.displayImage(issue.user.avatar_url, holder.avatar);
        }

        int colorState = holder.itemView.getResources().getColor(R.color.issue_state_close);
        if (IssueState.open == issue.state) {
            colorState = holder.itemView.getResources().getColor(R.color.issue_state_open);
        }

        holder.num.setTextColor(colorState);
        IconicsDrawable iconDrawable;
        if (issue.state == IssueState.closed) {
            iconDrawable = new IconicsDrawable(holder.itemView.getContext(), Octicons.Icon.oct_issue_closed);
        } else {
            iconDrawable = new IconicsDrawable(holder.itemView.getContext(), Octicons.Icon.oct_issue_opened);
        }
        iconDrawable.colorRes(R.color.gray_github_medium);
        holder.pullRequest.setImageDrawable(iconDrawable);
    }

    public void setIssuesAdapterListener(IssuesAdapterListener issuesAdapterListener) {
        this.issuesAdapterListener = issuesAdapterListener;
    }

    public class ViewHolder extends RecyclerView.ViewHolder {
        private final TextView title;
        private final TextView num;
        private final TextView autor;
        private final ImageView avatar;
        private final ImageView pullRequest;

        public ViewHolder(View itemView) {
            super(itemView);

            title = (TextView) itemView.findViewById(R.id.textTitle);
            num = (TextView) itemView.findViewById(R.id.textIssueNumber);
            autor = (TextView) itemView.findViewById(R.id.textAuthor);
            avatar = (ImageView) itemView.findViewById(R.id.avatarAuthor);
            pullRequest = (ImageView) itemView.findViewById(R.id.pullRequest);

            itemView.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    Issue item = getItem(getAdapterPosition());

                    if (issuesAdapterListener != null) {
                        issuesAdapterListener.onIssueOpenRequest(item);
                    }
                }
            });
        }
    }

    public interface IssuesAdapterListener {
        void onIssueOpenRequest(Issue issue);
    }
}


text:
<?php

namespace MkmScraper;

use Illuminate\Database\Eloquent\Model;

class Set extends Model
{
    public function __toString(){
        return $this->name;
    }

    public function cards(){
        return $this->hasMany("\MkmScraper\Card","id_set");
    }

    public function mythics(){
        return $this->hasMany("\MkmScraper\Card","id_set")->where("rarity","Mythic");
    }

    public function averageBooster(){
        $average=0;
        foreach($this->cards as $card){
            if($card->lastPrice()){
                if($card->rarity=="Common"){
                    $average+=$card->lastPrice()->trend*(10/$this->common);
                }
                if($card->rarity=="Uncommon"){
                    $average+=$card->lastPrice()->trend*(3/$this->uncommon);
                }
                if($card->rarity=="Rare"){
                    $average+=$card->lastPrice()->trend*(7/(8*$this->rare));
                }
                if($card->rarity=="Mythic"){
                    $average+=$card->lastPrice()->trend*(1/(8*$this->mythic));
                }
            }
        }
        return round($average,4);
    }

    public function averageBoosterLow(){
        $average=0;
        foreach ($this->cards as $card) {
            if($card->lastPrice()) {
                if ($card->rarity == "Common") {
                    $average += $card->lastPrice()->low * (10 / $this->common);
                }
                if ($card->rarity == "Uncommon") {
                    $average += $card->lastPrice()->low * (3 / $this->uncommon);
                }
                if ($card->rarity == "Rare") {
                    $average += $card->lastPrice()->low * (7 / (8 * $this->rare));
                }
                if ($card->rarity == "Mythic") {
                    $average += $card->lastPrice()->low * (1 / (8 * $this->mythic));
                }
            }
        }
        return round($average,4);
    }

    public function averageBoosterRare(){
        $average=0;
        foreach($this->cards as $card){
            if($card->lastPrice()){
                if($card->rarity=="Rare"){
                    $average+=$card->lastPrice()->trend*(7/(8*$this->rare));
                }
                if($card->rarity=="Mythic"){
                    $average+=$card->lastPrice()->trend*(1/(8*$this->mythic));
                }
            }
        }
        return round($average,4);
    }

    public function daysFromRelease(){
        return round((time()-strtotime($this->release))/(24*60*60));
    }

    public function daysFromRotation(){
        return round((strtotime($this->rotation)-time())/(24*60*60));
    }

    public function daysFromReleaseDate($date){
        return round((strtotime($date)-strtotime($this->release))/(24*60*60));
    }

    public function daysFromRotationDate($date){
        return round((strtotime($this->rotation)-strtotime($date))/(24*60*60));
    }
}


text:
package db

import (
	"database/sql"
	"encoding/json"
	"fmt"
	"net/http"
	"strconv"

	"github.com/emicklei/go-restful"
	log "github.com/featen/gas/utils/log"
	_ "github.com/mattn/go-sqlite3"
)

type InfoTable struct {
	Dbfile    string
	Tablename string
	Keyattrs  []string
}

type InfoObject struct {
	Id     int64
	Status int64
	Info   string //this contains all the info which will be decoded by js.
}

type InfoFetcher interface {
	CreateTable() int
	SelectRows(string) ([]InfoObject, int)
	SelectRowsCount(string) (int64, int)
	InsertRow(string) (int64, int)
	DeleteRow(string) int
	UpdateRow(int64, string) int
	Add(*restful.Request, *restful.Response)
	Update(*restful.Request, *restful.Response)
	Del(*restful.Request, *restful.Response)
	Get(*restful.Request, *restful.Response)
}

func VoidAttr(obj *InfoObject, attrs ...string) int {
	var m map[string]interface{}
	err := json.Unmarshal([]byte(obj.Info), &m)
	if err != nil {
		log.Error("Unmarshal json failed %v:\n%s", err, obj.Info)
		return http.StatusNotAcceptable
	}

	for _, v := range attrs {
		m[v] = ""
	}

	b, err := json.Marshal(m)
	if err != nil {
		log.Error("Marshal json failed %v:\n%v", err, m)
		return http.StatusInternalServerError
	}
	obj.Info = string(b)

	return http.StatusOK
}

func (infotable InfoTable) CreateTable() int {
	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Fatal("dbHandler failed %v", err)
		return http.StatusInternalServerError
	}
	defer dbHandler.Close()

	var keys = ""
	for _, v := range infotable.Keyattrs {
		keys += fmt.Sprint(", ", v, " text")
	}
	s := "create table if not exists " + infotable.Tablename + " (id integer NOT NULL PRIMARY KEY, status int default 1, info text " + keys + ")"
	_, err = dbHandler.Exec(s)
	if err != nil {
		log.Fatal("failed %v:\n%s", err, s)
		return http.StatusInternalServerError
	}
	return http.StatusOK
}

func (infotable InfoTable) AlterTable() int {
	return 0
}

func (infotable InfoTable) UpdateRow(id int64, infostr string) int {
	var m map[string]interface{}
	err := json.Unmarshal([]byte(infostr), &m)
	if err != nil {
		log.Error("Unmarshal json failed %v:\n%s", err, infostr)
		return http.StatusInternalServerError
	}

	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Fatal("open db failed: %v", err)
		return http.StatusInternalServerError
	}
	defer dbHandler.Close()

	ups := ""
	for i := 0; i < len(infotable.Keyattrs); i++ {
		v, ok := m[infotable.Keyattrs[i]]
		if ok {
			ups += fmt.Sprint(", ", infotable.Keyattrs[i], "='", v, "'")
		}
	}
	str := "UPDATE " + infotable.Tablename + " SET info=? " + ups + " WHERE id=" + strconv.FormatInt(id, 10)
	stmt, err := dbHandler.Prepare(str)
	if err != nil {
		log.Error("%s failed: %v", str, err)
		return http.StatusInternalServerError
	}
	defer stmt.Close()

	_, err = stmt.Exec(infostr)
	if err != nil {
		log.Error("%s failed: %v", str, err)
		return http.StatusInternalServerError
	}

	return http.StatusOK
}

func (infotable InfoTable) DeleteRow(infostr string) int {
	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Fatal("open db failed: %v", err)
		return http.StatusInternalServerError
	}
	defer dbHandler.Close()

	str := "UPDATE " + infotable.Tablename + " SET status=0 WHERE " + infostr
	stmt, err := dbHandler.Prepare(str)
	if err != nil {
		log.Error("%s failed: %v", str, err)
		return http.StatusInternalServerError
	}
	defer stmt.Close()

	_, err = stmt.Exec()
	if err != nil {
		log.Error("%s failed: %v", str, err)
		return http.StatusInternalServerError
	}

	return http.StatusOK
}

func (infotable InfoTable) InsertRow(infostr string) (int64, int) {
	var m map[string]interface{}

	err := json.Unmarshal([]byte(infostr), &m)
	if err != nil {
		log.Fatal("error: %v", err)
		return 0, http.StatusBadRequest
	}

	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Fatal("%v", err)
		return 0, http.StatusInternalServerError
	}
	defer dbHandler.Close()

	keys := ""
	values := ""
	for i := 0; i < len(infotable.Keyattrs); i++ {
		v, ok := m[infotable.Keyattrs[i]]
		if ok {
			keys += fmt.Sprint(", '", infotable.Keyattrs[i], "'")
			values += fmt.Sprint(", '", v, "'")
		}
	}
	str := "INSERT INTO " + infotable.Tablename + " (info" + keys + " ) VALUES (? " + values + ")"
	stmt, err := dbHandler.Prepare(str)
	if err != nil {
		log.Error("%v", err)
		return 0, http.StatusInternalServerError
	}
	defer stmt.Close()

	r, err := stmt.Exec(infostr)
	if err != nil {
		log.Error("%v", err)
		return 0, http.StatusBadRequest
	}
	id, _ := r.LastInsertId()

	return id, http.StatusOK
}

func (infotable InfoTable) SelectRows(sqlstr string) ([]InfoObject, int) {
	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Error("%v", err)
		return nil, http.StatusInternalServerError
	}
	defer dbHandler.Close()

	str := "SELECT id, status, info FROM " + infotable.Tablename + " WHERE " + sqlstr
	stmt, err := dbHandler.Prepare(str)
	if err != nil {
		log.Error("%v", err)
		return nil, http.StatusInternalServerError
	}
	defer stmt.Close()

	rows, err := stmt.Query()
	if err != nil {
		log.Fatal("%v", err)
		return nil, http.StatusInternalServerError
	}
	defer rows.Close()

	all := make([]InfoObject, 0)
	for rows.Next() {
		var info sql.NullString
		var id, status sql.NullInt64
		rows.Scan(&id, &status, &info)

		all = append(all, InfoObject{id.Int64, status.Int64, info.String})
	}
	if len(all) == 0 {
		return nil, http.StatusNotFound
	}

	return all, http.StatusOK
}

func (infotable InfoTable) SelectRowsCount(sqlstr string) (int64, int) {
	dbHandler, err := sql.Open("sqlite3", infotable.Dbfile)
	if err != nil {
		log.Error("%v", err)
		return 0, http.StatusInternalServerError
	}
	defer dbHandler.Close()

	str := "SELECT count(id) FROM " + infotable.Tablename + " WHERE " + sqlstr
	stmt, err := dbHandler.Prepare(str)
	if err != nil {
		log.Error("%v", err)
		return 0, http.StatusInternalServerError
	}
	defer stmt.Close()

	var count sql.NullInt64
	err = stmt.QueryRow().Scan(&count)
	if err != nil {
		log.Fatal("%v", err)
		return 0, http.StatusInternalServerError
	}

	return count.Int64, http.StatusOK
}

func (infotable InfoTable) Get(req *restful.Request, resp *restful.Response) {
	id := req.PathParameter("id")
	all, ret := infotable.SelectRows(" status=1 AND id='" + id + "'")
	if ret == http.StatusOK && len(all) == 1 {
		resp.WriteEntity(all[0])
	} else {
		resp.WriteErrorString(ret, http.StatusText(ret))
	}
}

func (infotable InfoTable) Update(req *restful.Request, resp *restful.Response) {
	obj := new(InfoObject)
	err := req.ReadEntity(&obj)
	if err == nil {
		ret := infotable.UpdateRow(obj.Id, obj.Info)
		if ret == http.StatusOK {
			resp.WriteHeader(ret)
		} else {
			resp.WriteErrorString(ret, http.StatusText(ret))
		}
	} else {
		resp.WriteError(http.StatusInternalServerError, err)
	}
}

func (infotable InfoTable) Add(req *restful.Request, resp *restful.Response) {
	obj := new(InfoObject)
	err := req.ReadEntity(&obj)
	if err == nil {
		_, ret := infotable.InsertRow(obj.Info)
		if ret == http.StatusOK {
			resp.WriteHeader(ret)
		} else {
			resp.WriteErrorString(ret, http.StatusText(ret))
		}
	} else {
		resp.WriteError(http.StatusInternalServerError, err)
	}
}

func (infotable InfoTable) Del(req *restful.Request, resp *restful.Response) {
	id := req.PathParameter("id")
	ret := infotable.DeleteRow(" id=" + id)
	if ret == http.StatusOK {
		resp.WriteHeader(http.StatusOK)
	} else {
		resp.WriteErrorString(ret, http.StatusText(ret))
	}
}


text:
namespace {
// To mitigate the overlapping of the notification for SMS and the one for
// user permission, we postpone showing the latter to make sure it's always
// visible to users.
static constexpr base::TimeDelta kNotificationDelay = base::Seconds(1);

bool DoesMatchOriginList(const std::vector<std::u16string>& origins,
                         const content::OriginList& origin_list) {
  if (origins.size() != origin_list.size())
    return false;

  for (size_t i = 0; i < origins.size(); ++i) {
    if (origins[i] != url_formatter::FormatOriginForSecurityDisplay(
                          origin_list[i],
                          url_formatter::SchemeDisplay::OMIT_HTTP_AND_HTTPS)) {
      return false;
    }
  }
  return true;
}

}  // namespace

SmsFetchRequestHandler::SmsFetchRequestHandler(
    SharingDeviceSource* device_source,
    content::SmsFetcher* fetcher)
    : device_source_(device_source), fetcher_(fetcher) {}

SmsFetchRequestHandler::~SmsFetchRequestHandler() {
  JNIEnv* env = base::android::AttachCurrentThread();
  Java_SmsFetcherMessageHandler_reset(env);
}

void SmsFetchRequestHandler::OnMessage(
    chrome_browser_sharing::SharingMessage message,
    SharingMessageHandler::DoneCallback done_callback) {
  DCHECK(message.has_sms_fetch_request());

  std::unique_ptr<syncer::DeviceInfo> device =
      device_source_->GetDeviceByGuid(message.sender_guid());
  const std::string& client_name =
      device ? device->client_name() : message.sender_device_name();

  // Empty client_name means that the message is from an unsupported version of
  // Chrome.
  base::UmaHistogramBoolean("Sharing.SmsFetcherClientNameIsEmpty",
                            client_name.empty());
  if (client_name.empty())
    return;

  const google::protobuf::RepeatedPtrField<std::string>& origin_strings =
      message.sms_fetch_request().origins();
  if (origin_strings.empty())
    return;

  std::vector<url::Origin> origin_list;
  for (const std::string& origin_string : origin_strings)
    origin_list.push_back(url::Origin::Create(GURL(origin_string)));

  auto request = std::make_unique<Request>(
      this, fetcher_, origin_list, client_name, std::move(done_callback));
  requests_.insert(std::move(request));
}

void SmsFetchRequestHandler::RemoveRequest(Request* request) {
  requests_.erase(request);
}

void SmsFetchRequestHandler::AskUserPermission(
    const content::OriginList& origin_list,
    const std::string& one_time_code,
    const std::string& client_name) {
  JNIEnv* env = base::android::AttachCurrentThread();
  DCHECK(origin_list.size() == 1 || origin_list.size() == 2);

  base::android::ScopedJavaLocalRef<jstring> embedded_origin;
  base::android::ScopedJavaLocalRef<jstring> top_origin;
  if (origin_list.size() == 2) {
    embedded_origin = base::android::ConvertUTF16ToJavaString(
        env,
        url_formatter::FormatOriginForSecurityDisplay(
            origin_list[0], url_formatter::SchemeDisplay::OMIT_HTTP_AND_HTTPS));
    top_origin = base::android::ConvertUTF16ToJavaString(
        env,
        url_formatter::FormatOriginForSecurityDisplay(
            origin_list[1], url_formatter::SchemeDisplay::OMIT_HTTP_AND_HTTPS));
  } else {
    top_origin = base::android::ConvertUTF16ToJavaString(
        env,
        url_formatter::FormatOriginForSecurityDisplay(
            origin_list[0], url_formatter::SchemeDisplay::OMIT_HTTP_AND_HTTPS));
  }

  // If there is a notification from a previous request on screen this will
  // overwrite that one with the new origin. In most cases where there's only
  // one pending origin, the request will be removed when |SmsRetrieverClient|
  // times out which would triggers |Request::OnFailure|.
  // TODO(crbug.com/1138454): We should improve the infrastructure to be able to
  // handle failures when there are multiple pending origins simultaneously.
  Java_SmsFetcherMessageHandler_showNotification(
      env, base::android::ConvertUTF8ToJavaString(env, one_time_code),
      top_origin, embedded_origin,
      base::android::ConvertUTF8ToJavaString(env, client_name),
      reinterpret_cast<intptr_t>(this));
}

void SmsFetchRequestHandler::OnConfirm(JNIEnv* env,
                                       jstring j_top_origin,
                                       jstring j_embedded_origin) {
  std::vector<std::u16string> origins;
  if (j_embedded_origin) {
    std::u16string embedded_origin =
        base::android::ConvertJavaStringToUTF16(env, j_embedded_origin);
    origins.push_back(embedded_origin);
  }
  std::u16string top_origin =
      base::android::ConvertJavaStringToUTF16(env, j_top_origin);
  origins.push_back(top_origin);
  auto* request = GetRequest(origins);
  DCHECK(request);
  request->SendSuccessMessage();
}

void SmsFetchRequestHandler::OnDismiss(JNIEnv* env,
                                       jstring j_top_origin,
                                       jstring j_embedded_origin) {
  std::vector<std::u16string> origins;
  if (j_embedded_origin) {
    std::u16string embedded_origin =
        base::android::ConvertJavaStringToUTF16(env, j_embedded_origin);
    origins.push_back(embedded_origin);
  }
  std::u16string top_origin =
      base::android::ConvertJavaStringToUTF16(env, j_top_origin);
  origins.push_back(top_origin);
  auto* request = GetRequest(origins);
  DCHECK(request);
  // TODO(crbug.com/1015645): We should have a separate catergory for this type
  // of failure.
  request->SendFailureMessage(FailureType::kPromptCancelled);
}

SmsFetchRequestHandler::Request* SmsFetchRequestHandler::GetRequest(
    const std::vector<std::u16string>& origins) {
  // If the request is made from a cross-origin iframe, the origin_list consists
  // of the embedded frame origin and then the top frame origin.
  for (auto& request : requests_) {
    if (DoesMatchOriginList(origins, request->origin_list()))
      return request.get();
  }
  return nullptr;
}

base::WeakPtr<SmsFetchRequestHandler> SmsFetchRequestHandler::GetWeakPtr() {
  return weak_ptr_factory_.GetWeakPtr();
}

SmsFetchRequestHandler::Request::Request(
    SmsFetchRequestHandler* handler,
    content::SmsFetcher* fetcher,
    const std::vector<url::Origin>& origin_list,
    const std::string& client_name,
    SharingMessageHandler::DoneCallback respond_callback)
    : handler_(handler),
      fetcher_(fetcher),
      origin_list_(origin_list),
      client_name_(client_name),
      respond_callback_(std::move(respond_callback)) {
  fetcher_->Subscribe(origin_list_, this);
}

SmsFetchRequestHandler::Request::~Request() {
  fetcher_->Unsubscribe(origin_list_, this);
  JNIEnv* env = base::android::AttachCurrentThread();
  Java_SmsFetcherMessageHandler_dismissNotification(env);
}

void SmsFetchRequestHandler::Request::OnReceive(
    const content::OriginList& origin_list,
    const std::string& one_time_code,
    content::SmsFetcher::UserConsent consent_requirement) {
  DCHECK(origin_list_ == origin_list);
  one_time_code_ = one_time_code;

  // Postpones asking for user permission to make sure that the notification is
  // not covered by the SMS notification.
  base::SequencedTaskRunnerHandle::Get()->PostDelayedTask(
      FROM_HERE,
      base::BindOnce(&SmsFetchRequestHandler::AskUserPermission,
                     handler_->GetWeakPtr(), origin_list, one_time_code,
                     client_name_),
      kNotificationDelay);
}

void SmsFetchRequestHandler::Request::SendSuccessMessage() {
  auto response = std::make_unique<chrome_browser_sharing::ResponseMessage>();
  for (const auto& origin : origin_list_)
    response->mutable_sms_fetch_response()->add_origins(origin.Serialize());
  response->mutable_sms_fetch_response()->set_one_time_code(one_time_code_);

  std::move(respond_callback_).Run(std::move(response));
  handler_->RemoveRequest(this);
}

void SmsFetchRequestHandler::Request::SendFailureMessage(
    FailureType failure_type) {
  auto response = std::make_unique<chrome_browser_sharing::ResponseMessage>();
  response->mutable_sms_fetch_response()->set_failure_type(
      static_cast<chrome_browser_sharing::SmsFetchResponse::FailureType>(
          failure_type));

  std::move(respond_callback_).Run(std::move(response));
  handler_->RemoveRequest(this);
}

void SmsFetchRequestHandler::Request::OnFailure(FailureType failure_type) {
  SendFailureMessage(failure_type);
}