<?xml version="1.0" encoding="UTF-8"?>
<!--Xholon Workbook http://www.primordion.com/Xholon/wb/ (C) Ken Webb Sat Apr 14 2012 10:09:28 GMT-0400 (EDT)-->
<XholonWorkbook>
<Notes><![CDATA[
Xholon
------
Title: North Korea rocket breaks up in flight
Description:
Url: http://www.cnn.com/2012/04/13/world/asia/north-korea-launch/
InternalName:
YoutubeId:
Keywords:
My Notes
--------
To run the app included on this workbook page::
Click the Run button above.
Click the Step button in the overlay.
News about the failed North Korean rocket launch was the first item at many online media sites this morning. I have somewhat arbitrarily chosen the 8:46 am version of CNNs account, as the raw material for this workbook. The story is changing so quickly that by the time I printed it, the CNN home page had a new 9:15 version with many additions and a new headline.
I want to fit this story into the traditional journalism 5 Ws - who, what, when, where and why, plus how::
http://en.wikipedia.org/wiki/News_style
http://en.wikipedia.org/wiki/Five_Ws
]]></Notes>
<script implName="lang:python:inline:"><![CDATA[
print "for a report to be considered complete it must answer a checklist of six questions"
]]></script>
<script implName="lang:javascript:inline:"><![CDATA[
print("\neach question should elicit a factual answer");
]]></script>
<_-.XholonClass>
<!-- types of domain objects -->
<NewsStorySystem/>
<Question>
<Who roleName="Who is it about?"/>
<What roleName="What happened?"/>
<Where roleName="Where did it take place?"/>
<When roleName="When did it take place?"/>
<Why roleName="Why did it happen?"/>
<How roleName="How did it happen?"/>
</Question>
<Person/>
<Country/>
<Rocket/>
<Event/>
<Organization/>
<!-- collections -->
<People/>
<Countries/>
<Organizations/>
<!-- date and time -->
<Year/>
<Month/>
<Day/>
<Hour/>
<Minute/>
</_-.XholonClass>
<xholonClassDetails>
<NewsStorySystem>
<port name="where" connector="#xpointer(Where)"/>
<port name="when" connector="#xpointer(When)"/>
<port name="what" connector="#xpointer(What)"/>
</NewsStorySystem>
</xholonClassDetails>
<NewsStorySystem>
<Where>
<Country roleName="North Korea"/>
<Country roleName="South Korea"/>
<Country roleName="Japan"/>
<Country roleName="United States"/>
<Country roleName=""/>
</Where>
<When> <!-- local time of the rocket launch -->
<Year>2012</Year>
<Month>4</Month>
<Day>13</Day>
<Hour>7</Hour>
<Minute>38</Minute>
</When>
<Organizations>
<Organization roleName="UN Security Council"/>
</Organizations>
<Who>
<Person roleName="Kim Jong Un">the young leader of North Korea</Person>
</Who>
<What>
<Rocket>
<Event roleName="Announced by North Korea"/>
<Event roleName="Warned against by international community"/>
<Event roleName="Launched"/>
<Event roleName="Broke apart in the atmosphere"/>
<Event roleName="Fell into sea"/>
<Event roleName="Condemned by international community"/>
</Rocket>
</What>
<Why/>
<How/>
</NewsStorySystem>
<Blockbehavior implName="lang:python:inline:"><![CDATA[
# This works if pasted in as a last child of Block.
#height.incVal(0.02)
#print("Python wants something to do. Height:" + str(height))
]]></Blockbehavior>
<Blockbehavior implName="lang:javascript:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
//height.incVal(0.02);
//print("JavaScript wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
<NewsStorySystembehavior implName="lang:webEditionjs:inline:"><![CDATA[
this.bindPorts(this.parent());
print("\nWhat: " + this.what.children().getXhcName());
print("\nWhere: " + this.where.children().eq(0).attr("rolename"));
print("\nWhen: ");
this.when.children().each(function() {
print($(this).attr("val") + " ");
});
print("\nChronological order of events: ");
this.what.children().children(".Event").each(function() {
print("\n " + $(this).attr("rolename"));
});
]]></NewsStorySystembehavior>
<Blockbehavior implName="lang:bsh:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
//height.incVal(0.02);
//System.out.print("Java/Beanshell wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
<Blockbehavior implName="lang:jruby:inline:"><![CDATA[
#require 'java'
# This works if pasted in as a last child of Block.
#$height.incVal(0.02)
#puts "Ruby wants something to do. Height: #{$height}"
]]></Blockbehavior>
<Blockbehavior implName="lang:groovy:inline:"><![CDATA[
// This works if pasted in as a last child of Block.
//height.incVal(0.02);
//System.out.print("Groovy wants something to do. Height:" + height + "\n");
]]></Blockbehavior>
<SvgClient><Attribute_String roleName="svgUri"><![CDATA[data:image/svg+xml,
<!-- adapted from (public domain): http://www.wpclipart.com/space/ships/spaceship_cartoons/toy_rocket.svg -->
<svg width="299" height="155" xmlns="http://www.w3.org/2000/svg">
<g>
<title>North Korea rocket breaks up in flight</title>
<g id="svg_2">
<path fill="#ff4000" fill-rule="evenodd" stroke-width="1.5" id="path671" d="m196.66956,105.44859c0,0 15.79103,6.25729 30.30731,10.30566c14.51691,4.04829 27.71014,0.00417 28.83888,-1.10284c1.1284,-1.1067 -3.25941,-7.18124 -6.69398,-9.74313c-3.43451,-2.56188 -17.64008,-0.491 5.88632,-4.78514c23.526,-4.29375 37.32251,-9.91742 33.06088,-12.16236c-6.99564,-8.95367 -40.39713,-9.30576 -27.08685,-16.42957c13.30997,-7.12349 37.87714,-17.38026 15.59625,-17.27313c-22.28053,0.1074 -38.53883,6.16853 -28.96474,-2.72709c9.57381,-8.8953 22.5432,-14.20206 10.41057,-16.63482c-12.13295,-2.43244 -45.70035,8.20022 -60.00285,12.83744c-3.92102,10.27016 -9.35909,32.45683 -1.35179,57.715z"/>
<path fill="#ffff33" fill-opacity="0.6963" fill-rule="evenodd" stroke-width="4" stroke-linejoin="round" id="path672" d="m194.46867,95.53712c0,0 16.8119,9.32381 24.32587,9.74638c7.51428,0.42283 7.83955,-0.87033 2.98729,-6.82577c-4.85228,-5.95542 -16.44928,-5.29648 -0.11963,-9.62283c16.32967,-4.32698 32.80699,-5.87693 18.17041,-9.54177c-14.63692,-3.66447 -18.37195,-4.38435 -7.98131,-8.24373c10.39061,-3.85938 19.72383,-8.1429 1.97345,-8.26677c-13.19377,0.27728 -2.08029,-14.0318 -0.60844,-16.93595c6.116,-4.53711 -36.48248,9.96762 -39.29248,12.72354c-2.57353,3.49814 -0.40262,33.9996 0.54485,36.96691z"/>
<path fill="#d9d9d9" fill-rule="evenodd" stroke="#000000" stroke-width="3" stroke-linejoin="round" id="path663" d="m11.99878,97.22015c26.65135,-25.16453 102.52512,-81.07142 187.61787,-52.02464c-7.15785,9.94251 -9.35661,48.13842 -2.11465,61.00327c-94.63953,35.83723 -160.79872,10.62405 -185.50322,-8.97863z"/>
<path fill="#bfbfbf" fill-rule="evenodd" stroke="#000000" stroke-width="3" stroke-linejoin="round" id="path664" d="m140.06821,121.61713c0,0 27.52994,22.676 27.78885,22.90914c0.25891,0.23315 49.32045,-20.61087 52.06409,-21.84048l-22.39667,-16.99619c-2.83211,3.26466 -46.68057,15.58701 -57.45627,15.92753z"/>
<path fill="#bfbfbf" fill-rule="evenodd" stroke="#000000" stroke-width="3" stroke-linejoin="round" id="path665" d="m143.80345,37.02149c0,0 29.51176,-26.74969 29.79907,-27.0195c0.28729,-0.2698 47.35918,14.1203 49.9843,14.98948l-24.494,20.14423c-13.10468,-6.12794 -42.59157,-9.1174 -55.28937,-8.11421z"/>
<path fill="#bfbfbf" fill-rule="evenodd" stroke="#000000" stroke-width="3" stroke-linejoin="round" id="path666" d="m138.75591,75.75422c0,0 15.144,4.74648 17.64032,5.49357c2.12334,0.07046 45.45403,-7.4426 48.31317,-8.28363l-7.67296,-4.92747c-4.99986,0.48176 -46.21944,6.26359 -58.28053,7.71754z"/>
<path fill="#bfbfbf" fill-rule="evenodd" stroke="#000000" stroke-width="3" stroke-linejoin="round" id="path667" d="m137.63272,76.41383l1.85596,12.1256l17.75192,3.11421l49.10275,-9.24744l-1.5569,-9.12502l-48.31245,7.61328l-18.84128,-4.48062z"/>
</g>
</g>
</svg>
]]></Attribute_String><Attribute_String roleName="setup">${MODELNAME_DEFAULT},${SVGURI_DEFAULT}</Attribute_String></SvgClient>
</XholonWorkbook>