document.write("  <div align=left>  <HR> <H3>Introduction</H3><p> <b>Motivation</b><p> Sports data are typically published online and in newspapers as box scores. Box scores contain a numerical view of a sporting event and are of interest to fans,  handicappers, and fantasy sports players. While box scores contain a wealth of information, they are impractical for  performing research.   <p> The Sports Data Query Language (SDQL) makes box score data accessible to researchers. SDQL's simple and powerful syntax is desigend to allow queries on any imaginable situation. <p> SDQL is written in the open source scripting language <a href=http://python.org>Python</a> and strives to maintain the elegant power of that language. <p> <b>Philosophy</b><p> Key design ideas of SDQL include:<BR> <ul> <li>queries are terse. <li>queries are consistent across sports. <li>parameter names are all lower case. <li>short cuts are all upper case (e.g.: <em>H</em> is short hand or <em>site = home</em>). <li>parameter names may contain spaces (e.g. for the NBA: <em>points in the paint</em> is used - not <em> points_in_the_paint</em> nor <em>pointsinthepaint</em>). <li>abbreviations are avoided (e.g.: <em>points</em> is used rather than <em>pts</em>). </ul> <p> <b>Features</b><p> Key features of the SDQL include:<BR> <ul> <li> access to arbitrary past and future games  (e.g.: after a team has increased their total points over the last three games is  <em> <a href=http://SportsDataBase.com/nfl.py/query?text=ppp%3Apoints%20%3C%20pp%3Apoints%20%3C%20p%3Apoints>ppp:points &lt; pp:points &lt; p:points</a> </em> ). <li> access to running averages and sums (e.g.: teams that average less than 10 points per game is <em> <a href=http://SportsDataBase.com/nfl.py/query?text=tA%28points%29%20%3C%2010>tA(points) &lt; 10</a> </em> ).  <li> access to mathematical combinations of parameters (e.g.: points minus opponent's points is  <em> <a href=http://SportsDataBase.com/nfl.py/query?text=points%20-%20o%3Apoints>points - o:points</a> </em> ). </ul> <HR>    </div>");
