You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2014/06/26 04:29:04 UTC
[1/2] Removed benchmark new files not in master. They have been added
a separate branch.
Repository: incubator-vxquery
Updated Branches:
refs/heads/prestonc/benchmark 94acdb097 -> ab0838d95
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/regions/micro_regions.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/regions/micro_regions.xml b/vxquery-benchmark/src/main/resources/xmark/data/regions/micro_regions.xml
deleted file mode 100644
index 7f4a07a..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/regions/micro_regions.xml
+++ /dev/null
@@ -1,243 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<regions>
-<africa>
-<item id="item0">
-<location>United States</location>
-<quantity>1</quantity>
-<name>duteous nine eighteen </name>
-<payment>Creditcard</payment>
-<description>
-<parlist>
-<listitem>
-<text>
-page rous lady idle authority capt professes stabs monster petition heave humbly removes rescue runs shady peace most piteous worser oak assembly holes patience but malice whoreson mirrors master tenants smocks yielded <keyword> officer embrace such fears distinction attires </keyword>
-</text>
-</listitem>
-<listitem>
-<text>
-shepherd noble supposed dotage humble servilius bitch theirs venus dismal wounds gum merely raise red breaks earth god folds closet captain dying reek
-</text>
-</listitem>
-</parlist>
-</description>
-<shipping>Will ship internationally, See description for charges</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-<mail>
-<from>Dominic Takano mailto:Takano@yahoo.com</from>
-<to>Mechthild Renear mailto:Renear@acm.org</to>
-<date>10/12/1999</date>
-<text>
-asses scruple learned crowns preventions half whisper logotype weapons doors factious already pestilent sacks dram atwain girdles deserts flood park lest graves discomfort sinful conceiv therewithal motion stained preventions greatly suit observe sinews enforcement <emph> armed </emph> gold gazing set almost catesby turned servilius cook doublet preventions shrunk
-</text>
-</mail>
-</mailbox>
-</item>
-</africa>
-<asia>
-<item id="item1">
-<location>United States</location>
-<quantity>1</quantity>
-<name>great </name>
-<payment>Money order, Cash</payment>
-<description>
-<text>
-print deceit arming ros apes unjustly oregon spring hamlet containing leaves italian turn <bold> spirit model favour disposition </bold> approach charg gold promotions despair flow assured terror assembly marry concluded author debase get bourn openly gonzago wisest bane continue cries
-</text>
-</description>
-<shipping>Will ship internationally</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-<mail>
-<from>Fumitaka Cenzer mailto:Cenzer@savera.com</from>
-<to>Lanju Takano mailto:Takano@itc.it</to>
-<date>02/24/2000</date>
-<text>
-entreaty hath fowl prescience bounds roof fiend intellect boughs caught add jests feelingly doubt trojans wisdom greatness tune worship doors fields reads canst france pay progeny wisdom stir mov impious promis clothes hangman trebonius choose men fits preparation <keyword> benefit since eclipse gates </keyword>
-</text>
-</mail>
-<mail>
-<from>Papa Godskesen mailto:Godskesen@uwindsor.ca</from>
-<to>Ioana Blumberg mailto:Blumberg@conclusivestrategies.com</to>
-<date>08/02/2001</date>
-<text>
-jealousy back greg folded gauntlets conduct hardness across sickness peter enough royal herb embrace piteous die servilius avoid <keyword> laying chance dungeons pleasant thyself fellow purse steward heaven ambassador terrible doubtfully </keyword> milk sky clouds unbraced put sacrifices seas childish longer flout heavy pitch rosalind orderly music delivery appease
-</text>
-</mail>
-</mailbox>
-</item>
-</asia>
-<australia>
-<item id="item2">
-<location>United States</location>
-<quantity>1</quantity>
-<name>scarce brook </name>
-<payment></payment>
-<description>
-<parlist>
-<listitem>
-<text>
-senses concave valiant star further instruments bankrupts countrymen horrid costard youth necessity tend curiously waken witness navy there honest interest perceive defendant chief traffic where nuptial descent travel prepare agreed voices swears remember peerless doing <keyword> preparation rejoice </keyword>
-</text>
-</listitem>
-<listitem>
-<text>
-swear canker barbarian parching coxcomb excess conspiring nobles sounded consider sayings fishified prime may spirit <emph> untruths misgives choughs mew here garments tenfold </emph> error discontent hung beatrice straight muse shame deep twice mann maecenas any conveyance fingers whereupon child case <keyword> season presently victory women beating </keyword> deprive almost wed dreams slew reveal
-</text>
-</listitem>
-<listitem>
-<text>
-spotted attend burden camillo field enlarge stead corporal ground tormenting <bold> naturally sanctuary riddle exile coming awake senseless chance famous albans </bold> service cricket limb from clouds amongst shore penker defend quantity dumb churlish uncover swung eros figur sulphur sky birth stare negligent unction shield instance ambition gate injury fort put infants find slavish hugh see afterwards slanders chides eyes minds alb loved endure combating voyage
-</text>
-</listitem>
-<listitem>
-<parlist>
-<listitem>
-<text>
-maintained peril rivall suddenly finds studies weary truth indulgence anatomy assisted imminent may excepted yonder aches regal
-</text>
-</listitem>
-<listitem>
-<text>
-<bold> friar prophetess </bold> spirits delays turning cassio finding unpractis steel sweets promises credulity err nym complete star greatly mope sorry experience virtues been offending bed drives faction learnt hurl eleven huge
-</text>
-</listitem>
-<listitem>
-<text>
-piece hours cruelly april league winged <keyword> tract element sails course placed fouler four plac joint </keyword> words blessing fortified loving forfeit doctor valiant crying wife county planet charge haughty precious alexander longboat bells lewd kingdoms knife giver frantic raz commend sit sovereignty engaged perceive its art alliance forge bestow perforce complete roof fie confident raging possible cassio teen crave park reign lords sounded our requite fourth confidence high
-</text>
-</listitem>
-</parlist>
-</listitem>
-<listitem>
-<parlist>
-<listitem>
-<text>
-sent fled bids oswald help answer artillery jealous hugh fingers gladly mows our craving <emph> preventions spurr edmund drunk how faction quickly bolingbroke painfully </emph> valorous line clasp cheek patchery encompassed honest after auspicious home engaged prompt mortimer bird dread jephthah prithee unfold deeds fifty goose either herald temperance coctus took sought fail each ado checking funeral thinks linger advantage bag ridiculous along accomplishment flower glittering school disguis portia beloved crown sheets garish rather forestall vaults doublet embassy ecstasy crimson rheum befall sin devout pedro little exquisite mote messenger lancaster hideous object arrows smites gently skins bora parting desdemona longing third throng character hat sov quit mounts true house field nearest lucrece tidings fought logotype eaten commanding treason censur ripe praises windsor temperate jealous made sleeve scorn throats fits uncape tended science preventions preventions high pipes repr
ieves <bold> sold </bold> marriage sampson safety distrust witch christianlike plague doubling visited with bleed offenders catching attendants <emph> cars livery stand </emph> denay <keyword> cimber paper admittance tread character </keyword> battlements seen dun irish throw redeem afflicts suspicion
-</text>
-</listitem>
-<listitem>
-<text>
-traduc barks twenty secure pursuit believing necessities longs mental lack further observancy uncleanly understanding vault athens lucius sleeps nor safety evidence repay whensoever senses proudest restraint love mouths slaves water athenian willingly hot grieves delphos pavilion sword indeed lepidus taking disguised proffer salt before educational streets things osw rey stern lap studies finger doomsday pots bounty famous manhood observe hopes unless languish <keyword> transformed nourish breeds north </keyword>
-</text>
-</listitem>
-</parlist>
-</listitem>
-</parlist>
-</description>
-<shipping>Will ship internationally</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-<mail>
-<from>Aspi L'Ecuyer mailto:L'Ecuyer@intersys.com</from>
-<to>Lesley Jeris mailto:Jeris@zambeel.com</to>
-<date>10/09/1998</date>
-<text>
-necessities chains rosencrantz house heed course lawn diest unvirtuous supposed sees chough swor numbers game roman soundest wrestler sky lodovico beast shivers desolate norfolk forgot paulina wars george while beggar sheath thursday capable presently his protector father orchard enemies believe drains tokens prison charge cloud stab york mild scene true devotion confidence hundred those guiltless pricks sort himself mutiny officers directive wholesome edge acts dion ride draw brings custom chapless beside sex dowry casca goods priam blasphemy prick octavia brain curer thinkest idiot inward missing conspiracy tents scab inundation caesar officer dramatis
-</text>
-</mail>
-</mailbox>
-</item>
-</australia>
-<europe>
-<item id="item3">
-<location>Uzbekistan</location>
-<quantity>1</quantity>
-<name>abhorr execution beckon rue </name>
-<payment>Money order, Creditcard, Cash</payment>
-<description>
-<parlist>
-<listitem>
-<text>
-<keyword> perjur kills insanie unfortunate conjuration deeper confounded belied first guard </keyword> pale profits height desir ashore france strength kept entrench poisons worth fought ignorance moody poniards speaks jack egg offspring victory food double emperor round jewel abbey apparel untainted lass protest start wings acquit lake lady battles further low thief try brook cake mounted officers dean shrunk lowness dew sandy prologue armies suspicion eighty advance thankfulness albany ended experience halt doubted wert kingdom fiend directed pair perhaps
-</text>
-</listitem>
-<listitem>
-<text>
-prayer odds rend condemn conrade swearing dispos losses boar little from thought different couch respected human robe dictynna later pays edward babe distemper bards damned mayst sustain while self alcibiades listen weak soil <keyword> view presume loggets feed </keyword> afoot yields erection balthasar fathers datchet thankless lear cause evil cheerfully instance tarried because cough ancient testimony tarquin cousin reported porter beastly jade bark sex slack lear devil devoured amiable mason moss shoulders labour meanest feign eggs encount forbid enobarbus halters nam emilia fiends bearing food inheritor wiser <emph> hedge </emph> functions there capital greasy dark crush your sequest between devout thou strikes demand dost reverent conference least told ado modena jealousy nunnery mistrust nightly worthy closes tall proudly fierce receive nearness safer jacks shut dire mates wind unfortunate monsieur parcels sauced extremities throat dog empty treasury etc detested stand taxatio
ns edges mourner sue knavery unlook perseus diadem heartily peer tut compounded art reconcile study thought cockatrice money pity intend thing claud edmund throws torments ropes contrive story slain advise lecher ardea relics keeping treads buckingham defences lag neighbour ourself marshal disordered moderate venus afeard article rot hazards craft crowns <emph> plainness patient </emph> lying knowledge diseases meritorious medicine instead lid happy without them bands answer
-</text>
-</listitem>
-</parlist>
-</description>
-<shipping>Will ship only within country</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-</mailbox>
-</item>
-</europe>
-<namerica>
-<item id="item4">
-<location>United States</location>
-<quantity>1</quantity>
-<name>unsur brutish </name>
-<payment>Money order, Creditcard</payment>
-<description>
-<parlist>
-<listitem>
-<text>
-prepar likelihood eagle body walk borachio month writing left speed patents coach through protectorship congruent confusion favours following populous garden henceforth shoots function fourscore mangled favorably slain secretly vice distinguish bardolph content hence boy worse bring usurers stew beard longed creep hid pursuivant beholders senators son mercutio woo bestow trumpet excess muffler pick ugly felt causes remove adding tear often rounds underbearing tree purer kibes endless women benefit throw <emph> claim firmness <keyword> arrived sees wrestled multitude repent preventions infamy reproof shalt hearted prais knave doubtless </keyword> deny </emph> merely grave voluble late loath digest horn slave hunger stronger amazed salt killing ross cry dry tongue kiss yields auspicious quietness perpetual ways
-</text>
-</listitem>
-<listitem>
-<text>
-court mean returning brook creatures appointed paunches henry sights west prunes flutes regiment seems bed musicians slumber post friendship prevention abreast wouldst words vexation builds unfelt holly walk inform moods deck bulk begin action school nobles antique people unkennel stomach into petitions jack assail yongrey ages betimes golden sink droop kernel hoppedance perfection weight <emph> whining safe english rod other featur </emph> betwixt orator across amiss mine guests guard yon willing remit longing goneril visitation honey
-</text>
-</listitem>
-</parlist>
-</description>
-<shipping>Will ship only within country, Buyer pays fixed shipping charges, See description for charges</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-<mail>
-<from>Honari Castan mailto:Castan@uni-muenchen.de</from>
-<to>Maz Lucky mailto:Lucky@washington.edu</to>
-<date>01/24/1998</date>
-<text>
-scene disposition substance prick counsel start temples
-</text>
-</mail>
-</mailbox>
-</item>
-</namerica>
-<samerica>
-<item id="item5">
-<location>United States</location>
-<quantity>1</quantity>
-<name>nakedness </name>
-<payment>Creditcard, Personal Check, Cash</payment>
-<description>
-<text>
-music sift kissing design airy office dismantled hope reconcil combat wert quite translate overcome unthrifty <emph> fell othello <bold> wolf entreat audaciously down sands sports pilgrimage duellist league holiday cheek that tables merrily knot selves ionia impure </bold> prophet draw throwing solemn yonder </emph> rightful foam worthless polack veronesa antony beget thereby carry untread hales
-</text>
-</description>
-<shipping>Will ship only within country, Will ship internationally</shipping>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<incategory category="category0"/>
-<mailbox>
-</mailbox>
-</item>
-</samerica>
-</regions>
-</site>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q01.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q01.xq
deleted file mode 100644
index bc9fbf6..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q01.xq
+++ /dev/null
@@ -1,23 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $b in collection($collection)/site/people/person
-where $b/@id = "person0"
-return $b/name/text()
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q02.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q02.xq
deleted file mode 100644
index 299de6d..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q02.xq
+++ /dev/null
@@ -1,22 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
-for $b in collection($collection)/site/open_auctions/open_auction
-return <increase>{$b/bidder[1]/increase/text()}</increase>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q03.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q03.xq
deleted file mode 100644
index 5488122..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q03.xq
+++ /dev/null
@@ -1,26 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
-for $b in collection($collection)/site/open_auctions/open_auction
-where zero-or-one($b/bidder[1]/increase/text()) * 2 <= $b/bidder[last()]/increase/text()
-return
- <increase
- first="{$b/bidder[1]/increase/text()}"
- last="{$b/bidder[last()]/increase/text()}"/>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q04.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q04.xq
deleted file mode 100644
index 756db87..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q04.xq
+++ /dev/null
@@ -1,26 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
-for $b in collection($collection)/site/open_auctions/open_auction
-where
- some $pr1 in $b/bidder/personref[@person = "person20"],
- $pr2 in $b/bidder/personref[@person = "person51"]
- satisfies $pr1 << $pr2
-return <history>{$b/reserve/text()}</history>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q05.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q05.xq
deleted file mode 100644
index 01d6dba..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q05.xq
+++ /dev/null
@@ -1,25 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-count(
- let $collection := "vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/"
- for $i in collection($collection)/site/closed_auctions/closed_auction
- where $i/price/text() >= 40
- return $i/price
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q06.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q06.xq
deleted file mode 100644
index fc8f78d..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q06.xq
+++ /dev/null
@@ -1,22 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/regions/"
-for $b in collection($collection)/site/regions
-return count($b/*/item)
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q07.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q07.xq
deleted file mode 100644
index f251a61..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q07.xq
+++ /dev/null
@@ -1,23 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection := "vxquery-benchmark/src/main/resources/xmark/data/"
-for $p in collection($collection)/site
-return
- count($p//description) + count($p//annotation) + count($p//emailaddress)
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q08.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q08.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q08.xq
deleted file mode 100644
index fe9b9ed..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q08.xq
+++ /dev/null
@@ -1,27 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $p in collection($collection1)/site/people/person
-let $a :=
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/"
- for $t in collection($collection2)/site/closed_auctions/closed_auction
- where $t/buyer/@person = $p/@id
- return $t
-return <item person="{$p/name/text()}">{count($a)}</item>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q09.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q09.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q09.xq
deleted file mode 100644
index db94097..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q09.xq
+++ /dev/null
@@ -1,33 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection3 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $p in collection($collection3)/site/people/person
-let $a :=
- let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/"
- for $t in collection($collection1)/site/closed_auctions/closed_auction
- where $p/@id = $t/buyer/@person
- return
- let $n :=
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/regions/"
- for $t2 in collection($collection2)/site/regions/europe/item
- where $t/itemref/@item = $t2/@id
- return $t2
- return <item>{$n/name/text()}</item>
-return <person name="{$p/name/text()}">{$a}</person>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q10.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q10.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q10.xq
deleted file mode 100644
index cd31444..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q10.xq
+++ /dev/null
@@ -1,46 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $i in distinct-values(collection($collection1)/site/people/person/profile/interest/@category)
-let $p :=
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
- for $t in collection($collection2)/site/people/person
- where $t/profile/interest/@category = $i
- return
- <personne>
- <statistiques>
- <sexe>{$t/profile/gender/text()}</sexe>
- <age>{$t/profile/age/text()}</age>
- <education>{$t/profile/education/text()}</education>
- <revenu>{fn:data($t/profile/@income)}</revenu>
- </statistiques>
- <coordonnees>
- <nom>{$t/name/text()}</nom>
- <rue>{$t/address/street/text()}</rue>
- <ville>{$t/address/city/text()}</ville>
- <pays>{$t/address/country/text()}</pays>
- <reseau>
- <courrier>{$t/emailaddress/text()}</courrier>
- <pagePerso>{$t/homepage/text()}</pagePerso>
- </reseau>
- </coordonnees>
- <cartePaiement>{$t/creditcard/text()}</cartePaiement>
- </personne>
-return <categorie>{<id>{$i}</id>, $p}</categorie>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q11.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q11.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q11.xq
deleted file mode 100644
index 81cd15d..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q11.xq
+++ /dev/null
@@ -1,27 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $p in collection($collection1)/site/people/person
-let $l :=
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
- for $i in collection($collection2)/site/open_auctions/open_auction/initial
- where $p/profile/@income > 5000 * exactly-one($i/text())
- return $i
-return <items name="{$p/name/text()}">{count($l)}</items>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q12.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q12.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q12.xq
deleted file mode 100644
index f3d7dc4..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q12.xq
+++ /dev/null
@@ -1,28 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $p in collection($collection1)/site/people/person
-let $l :=
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
- for $i in collection($collection2)/site/open_auctions/open_auction/initial
- where $p/profile/@income > 5000 * exactly-one($i/text())
- return $i
-where $p/profile/@income > 50000
-return <items person="{$p/profile/@income}">{count($l)}</items>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q13.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q13.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q13.xq
deleted file mode 100644
index b06e8e6..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q13.xq
+++ /dev/null
@@ -1,22 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/regions/"
-for $i in collection($collection1)/site/regions/australia/item
-return <item name="{$i/name/text()}">{$i/description}</item>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q14.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q14.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q14.xq
deleted file mode 100644
index 7d989a8..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q14.xq
+++ /dev/null
@@ -1,23 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/"
-for $i in collection($collection1)/site//item
-where contains(string(exactly-one($i/description)), "gold")
-return $i/name/text()
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q15.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q15.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q15.xq
deleted file mode 100644
index f6052d7..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q15.xq
+++ /dev/null
@@ -1,29 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/"
-for $i in collection($collection1)/site/closed_auctions/closed_auction/annotation/description/parlist/
- listitem/
- parlist/
- listitem/
- text/
- emph/
- keyword/
- text()
-return <text>{$a}</text>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q16.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q16.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q16.xq
deleted file mode 100644
index fa200bc..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q16.xq
+++ /dev/null
@@ -1,30 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/"
-for $a in collection($collection1)/site/closed_auctions/closed_auction
-where
- not(
- empty(
- $a/annotation/description/parlist/listitem/parlist/listitem/text/emph/
- keyword/
- text()
- )
- )
-return <person id="{$a/seller/@person}"/>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q17.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q17.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q17.xq
deleted file mode 100644
index 19a9988..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q17.xq
+++ /dev/null
@@ -1,23 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
-for $p in collection($collection1)/site/people/person
-where empty($p/homepage/text())
-return <person name="{$p/name/text()}"/>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q18.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q18.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q18.xq
deleted file mode 100644
index 8ceaf49..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q18.xq
+++ /dev/null
@@ -1,28 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-declare namespace local = "http://www.foobar.org";
-declare function local:convert($v as xs:decimal?) as xs:decimal?
-{
- 2.20371 * $v (: convert Dfl to Euro :)
-};
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/open_auctions/"
-for $i in collection($collection1)/site/open_auctions/open_auction
-return local:convert(zero-or-one($i/reserve))
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q19.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q19.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q19.xq
deleted file mode 100644
index 842ffa0..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q19.xq
+++ /dev/null
@@ -1,24 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/regions/"
-for $b in collection($collection1)/site/regions/*/item
-let $k := $b/name/text()
-order by zero-or-one($b/location) ascending empty greatest
-return <item name="{$k}">{$b/location/text()}</item>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/queries/q20.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/queries/q20.xq b/vxquery-benchmark/src/main/resources/xmark/queries/q20.xq
deleted file mode 100644
index 363dd31..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/queries/q20.xq
+++ /dev/null
@@ -1,58 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XMark Query see README.md for full details. :)
-
-<result>
- <preferred>
- {
- count(
- let $collection1 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
- for $b in collection($collection1)/site/people/person/profile[@income >= 100000]
- return $b
- )
- }
- </preferred>
- <standard>
- {
- count(
- let $collection2 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
- for $c in collection($collection2)/site/people/person/profile[@income < 100000 and @income >= 30000]
- return $c
- )
- }
- </standard>
- <challenge>
- {
- count(
- let $collection3 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
- for $d in collection($collection3)/site/people/person/profile[@income < 30000]
- return $d
- )
- }
- </challenge>
- <na>
- {
- count(
- let $collection4 := "vxquery-benchmark/src/main/resources/xmark/data/people/"
- for $p in collection($collection4)/site/people/person
- where empty($p/profile/@income)
- return $p
- )
- }
- </na>
-</result>
[2/2] git commit: Removed benchmark new files not in master. They
have been added a separate branch.
Posted by pr...@apache.org.
Removed benchmark new files not in master. They have been added a separate branch.
Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/ab0838d9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/ab0838d9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/ab0838d9
Branch: refs/heads/prestonc/benchmark
Commit: ab0838d953bb88151ab56a26c529c5d9d3f3bd78
Parents: 94acdb0
Author: Preston Carman <pr...@apache.org>
Authored: Wed Jun 25 19:28:46 2014 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Wed Jun 25 19:28:46 2014 -0700
----------------------------------------------------------------------
.../noaa-ghcn-daily/conf/weather_example.xml | 35 ---
.../conf/weather_example_cluster.xml | 58 -----
.../noaa-ghcn-daily/other_systems/mrql/q00.mrql | 7 -
.../noaa-ghcn-daily/other_systems/mrql/q01.mrql | 5 -
.../noaa-ghcn-daily/other_systems/mrql/q02.mrql | 8 -
.../noaa-ghcn-daily/other_systems/mrql/q03.mrql | 7 -
.../noaa-ghcn-daily/other_systems/mrql/q04.mrql | 9 -
.../other_systems/mrql/q04_sensor.mrql | 5 -
.../other_systems/mrql/q04_station.mrql | 8 -
.../noaa-ghcn-daily/other_systems/mrql/q05.mrql | 11 -
.../other_systems/mrql/q05_sensor.mrql | 7 -
.../other_systems/mrql/q05_station.mrql | 7 -
.../noaa-ghcn-daily/other_systems/mrql/q06.mrql | 12 -
.../other_systems/mrql/q06_sensor.mrql | 7 -
.../other_systems/mrql/q06_station.mrql | 7 -
.../noaa-ghcn-daily/other_systems/mrql/q07.mrql | 11 -
.../other_systems/mrql/q07_join_count.mrql | 10 -
.../other_systems/mrql/q07_tmax.mrql | 6 -
.../other_systems/mrql/q07_tmin.mrql | 6 -
.../noaa-ghcn-daily/other_systems/saxon/q00.xq | 15 --
.../noaa-ghcn-daily/other_systems/saxon/q01.xq | 8 -
.../noaa-ghcn-daily/other_systems/saxon/q02.xq | 14 --
.../noaa-ghcn-daily/other_systems/saxon/q03.xq | 8 -
.../noaa-ghcn-daily/other_systems/saxon/q04.xq | 13 -
.../other_systems/saxon/q04_sensor.xq | 10 -
.../other_systems/saxon/q04_station.xq | 8 -
.../noaa-ghcn-daily/other_systems/saxon/q05.xq | 16 --
.../other_systems/saxon/q05_sensor.xq | 11 -
.../other_systems/saxon/q05_station.xq | 8 -
.../noaa-ghcn-daily/other_systems/saxon/q06.xq | 13 -
.../other_systems/saxon/q06_sensor.xq | 8 -
.../other_systems/saxon/q06_station.xq | 5 -
.../noaa-ghcn-daily/other_systems/saxon/q07.xq | 15 --
.../other_systems/saxon/q07_tmax.xq | 9 -
.../other_systems/saxon/q07_tmin.xq | 9 -
.../other_systems/saxon/sensor_count.xq | 7 -
.../other_systems/saxon/station_count.xq | 7 -
.../noaa-ghcn-daily/queries/q04_join_count.xq | 32 ---
.../noaa-ghcn-daily/queries/q05_join_count.xq | 33 ---
.../noaa-ghcn-daily/queries/q06_join_count.xq | 32 ---
.../noaa-ghcn-daily/queries/q07_join_count.xq | 33 ---
.../noaa-ghcn-daily/queries/q07_tmax_values.xq | 24 --
.../noaa-ghcn-daily/queries/q07_tmin_self.xq | 33 ---
.../noaa-ghcn-daily/queries/q07_tmin_values.xq | 24 --
.../scripts/benchmark_logging.properties | 1 -
.../noaa-ghcn-daily/scripts/run_group_test.sh | 35 ---
.../resources/util/find_averages_in_logs.py | 97 --------
.../src/main/resources/util/log_top.sh | 17 --
.../src/main/resources/util/merge_xml_files.py | 88 -------
.../src/main/resources/xmark/README.md | 28 ---
.../xmark/data/categories/micro_categories.xml | 36 ---
.../xmark/data/catgraph/micro_catgraph.xml | 6 -
.../closed_auctions/micro_closed_auctions.xml | 118 ---------
.../data/open_auctions/micro_open_auctions.xml | 117 ---------
.../xmark/data/people/micro_people.xml | 15 --
.../xmark/data/regions/micro_regions.xml | 243 -------------------
.../src/main/resources/xmark/queries/q01.xq | 23 --
.../src/main/resources/xmark/queries/q02.xq | 22 --
.../src/main/resources/xmark/queries/q03.xq | 26 --
.../src/main/resources/xmark/queries/q04.xq | 26 --
.../src/main/resources/xmark/queries/q05.xq | 25 --
.../src/main/resources/xmark/queries/q06.xq | 22 --
.../src/main/resources/xmark/queries/q07.xq | 23 --
.../src/main/resources/xmark/queries/q08.xq | 27 ---
.../src/main/resources/xmark/queries/q09.xq | 33 ---
.../src/main/resources/xmark/queries/q10.xq | 46 ----
.../src/main/resources/xmark/queries/q11.xq | 27 ---
.../src/main/resources/xmark/queries/q12.xq | 28 ---
.../src/main/resources/xmark/queries/q13.xq | 22 --
.../src/main/resources/xmark/queries/q14.xq | 23 --
.../src/main/resources/xmark/queries/q15.xq | 29 ---
.../src/main/resources/xmark/queries/q16.xq | 30 ---
.../src/main/resources/xmark/queries/q17.xq | 23 --
.../src/main/resources/xmark/queries/q18.xq | 28 ---
.../src/main/resources/xmark/queries/q19.xq | 24 --
.../src/main/resources/xmark/queries/q20.xq | 58 -----
76 files changed, 1987 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example.xml b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example.xml
deleted file mode 100644
index 2c15a33..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<data xmlns="data">
- <name>Local Example</name>
- <save_path>/data</save_path>
- <package>ghcnd_all</package>
- <node>
- <id>localhost</id>
- <cluster_ip>127.0.0.1</cluster_ip>
- </node>
- <dataset>
- <name>tiny-example</name>
- <test>local_speed_up</test>
- <save_path>/data</save_path>
- <partition_type>small_files</partition_type>
- <partitions_per_path>1</partitions_per_path>
- <partitions_per_path>2</partitions_per_path>
- <partitions_per_path>4</partitions_per_path>
- <partitions_per_path>8</partitions_per_path>
- </dataset>
-</data>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example_cluster.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example_cluster.xml b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example_cluster.xml
deleted file mode 100644
index 7d05ac0..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/conf/weather_example_cluster.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-<data xmlns="data">
- <name>Cluster Example</name>
- <save_path>/data</save_path>
- <package>ghcnd_all</package>
- <node>
- <id>machine1</id>
- <cluster_ip>127.0.0.1</cluster_ip>
- </node>
- <node>
- <id>machine2</id>
- <cluster_ip>127.0.0.2</cluster_ip>
- </node>
- <node>
- <id>machine3</id>
- <cluster_ip>127.0.0.3</cluster_ip>
- </node>
- <node>
- <id>machine4</id>
- <cluster_ip>127.0.0.4</cluster_ip>
- </node>
- <node>
- <id>machine5</id>
- <cluster_ip>127.0.0.5</cluster_ip>
- </node>
- <dataset>
- <name>tiny-1drive</name>
- <test>speed_up</test>
- <test>batch_scale_out</test>
- <save_path>/data</save_path>
- <partition_type>small_files</partition_type>
- <partitions_per_path>1</partitions_per_path>
- </dataset>
- <dataset>
- <name>small-2drives</name>
- <test>speed_up</test>
- <test>batch_scale_out</test>
- <save_path>/data</save_path>
- <save_path>/data2</save_path>
- <partition_type>large_files</partition_type>
- <partitions_per_path>1</partitions_per_path>
- </dataset>
-</data>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q00.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q00.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q00.mrql
deleted file mode 100644
index 538df72..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q00.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-select (r)
-from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
-where text(r.station) = "GHCND:USW00012836"
- and toInt(substring(text(r.date), 0, 4)) >= 2003
- and toInt(substring(text(r.date), 5, 7)) = 12
- and toInt(substring(text(r.date), 8, 10)) = 25
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q01.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q01.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q01.mrql
deleted file mode 100644
index 5e8de9b..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q01.mrql
+++ /dev/null
@@ -1,5 +0,0 @@
-select (r)
-from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
-where text(r.dataType) = "AWND"
- and toInt(text(r.value)) > 491.744
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q02.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q02.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q02.mrql
deleted file mode 100644
index b8cd451..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q02.mrql
+++ /dev/null
@@ -1,8 +0,0 @@
-sum(
- select (toInt(text(r.value)))
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(r.station) = "GHCND:USW00014771"
- and toInt(substring(text(r.date), 0, 4)) = 1999
- and text(r.dataType) = "PRCP"
-) / 10
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q03.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q03.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q03.mrql
deleted file mode 100644
index 2f85e84..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q03.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-max(
- select (toInt(text(r.value)))
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(r.dataType) = "TMAX"
- and toInt(substring(text(r.date), 0, 4)) = 1999
-) / 10
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04.mrql
deleted file mode 100644
index 68ee5ec..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04.mrql
+++ /dev/null
@@ -1,9 +0,0 @@
-select (r)
-from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- l in t.locationLabels
-where text(t.id) = text(r.station)
- and text(r.date) = "1976-07-04T00:00:00.000"
- and text(r.dataType) = "TMAX"
- and text(l.displayName) = "WASHINGTON"
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_sensor.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_sensor.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_sensor.mrql
deleted file mode 100644
index bf30e52..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_sensor.mrql
+++ /dev/null
@@ -1,5 +0,0 @@
-select (r)
-from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
-where text(r.date) = "1976-07-04T00:00:00.000"
- and text(r.dataType) = "TMAX"
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_station.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_station.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_station.mrql
deleted file mode 100644
index fdd6fba..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q04_station.mrql
+++ /dev/null
@@ -1,8 +0,0 @@
-count(
- select (r)
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- l in t.locationLabels
- where text(l.displayName) = "WASHINGTON"
-)
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05.mrql
deleted file mode 100644
index 5b940f3..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05.mrql
+++ /dev/null
@@ -1,11 +0,0 @@
-min(
- select (toInt(text(r.value)))
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- l in t.locationLabels
- where text(t.id) = text(r.station)
- and toInt(substring(text(r.date), 0, 4)) = 2001
- and text(r.dataType) = "TMIN"
- and text(l.id) = "FIPS:US"
-) / 10
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_sensor.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_sensor.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_sensor.mrql
deleted file mode 100644
index 232b07b..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_sensor.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-count(
- select (toInt(text(r.value)))
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where toInt(substring(text(r.date), 0, 4)) = 2001
- and text(r.dataType) = "TMIN"
-)
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_station.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_station.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_station.mrql
deleted file mode 100644
index b47aeef..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q05_station.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-count(
- select (t)
- from t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- l in t.locationLabels
- where text(l.id) = "FIPS:US"
-)
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06.mrql
deleted file mode 100644
index f84f803..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06.mrql
+++ /dev/null
@@ -1,12 +0,0 @@
-select (n, d, v)
-from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- d in r.date,
- v in r.value,
- t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- n in t.displayName,
- l in t.locationLabels
-where text(t.id) = text(r.station)
- and toInt(substring(text(d), 0, 4)) = 2000
- and text(r.dataType) = "TMAX"
- and text(l.displayName) = "WASHINGTON"
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_sensor.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_sensor.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_sensor.mrql
deleted file mode 100644
index 5050654..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_sensor.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-count(
- select (r.date, r.value)
- from r in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where toInt(substring(text(r.date), 0, 4)) = 2000
- and text(r.dataType) = "TMAX"
-)
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_station.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_station.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_station.mrql
deleted file mode 100644
index 78e3297..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q06_station.mrql
+++ /dev/null
@@ -1,7 +0,0 @@
-count(
- select (t.displayName)
- from t in source(xml, "sample_xml/gsn_stations.xml", {"station"}),
- l in t.locationLabels
- where text(l.displayName) = "WASHINGTON"
-)
-;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07.mrql
deleted file mode 100644
index 40662dd..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07.mrql
+++ /dev/null
@@ -1,11 +0,0 @@
-avg(
- select (toInt(text(rtmax.value))-toInt(text(rtmin.value)))
- from rtmax in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- rtmin in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(rtmax.date) = text(rtmin.date)
- and text(rtmax.station) = text(rtmin.station)
- and text(rtmax.dataType) = "TMAX"
- and text(rtmin.dataType) = "TMIN"
-) / 10
-;
-
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_join_count.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_join_count.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_join_count.mrql
deleted file mode 100644
index 2f41db1..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_join_count.mrql
+++ /dev/null
@@ -1,10 +0,0 @@
-count(
- select (toInt(text(rtmax.value))-toInt(text(rtmin.value)))
- from rtmax in source(xml, "sample_xml/gsn_sensors.xml", {"data"}),
- rtmin in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(rtmax.date) = text(rtmin.date)
- and text(rtmax.station) = text(rtmin.station)
- and text(r.dataType) = "TMAX"
- and text(r.dataType) = "TMIN"
-)
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmax.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmax.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmax.mrql
deleted file mode 100644
index 3db5107..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmax.mrql
+++ /dev/null
@@ -1,6 +0,0 @@
-count(
- select (rtmax)
- from rtmax in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(r.dataType) = "TMAX"
-)
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmin.mrql
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmin.mrql b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmin.mrql
deleted file mode 100644
index 9c93116..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/mrql/q07_tmin.mrql
+++ /dev/null
@@ -1,6 +0,0 @@
-count(
- select (rtmin)
- from rtmin in source(xml, "sample_xml/gsn_sensors.xml", {"data"})
- where text(r.dataType) = "TMIN"
-)
-;
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q00.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q00.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q00.xq
deleted file mode 100644
index 09c5b79..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q00.xq
+++ /dev/null
@@ -1,15 +0,0 @@
-(:
-XQuery Filter Query
--------------------
-See historical data for Key West International Airport, FL (USW00012836)
-station by selecting the weather readings for December 25 over the last
-10 years.
-:)
-let $collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r in collection($collection)/root/dataCollection/data
-let $datetime := xs:dateTime(fn:data($r/date))
-where $r/station eq "GHCND:USW00012836"
- and fn:year-from-dateTime($datetime) ge 2003
- and fn:month-from-dateTime($datetime) eq 12
- and fn:day-from-dateTime($datetime) eq 25
-return $r
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q01.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q01.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q01.xq
deleted file mode 100644
index 39d7e20..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q01.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Filter Query :)
-(: Find all reading for hurricane force wind warning or extreme wind warning. :)
-(: The warnings occur when the wind speed (AWND) exceeds 110 mph (49.1744 :)
-(: meters per second). (Wind value is in tenth of a meter per second) :)
-let $collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r in fn:collection($collection)/root/dataCollection/data
-where $r/dataType eq "AWND" and xs:decimal($r/value) gt 491.744
-return $r
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q02.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q02.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q02.xq
deleted file mode 100644
index 3fb0975..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q02.xq
+++ /dev/null
@@ -1,14 +0,0 @@
-(:
-XQuery Aggregate Query
-----------------------
-Find the annual precipitation (PRCP) for a Syracuse, NY using the airport
-weather station (USW00014771) report for 1999.
-:)
-fn:sum(
- let $collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($collection)/root/dataCollection/data
- where $r/station eq "GHCND:USW00014771"
- and $r/dataType eq "PRCP"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 1999
- return $r/value
-) div 10
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q03.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q03.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q03.xq
deleted file mode 100644
index cda344a..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q03.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Aggregate Query :)
-(: Find the highest recorded temperature (TMAX) in Celsius. :)
-fn:max(
- let $collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($collection)/root/dataCollection/data
- where $r/dataType eq "TMAX"
- return $r/value
-) div 10
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04.xq
deleted file mode 100644
index 09752d1..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find all the weather readings for King county for a specific day :)
-(: 1976/7/4. :)
-let $collection2 := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r in collection($collection2)/root/dataCollection/data
-
-let $collection1 := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
-for $s in collection($collection1)/root/stationCollection/station
-
-where $s/id eq $r/station
- and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "WASHINGTON"))
- and xs:dateTime(fn:data($r/date)) eq xs:dateTime("1976-07-04T00:00:00.000")
-return $r
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_sensor.xq
deleted file mode 100644
index 6c927a4..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_sensor.xq
+++ /dev/null
@@ -1,10 +0,0 @@
-(: XQuery Join Query :)
-(: Count all the weather sensor readings on 1976-07-04. :)
-count(
- let $sensor_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($sensor_collection)/root/dataCollection/data
-
- let $date := xs:date(fn:substring(xs:string(fn:data($r/date)), 0, 11))
- where $date eq xs:date("1976-07-04")
- return $r
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_station.xq
deleted file mode 100644
index 957aec0..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q04_station.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Join Query :)
-(: Count all the weather stations for King county. :)
-count(
- let $station_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
- for $s in collection($station_collection)/root/stationCollection/station
- where (some $x in $s/locationLabels satisfies ($x/type eq "CNTY" and fn:contains(fn:upper-case(fn:data($x/displayName)), "KING")))
- return $s
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05.xq
deleted file mode 100644
index eca1c68..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05.xq
+++ /dev/null
@@ -1,16 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the state of Oregon for :)
-(: 2001. :)
-fn:min(
- let $collection2 := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($collection2)/root/dataCollection/data
-
- let $collection1 := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
- for $s in collection($collection1)/root/stationCollection/station
-
- where $s/id eq $r/station
- and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
- and $r/dataType eq "TMIN"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
- return $r/value
-) div 10
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_sensor.xq
deleted file mode 100644
index 4ac353b..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_sensor.xq
+++ /dev/null
@@ -1,11 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Count all sensor readings for TMIN in 2001. :)
-count(
- let $sensor_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($sensor_collection)/root/dataCollection/data
-
- let $date := xs:date(fn:substring(xs:string(fn:data($r/date)), 0, 11))
- where $r/dataType eq "TMIN"
- and fn:year-from-date($date) eq 2001
- return $r/value
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_station.xq
deleted file mode 100644
index 4349805..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q05_station.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Count all stations in the state of Oregon. :)
-count(
- let $station_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
- for $s in collection($station_collection)/root/stationCollection/station
- where (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "OREGON"))
- return $s
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06.xq
deleted file mode 100644
index 7be7c69..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06.xq
+++ /dev/null
@@ -1,13 +0,0 @@
-(: XQuery Join Query :)
-(: Find the highest recorded temperature (TMAX) for each station for each :)
-(: day over the year 2000. :)
-let $station_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
-for $s in collection($station_collection)/root/stationCollection/station
-
-let $sensor_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r in collection($sensor_collection)/root/dataCollection/data
-
-where $s/id eq $r/station
- and $r/dataType eq "TMAX"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2000
-return ($s/displayName, $r/date, $r/value)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_sensor.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_sensor.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_sensor.xq
deleted file mode 100644
index 5ca3329..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_sensor.xq
+++ /dev/null
@@ -1,8 +0,0 @@
-count(
- let $sensor_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($sensor_collection)/root/dataCollection/data
-
- where $r/dataType eq "TMAX"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2000
- return $r
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_station.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_station.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_station.xq
deleted file mode 100644
index ef1e732..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q06_station.xq
+++ /dev/null
@@ -1,5 +0,0 @@
-count(
- let $station_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
- for $s in collection($station_collection)/root/stationCollection/station
- return $s
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07.xq
deleted file mode 100644
index 35e5ea2..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07.xq
+++ /dev/null
@@ -1,15 +0,0 @@
-(: XQuery Join Aggregate Query :)
-(: Self join with all sensor readings after the year 2000. :)
-fn:avg(
-let $sensor_collection_min := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r_min in collection($sensor_collection_min)/root/dataCollection/data
-
-let $sensor_collection_max := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
-for $r_max in collection($sensor_collection_max)/root/dataCollection/data
-
-where $r_min/station eq $r_max/station
- and $r_min/date eq $r_max/date
- and $r_min/dataType eq "TMIN"
- and $r_max/dataType eq "TMAX"
-return ($r_max/value - $r_min/value)
-) div 10
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmax.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmax.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmax.xq
deleted file mode 100644
index 3245746..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmax.xq
+++ /dev/null
@@ -1,9 +0,0 @@
-(: XQuery Join Query :)
-(: Find the all the records for TMAX. :)
-count(
- let $sensor_collection_max := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r_max in collection($sensor_collection_max)/root/dataCollection/data
-
- where $r_max/dataType eq "TMAX"
- return $r_max
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmin.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmin.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmin.xq
deleted file mode 100644
index 6fcd276..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/q07_tmin.xq
+++ /dev/null
@@ -1,9 +0,0 @@
-(: XQuery Join Query :)
-(: Find the all the records for TMIN. :)
-count(
- let $sensor_collection_min := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r_min in collection($sensor_collection_min)/root/dataCollection/data
-
- where $r_min/dataType eq "TMIN"
- return $r_min
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/sensor_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/sensor_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/sensor_count.xq
deleted file mode 100644
index 1e8e312..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/sensor_count.xq
+++ /dev/null
@@ -1,7 +0,0 @@
-(: XQuery Join Query :)
-(: Count all the weather sensor readings available. :)
-count(
- let $sensor_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/sensors/?select=*.xml;recurse=yes"
- for $r in collection($sensor_collection)/root/dataCollection/data
- return $r
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/station_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/station_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/station_count.xq
deleted file mode 100644
index fe6ec8f..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/other_systems/saxon/station_count.xq
+++ /dev/null
@@ -1,7 +0,0 @@
-(: XQuery Join Query :)
-(: Count all the weather stations available. :)
-count(
- let $station_collection := "../../../../../../../weather_data/dataset-tiny-local/data_links/local_speed_up/d0_p1_i0/stations/?select=*.xml;recurse=yes"
- for $s in collection($station_collection)/root/stationCollection/station
- return $s
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_join_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_join_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_join_count.xq
deleted file mode 100644
index c63deec..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q04_join_count.xq
+++ /dev/null
@@ -1,32 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Join Query :)
-(: Find all the weather readings for Washington state for a specific day :)
-(: 1976/7/4. :)
-fn:count(
- let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations"
- for $s in collection($station_collection)/stationCollection/station
-
- let $sensor_collection := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r in collection($sensor_collection)/dataCollection/data
-
- where $s/id eq $r/station
- and (some $x in $s/locationLabels satisfies ($x/type eq "ST" and fn:upper-case(fn:data($x/displayName)) eq "WASHINGTON"))
- and xs:dateTime(fn:data($r/date)) eq xs:dateTime("1976-07-04T00:00:00.000")
- return $r
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_join_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_join_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_join_count.xq
deleted file mode 100644
index 0023cef..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q05_join_count.xq
+++ /dev/null
@@ -1,33 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Join Aggregate Query :)
-(: Find the lowest recorded temperature (TMIN) in the United States for :)
-(: 2001. :)
-fn:count(
- let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations"
- for $s in collection($station_collection)/stationCollection/station
-
- let $sensor_collection := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r in collection($sensor_collection)/dataCollection/data
-
- where $s/id eq $r/station
- and (some $x in $s/locationLabels satisfies ($x/type eq "CNTRY" and $x/id eq "FIPS:US"))
- and $r/dataType eq "TMIN"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2001
- return $r/value
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_join_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_join_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_join_count.xq
deleted file mode 100644
index 85db07c..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q06_join_count.xq
+++ /dev/null
@@ -1,32 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Join Query :)
-(: Find the highest recorded temperature (TMAX) for each station for each :)
-(: day over the year 2000. :)
-fn:count(
- let $station_collection := "/tmp/1.0_partition_ghcnd_all_xml/stations"
- for $s in collection($station_collection)/stationCollection/station
-
- let $sensor_collection := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r in collection($sensor_collection)/dataCollection/data
-
- where $s/id eq $r/station
- and $r/dataType eq "TMAX"
- and fn:year-from-dateTime(xs:dateTime(fn:data($r/date))) eq 2000
- return ($s/displayName, $r/date, $r/value)
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_join_count.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_join_count.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_join_count.xq
deleted file mode 100644
index 24b8340..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_join_count.xq
+++ /dev/null
@@ -1,33 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max :)
-(: temperature and get the average. :)
-fn:count(
- let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r_min in collection($sensor_collection_min)/dataCollection/data
-
- let $sensor_collection_max := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r_max in collection($sensor_collection_max)/dataCollection/data
-
- where $r_min/station eq $r_max/station
- and $r_min/date eq $r_max/date
- and $r_min/dataType eq "TMIN"
- and $r_max/dataType eq "TMAX"
- return $r_max/value - $r_min/value
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax_values.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax_values.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax_values.xq
deleted file mode 100644
index 2b94827..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmax_values.xq
+++ /dev/null
@@ -1,24 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Join Query :)
-(: Find the all the records for TMAX. :)
-let $sensor_collection_max := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
-for $r_max in collection($sensor_collection_max)/dataCollection/data
-
-where $r_max/dataType eq "TMAX"
-return fn:concat($r_max/station, ",", $r_max/date, ",", $r_max/dataType)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_self.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_self.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_self.xq
deleted file mode 100644
index 6eb9f70..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_self.xq
+++ /dev/null
@@ -1,33 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Self Join Query :)
-(: Self join with all stations finding the difference in min and max :)
-(: temperature and get the average. :)
-fn:count(
- let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r_min in collection($sensor_collection_min)/dataCollection/data
-
- let $sensor_collection_max := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
- for $r_max in collection($sensor_collection_max)/dataCollection/data
-
- where $r_min/station eq $r_max/station
- and $r_min/date eq $r_max/date
- and $r_min/dataType eq "TMIN"
- and $r_max/dataType eq "TMIN"
- return $r_max/station
-)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_values.xq
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_values.xq b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_values.xq
deleted file mode 100644
index fa390a0..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/queries/q07_tmin_values.xq
+++ /dev/null
@@ -1,24 +0,0 @@
-(: Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you 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. :)
-
-(: XQuery Join Query :)
-(: Find the all the records for TMIN. :)
-let $sensor_collection_min := "/tmp/1.0_partition_ghcnd_all_xml/sensors"
-for $r_min in collection($sensor_collection_min)/dataCollection/data
-
-where $r_min/dataType eq "TMIN"
-return fn:concat($r_min/station, ",", $r_min/date, ",", $r_min/dataType)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/benchmark_logging.properties
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/benchmark_logging.properties b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/benchmark_logging.properties
deleted file mode 100644
index 2fb0af0..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/benchmark_logging.properties
+++ /dev/null
@@ -1 +0,0 @@
-java.util.logging.ConsoleHandler.level=OFF
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_group_test.sh
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_group_test.sh b/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_group_test.sh
deleted file mode 100644
index b6ff22f..0000000
--- a/vxquery-benchmark/src/main/resources/noaa-ghcn-daily/scripts/run_group_test.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you 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.
-#
-
-cluster_ip=${1}
-
-for n in 2 1 0
-do
- for t in "batch_scale_out" "speed_up"
- do
- for p in 2 1
- do
- for c in 4
- do
- echo " ==== node ${n} test ${t} partition ${p} cores ${c} ===="
- sh noaa-ghcn-daily/scripts/run_benchmark_cluster.sh weather_data/dataset-small-d2/queries/${t}/${n}nodes/d2_p${p}/ ${n} "-client-net-ip-address ${cluster_ip} -available-processors ${c}"
- done
- done
- done
-done
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/util/find_averages_in_logs.py
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/find_averages_in_logs.py b/vxquery-benchmark/src/main/resources/util/find_averages_in_logs.py
deleted file mode 100644
index 1cd7939..0000000
--- a/vxquery-benchmark/src/main/resources/util/find_averages_in_logs.py
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/usr/bin/env python
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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.
-import fnmatch
-import getopt
-import glob
-import os
-import sys
-import csv
-
-SEARCH_STRING = 'Average execution time:'
-
-def find_files(directory, pattern):
- for root, dirs, files in os.walk(directory):
- for basename in files:
- if fnmatch.fnmatch(basename, pattern):
- yield (root, basename)
-
-
-def main(argv):
- ''' Same as bash: find $FOLDER -type f -name "*.xml" -exec basename {} \; > list_xml.csv
- '''
- log_folder = ""
- save_file = ""
- data_type = ""
-
- # Get the base folder
- try:
- opts, args = getopt.getopt(argv, "f:hs:t:", ["folder=", "save_file=", "data_type="])
- except getopt.GetoptError:
- print 'The file options for list_xml_files.py were not correctly specified.'
- print 'To see a full list of options try:'
- print ' $ python list_xml_files.py -h'
- sys.exit(2)
- for opt, arg in opts:
- if opt == '-h':
- print 'Options:'
- print ' -f The base folder to build XML file list.'
- print ' -s The save file.'
- sys.exit()
- elif opt in ('-f', "--folder"):
- # check if file exists.
- if os.path.exists(arg):
- log_folder = arg
- else:
- print 'Error: Argument must be a folder name for --folder (-f).'
- sys.exit()
- elif opt in ('-s', "--save_file"):
- save_file = arg
- elif opt in ('-t', "--data_type"):
- data_type = arg
-
- # Required fields to run the script.
- if log_folder == "" or not os.path.exists(log_folder):
- print 'Error: The folder path option must be supplied: --folder (-f).'
- sys.exit()
- if save_file == "":
- print 'Error: The folder path option must be supplied: --save_file (-s).'
- sys.exit()
-
- list_xml_csv = ''
- with open(save_file, 'w') as outfile:
- csvfile = csv.writer(outfile)
- for path, filename in find_files(log_folder, '*.log'):
- # Only write out a specific type of data xml documents found in a specific path.
- with open(path + "/" + filename) as infile:
- folders = path.replace(log_folder, "")
- for line in infile:
- # Skip the root tags.
- if line.startswith(SEARCH_STRING):
- time_split = line.split(" ")
- name_split = filename.split(".")
- folder_split = folders.split("/")
-
- # Build data row
- row = folder_split
- row.append(name_split[0])
- row.append(time_split[3])
- row.append(name_split[2])
- csvfile.writerow(row)
-
-
-if __name__ == "__main__":
- main(sys.argv[1:])
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/util/log_top.sh
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/log_top.sh b/vxquery-benchmark/src/main/resources/util/log_top.sh
deleted file mode 100644
index 6e54b0c..0000000
--- a/vxquery-benchmark/src/main/resources/util/log_top.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-LOG_FILE=logs/top.log
-
-# Reset counters
-iostat >> /dev/null
-sar -n DEV 1 1 >> /dev/null
-
-# Save IO, CPU and Network snapshot to a log file.
-while (sleep 10)
-do
- echo "---------------------------------------------" >> ${LOG_FILE}
- date >> ${LOG_FILE}
- echo >> ${LOG_FILE}
- iostat >> ${LOG_FILE}
- top -n 1 -b | head -11 | tail -6 >> ${LOG_FILE}
- sar -n DEV 1 1 >> ${LOG_FILE}
-done;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/util/merge_xml_files.py
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/util/merge_xml_files.py b/vxquery-benchmark/src/main/resources/util/merge_xml_files.py
deleted file mode 100644
index 8a6952b..0000000
--- a/vxquery-benchmark/src/main/resources/util/merge_xml_files.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/env python
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You 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.
-import fnmatch
-import getopt
-import glob
-import os
-import sys
-
-XML_PREFIX = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><root>' + "\n"
-XML_SUFFIX = '</root>' + "\n"
-
-def find_files(directory, pattern):
- for root, dirs, files in os.walk(directory):
- for basename in files:
- if fnmatch.fnmatch(basename, pattern):
- yield (root, basename)
-
-
-def main(argv):
- ''' Same as bash: find $FOLDER -type f -name "*.xml" -exec basename {} \; > list_xml.csv
- '''
- xml_folder = ""
- save_file = ""
- data_type = ""
-
- # Get the base folder
- try:
- opts, args = getopt.getopt(argv, "f:hs:t:", ["folder=", "save_file=", "data_type="])
- except getopt.GetoptError:
- print 'The file options for list_xml_files.py were not correctly specified.'
- print 'To see a full list of options try:'
- print ' $ python list_xml_files.py -h'
- sys.exit(2)
- for opt, arg in opts:
- if opt == '-h':
- print 'Options:'
- print ' -f The base folder to build XML file list.'
- print ' -s The save file.'
- sys.exit()
- elif opt in ('-f', "--folder"):
- # check if file exists.
- if os.path.exists(arg):
- xml_folder = arg
- else:
- print 'Error: Argument must be a folder name for --folder (-f).'
- sys.exit()
- elif opt in ('-s', "--save_file"):
- save_file = arg
- elif opt in ('-t', "--data_type"):
- data_type = arg
-
- # Required fields to run the script.
- if xml_folder == "" or not os.path.exists(xml_folder):
- print 'Error: The folder path option must be supplied: --folder (-f).'
- sys.exit()
- if save_file == "":
- print 'Error: The folder path option must be supplied: --save_file (-s).'
- sys.exit()
-
- list_xml_csv = ''
- with open(save_file, 'w') as outfile:
- outfile.write(XML_PREFIX)
- for path, filename in find_files(xml_folder, '*.xml'):
- # Only write out a specific type of data xml documents found in a specific path.
- if data_type in path:
- with open(path + "/" + filename) as infile:
- for line in infile:
- # Skip the root tags.
- if line != XML_PREFIX and line != XML_SUFFIX:
- outfile.write(line)
- outfile.write(XML_SUFFIX)
-
-if __name__ == "__main__":
- main(sys.argv[1:])
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/README.md
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/README.md b/vxquery-benchmark/src/main/resources/xmark/README.md
deleted file mode 100644
index 2c293bd..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You 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.
--->
-
-XMark
-=====
-
-# Description
-
-The original XMark queries and data generation are available at http://www.xml-benchmark.org/downloads.html,
-with the queries being viewable online at http://www.ins.cwi.nl/projects/xmark/Assets/xmlquery.txt. In the
-query folder, we have separate query files singling out the exact syntax for the versions of these queries
-used in our VXQuery work with XMark; the differences are due to the way we have physically organized the
-XMark data for storage/parallelism reasons.
-
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/categories/micro_categories.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/categories/micro_categories.xml b/vxquery-benchmark/src/main/resources/xmark/data/categories/micro_categories.xml
deleted file mode 100644
index b5c4b7f..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/categories/micro_categories.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<categories>
-<category id="category0">
-<name>dispatch reported dotard holofernes </name>
-<description>
-<parlist>
-<listitem>
-<text>
-shift carrion doubtful strangle sounding crowned troubled naked yesterday overthrow owe silent recount waters derive sans four
-</text>
-</listitem>
-<listitem>
-<parlist>
-<listitem>
-<text>
-fragment pamper arthur thrive wound fouler streets preventions obey vow bawds myrtle said infinite montague fierce sense ride souls commended gainsay profession labour intents persuade alter
-</text>
-</listitem>
-<listitem>
-<text>
-ord villain wore thunder congeal pawned alack customary deny faithful top office spoken please neighbour office afternoon drum embowell touch sue lifeless leapt called weary congregation yield
-</text>
-</listitem>
-<listitem>
-<text>
-mental fatal hard ancient stands cor dishes therein gramercy discipline farewell dire tricks protest cut horatio brother speech sleeping adultress pitch cave liv nurse drink state plants combating desired requir rebellion afraid repented tree scald stopp wine advise undermine norfolk vilely whet scars companions hanging foolish scene musty fruitful unburthen teacher garments betimes sight now for oaths vouchsafe particulars globe laertes afflictions rouse once news humanity buck destroy military lucius lap <keyword> considered forc mourning verona </keyword> waters triumphing officer hastily <emph> resign subject figure hay thwart written signs gout bred distance period glove players change folly </emph> going wat lost song hautboys pick business crocodile leading cave twice frenzy sprightly dislike invite forbids morn devour ambassador seldom speak tickling rejoice triumphant ascanius forward
-</text>
-</listitem>
-</parlist>
-</listitem>
-</parlist>
-</description>
-</category>
-</categories>
-</site>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/catgraph/micro_catgraph.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/catgraph/micro_catgraph.xml b/vxquery-benchmark/src/main/resources/xmark/data/catgraph/micro_catgraph.xml
deleted file mode 100644
index 85427ef..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/catgraph/micro_catgraph.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<catgraph>
-<edge from="category0" to="category0"/>
-</catgraph>
-</site>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/micro_closed_auctions.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/micro_closed_auctions.xml b/vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/micro_closed_auctions.xml
deleted file mode 100644
index d637766..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/closed_auctions/micro_closed_auctions.xml
+++ /dev/null
@@ -1,118 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<closed_auctions>
-<closed_auction>
-<seller person="person0"/>
-<buyer person="person0"/>
-<itemref item="item1"/>
-<price>113.87</price>
-<date>06/06/2000</date>
-<quantity>1</quantity>
-<type>Regular</type>
-<annotation>
-<author person="person0"/>
-<description>
-<parlist>
-<listitem>
-<parlist>
-<listitem>
-<text>
-farewells religion fetch bells rage names valued exeunt soul albans ungently advised serving ratcliff braggarts knowest desp sheep died repeat toy corrupted michael help dunghill trembles pill reap office early secure desires hated garland carriage impatient deserts feel challenger evil <bold> editions depart laur hereford richer </bold>
-</text>
-</listitem>
-<listitem>
-<text>
-proudest lust approve rey should spectacles fiery perfect worshipp foul quod yes remorse young tyburn thrust attending spear shun doctor wild
-</text>
-</listitem>
-</parlist>
-</listitem>
-<listitem>
-<text>
-throng grandam awak helpless ventidius tread defeat teem durst wonderful attaint chaste sees fulfill mortality arme expedient attendants themselves performed leading sing villain skill store mischief see consciences sail text speed sons spleen die oft girl atomies commodity honor fall stopp they
-</text>
-</listitem>
-<listitem>
-<text>
-rain pays spilling rancour reasons grieves camp bachelor crow can whom soldiers growth invite less for vaughan properties <keyword> record penury herself reasons merits villainous whereupon wrote penny mar </keyword> preventions followed best eternity bestow blots rocks barnardine torn cassio tailor fame forfeit triumphant conceived deem cowardly merciful topgallant flint purgation whosoever ventidius befits forever bankrupt choughs stains certain violated burgundy shadows possesseth men repent predominant burns revelry swore prodigious next tyrant oath noses apart balth trade feasting field importunity expect experience kingly stay babe hopes liege astonished suspicion unmannerd alexander crown soil committed god stately incensed trance oracle slowness fast princes damned corn grandsire change tender end fields slain palm softly samp shore notion herod messengers horseman <bold> riggish </bold> quirks shut thence beware jewels sland preventions has sells assails influences oppressi
on pow maggot caught methought mechanical durst liker not seat <emph> assigns flesh made his third <keyword> seemeth </keyword> peril gain they stroke forsworn scape full determin professes commons </emph> lordship clear operation practice pyrrhus earnest broke devil posterity company text misbegotten oregon strike saw arthur earnestly brow popilius ugly serves presentation commandment metal comparing thereon true secretly gallows preventions horridly slack lieutenant hers stop clown rosalinde wed pretty wildly
-</text>
-</listitem>
-</parlist>
-</description>
-<happiness>9</happiness>
-</annotation>
-</closed_auction>
-<closed_auction>
-<seller person="person0"/>
-<buyer person="person0"/>
-<itemref item="item2"/>
-<price>96.92</price>
-<date>12/05/2001</date>
-<quantity>1</quantity>
-<type>Featured</type>
-<annotation>
-<author person="person0"/>
-<description>
-<text>
-hitherto queen painted seat fords clay recall countryman divided delicate mocking active bills filth pledge surrender madness sufficiency moved converse goot claw show edmundsbury torment tough fish mediators tarquin pyrrhus <keyword> heathen </keyword>
-</text>
-</description>
-<happiness>6</happiness>
-</annotation>
-</closed_auction>
-<closed_auction>
-<seller person="person0"/>
-<buyer person="person0"/>
-<itemref item="item3"/>
-<price>53.85</price>
-<date>05/11/1999</date>
-<quantity>1</quantity>
-<type>Featured</type>
-<annotation>
-<author person="person0"/>
-<description>
-<text>
-strives occasion question sticks shall ingenious sinews liquid ashy gentlewomen authority assay hole selves living near doting modest wiltshire mocker eton profess forgeries butt wade lawful maccabaeus wert forced succeeding becomes wayward got
-</text>
-</description>
-<happiness>6</happiness>
-</annotation>
-</closed_auction>
-<closed_auction>
-<seller person="person0"/>
-<buyer person="person0"/>
-<itemref item="item4"/>
-<price>123.52</price>
-<date>02/11/1999</date>
-<quantity>1</quantity>
-<type>Regular</type>
-<annotation>
-<author person="person0"/>
-<description>
-<text>
-vowed keys imperial were swinstead forsake cat aliena spies crave requite forfeit doctor <emph> possess </emph> aught demand ceremonies obscure engross hero restraint bolingbroke neighbour crimes dominions common turns conduct wav therewithal abandon yet hunger
-</text>
-</description>
-<happiness>5</happiness>
-</annotation>
-</closed_auction>
-<closed_auction>
-<seller person="person0"/>
-<buyer person="person0"/>
-<itemref item="item5"/>
-<price>96.06</price>
-<date>04/24/1999</date>
-<quantity>2</quantity>
-<type>Featured</type>
-<annotation>
-<author person="person0"/>
-<description>
-<text>
-jove superiors prolong which conspirator crowns fellowship indisposition skins filthy divers fault apparell worthiness supposition parchment restitution rings rages remains lass dependent pelican contrive paradoxes unmask desdemona weak pleases shame wisely cheek poison avoid ulysses exeunt answer smoothing punishment much anointed bloody shook here armado supply four digestion unresisted consummate glou ding figure made unwrung worst repute envious meanest read nan stake shriek tower nights armed drinking instant scruple citizens rightful nonino shame hills dismal other fasting attends judge aspire hand putting repeal grounds bestrid commission crave mess tarries sport view freely lame done intend cast shun kills presented body landed question hem same burdens plenty esteem weak sigh sunday body preventions revenge horses cleomenes thrust what albeit foolishly mirror gently mock allow index evils should consider deeds suit damsons willoughby thousand number morn banish barricado un
folding perhaps gently stalk degree oblivion wars monsieur companies swords shifted clay strives frozen jour <emph> ajax states mark parcels advertised utterly virtue flatter sleeping ope </emph> lucilius tybalt glow killed account obdurate kindly <bold> heart light bosom garden cog yet daughters tott </bold> lifted offer
-</text>
-</description>
-<happiness>4</happiness>
-</annotation>
-</closed_auction>
-</closed_auctions>
-</site>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/open_auctions/micro_open_auctions.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/open_auctions/micro_open_auctions.xml b/vxquery-benchmark/src/main/resources/xmark/data/open_auctions/micro_open_auctions.xml
deleted file mode 100644
index 70a2709..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/open_auctions/micro_open_auctions.xml
+++ /dev/null
@@ -1,117 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<open_auctions>
-<open_auction id="open_auction0">
-<initial>13.56</initial>
-<reserve>33.78</reserve>
-<bidder>
-<date>10/22/2001</date>
-<time>10:21:43</time>
-<personref person="person0"/>
-<increase>55.50</increase>
-</bidder>
-<bidder>
-<date>07/27/2001</date>
-<time>12:36:50</time>
-<personref person="person0"/>
-<increase>19.50</increase>
-</bidder>
-<bidder>
-<date>02/14/2000</date>
-<time>16:40:16</time>
-<personref person="person0"/>
-<increase>19.50</increase>
-</bidder>
-<bidder>
-<date>05/09/2001</date>
-<time>11:39:57</time>
-<personref person="person0"/>
-<increase>30.00</increase>
-</bidder>
-<bidder>
-<date>07/12/1999</date>
-<time>23:20:27</time>
-<personref person="person0"/>
-<increase>13.50</increase>
-</bidder>
-<bidder>
-<date>10/21/2001</date>
-<time>01:19:47</time>
-<personref person="person0"/>
-<increase>3.00</increase>
-</bidder>
-<bidder>
-<date>09/28/2001</date>
-<time>17:03:24</time>
-<personref person="person0"/>
-<increase>6.00</increase>
-</bidder>
-<bidder>
-<date>11/15/1999</date>
-<time>14:23:15</time>
-<personref person="person0"/>
-<increase>9.00</increase>
-</bidder>
-<bidder>
-<date>01/02/1998</date>
-<time>22:18:07</time>
-<personref person="person0"/>
-<increase>1.50</increase>
-</bidder>
-<bidder>
-<date>12/24/2001</date>
-<time>16:46:32</time>
-<personref person="person0"/>
-<increase>13.50</increase>
-</bidder>
-<bidder>
-<date>08/12/2000</date>
-<time>11:41:54</time>
-<personref person="person0"/>
-<increase>3.00</increase>
-</bidder>
-<bidder>
-<date>11/15/2000</date>
-<time>15:53:40</time>
-<personref person="person0"/>
-<increase>6.00</increase>
-</bidder>
-<bidder>
-<date>03/04/2000</date>
-<time>20:46:15</time>
-<personref person="person0"/>
-<increase>16.50</increase>
-</bidder>
-<bidder>
-<date>07/22/1998</date>
-<time>10:34:11</time>
-<personref person="person0"/>
-<increase>25.50</increase>
-</bidder>
-<bidder>
-<date>04/01/1998</date>
-<time>10:44:22</time>
-<personref person="person0"/>
-<increase>7.50</increase>
-</bidder>
-<current>243.06</current>
-<itemref item="item0"/>
-<seller person="person0"/>
-<annotation>
-<author person="person0"/>
-<description>
-<text>
-debauch corpse canons domain night forsake yea satisfy between fume were monsters ear players moreover ungentleness sorrows prouder tonight favours rome bastard unshown excellence journey loves swearing proceeds stone buck battle breathless kindness prophesy entomb urging rogues hector conquer provoke nothing raw wight places needy feasted romeo rivers worser occupation brook stoops brooch plucks level samp tent windsor rubs whereof beam signior built suff heavy dull husbands roman favour urge spear gone wolf cheeks execute resolv such horrid drives provide twice spoke trade friar taking pheasant sentenc scarf corrections brothers charge spur ass agamemnon truepenny saves roots practis impatient diest didest starv seeing beneath interpose gods home black forgot snuff dress dozen napkins <emph> countess northumberland headlong needless angry pleading </emph> better joy <emph> meagre </emph> reap enquire crab wales died violent rear past liberty <emph> braggart armour infer bankrupt w
inds teeth </emph> case wore pouch crows cognition <keyword> reports expedition free chief cressida hearsed </keyword> loath monuments silent congregation soon farm doct ross susan ready empty dedicate shilling whole soul foot beseech higher lifeless hay postmaster distress disposition <bold> inherits </bold> marcus betters pitch betray beam corse player quality ros conduct thersites greediness boast pilgrims startles contented belch hung thus captain early blood par brook jul gain needs above ensign grapes revelling glean thank
-</text>
-</description>
-<happiness>6</happiness>
-</annotation>
-<quantity>1</quantity>
-<type>Regular</type>
-<interval>
-<start>06/16/1999</start>
-<end>05/12/2001</end>
-</interval>
-</open_auction>
-</open_auctions>
-</site>
http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ab0838d9/vxquery-benchmark/src/main/resources/xmark/data/people/micro_people.xml
----------------------------------------------------------------------
diff --git a/vxquery-benchmark/src/main/resources/xmark/data/people/micro_people.xml b/vxquery-benchmark/src/main/resources/xmark/data/people/micro_people.xml
deleted file mode 100644
index 55d8203..0000000
--- a/vxquery-benchmark/src/main/resources/xmark/data/people/micro_people.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" standalone="yes"?>
-<site>
-<people>
-<person id="person0">
-<name>Jaak Tempesti</name>
-<emailaddress>mailto:Tempesti@labs.com</emailaddress>
-<phone>+0 (873) 14873867</phone>
-<homepage>http://www.labs.com/~Tempesti</homepage>
-<creditcard>5048 5813 2703 8253</creditcard>
-<watches>
-<watch open_auction="open_auction0"/>
-</watches>
-</person>
-</people>
-</site>