Go to the first, previous, next, last chapter, table of contents.

A Sample SFgate Application

. .

In the following we present a sample SFgate application, taken from the demo within the SFgate distribution.

<HTML>
  
  <HEAD>
    <TITLE>SFgate 5.1: Demo</TITLE>
    <LINK
      HREF="http://ls6-www.informatik.uni-dortmund.de/ir/projects/SFgate/"
      REL="uses" TITLE="SFgate 5.1">
  </HEAD>
  
  <BODY>

    
      SFgate
    

    <H1>SFgate 5.1: Demo</H1>

    This is a demo to your revision (5.1) of SFgate. For more
    Information look at the
    
      Manual. Information on
    
      the latest revision of this software is available.

    <HR>

    <FORM METHOD="POST"
      ACTION="http://ls6-www.informatik.uni-dortmund.de/ir/cgi-bin/SFgate">
      
      <H2>Select some of the following databases:</H2>

      <DL>
        <DT> <INPUT NAME="database"
            TYPE="checkbox"
            VALUE="ls6-www.informatik.uni-dortmund.de/demo">
          <B>DEMO</B>
        <DD> Demo database with scanned images <BR>
        <DT> <INPUT NAME="database"
            TYPE="checkbox" 
            VALUE="ls6-www.informatik.uni-dortmund.de/bibdb-html"
            CHECKED>
          <B>BIBDB</B>
        <DD> Bibliographic references on information retrieval <BR>
        <DT> <INPUT NAME="database"
            TYPE="checkbox"
            VALUE="bib.informatik.uni-dortmund.de/journals">
          <B>JTOCS</B>
        <DD>Table of contents of some computer science related journals.
          An <A HREF="http://bib.informatik.uni-dortmund.de/\
journals/journals-toc.html"> overview of present journals is available. </DL> <HR> <H2>Enter your query:</H2> <HR> The easiest way to build up a SFgate form: <DL> <DT> title <DD> <INPUT TYPE="text" NAME="ti" VALUE="probabilistic"> <DT> author name <DD> <INPUT TYPE="text" NAME="au" VALUE="fuhr"> <SELECT NAME="au_i"> <OPTION> soundex and plain <OPTION> plain <OPTION> soundex </SELECT> <DT> text <DD> <INPUT TYPE="text" NAME="text" SIZE=40 VALUE="information and retrieval"> </DL> <HR> Two possibilities to specify a date field within a SFgate form (within a freeWAIS-sf databases date fields are indexed in yyyymmdd notation): <DL> <DT> entry date <DD> <SELECT NAME="ed_p"> <OPTION> == <OPTION> &gt; <OPTION> &gt;= <OPTION> &lt; <OPTION> &lt;= </SELECT> <INPUT TYPE="text" NAME="ed_year" SIZE=10> <BR> specify in one of the following formats: <UL> <LI> yyyymmdd, yymmdd <LI> dd.mm.yyyy, dd.mm.yy, dd.m.yyyy, dd.m.yy, d.mm.yyyy, d.mm.yy, d.m.yyyy, d.m.yy <LI> dd.mm, dd.m, d.mm, d.m <LI> yyyy-mm-dd, yyyy-mm-d, yyyy-m-dd, yyyy-m-d, yy-mm-dd, yy-mm-d, yy-m-dd, yy-m-d <LI> mm&#47;dd&#47;yyyy, mm&#47;dd&#47;yy, mm&#47;d&#47;yyyy, mm&#47;d&#47;yy, m&#47;dd&#47;yyyy, m&#47;dd&#47;yy, m&#47;d&#47;yyyy, m&#47;d&#47;yy </UL> <DT> entry date <DD> <SELECT NAME="ed_1_p"> <OPTION> == <OPTION> &gt; <OPTION> &gt;= <OPTION> &lt; <OPTION> &lt;= </SELECT> year (yyyy, yy): <INPUT TYPE="text" NAME="ed_1_year" SIZE=4> month (dd, d): <INPUT TYPE="text" NAME="ed_1_month" SIZE=2> day (mm, m): <INPUT TYPE="text" NAME="ed_1_day" SIZE=2> </DL> <HR> You may want to give the user more than one input field for a freeWAIS-sf field and let him specify the Boolean connection between the fields via checkboxes or other input tags. Furthermore you can group any number of fields to give the user the possibility to choose the boolean connection of the groups explicitly: <DL> <DT> title <DD> <INPUT TYPE="text" NAME="ti_1" SIZE=10> <SELECT NAME="ti_2_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="ti_2" SIZE=10> <SELECT NAME="ti_3_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="ti_3" SIZE=10> <DT> <SELECT NAME="group_2_tie"> <OPTION> or <OPTION> and </SELECT> <DD> <DT> author name <DD> <INPUT TYPE="text" NAME="au_1" SIZE=10> <SELECT NAME="au_2_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="au_2" SIZE=10> <SELECT NAME="au_3_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="au_3" SIZE=10> <DT> <SELECT NAME="group_3_tie"> <OPTION> or <OPTION> and </SELECT> <DD> <DT> text <DD> <INPUT TYPE="text" NAME="text_1" SIZE=10> <SELECT NAME="text_2_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="text_2" SIZE=10> <SELECT NAME="text_3_tie"> <OPTION> or <OPTION> and </SELECT> <INPUT TYPE="text" NAME="text_3" SIZE=10> </DL> <INPUT TYPE="hidden" NAME="group_1" VALUE="ti_1,ti_2,ti_3"> <INPUT TYPE="hidden" NAME="group_2" VALUE="au_1,au_2,au_3"> <INPUT TYPE="hidden" NAME="group_3" VALUE="text_1,text_2,text_3"> <HR> Let the user decide the field name for an input field. Let him select the Boolean connection of the input fields content to the rest of the query: <DL> <DT> <SELECT NAME="fieldsel_0_description"> <OPTION> title <OPTION> author name <OPTION> text </SELECT> <DD> <SELECT NAME="fieldsel_0_i"> <OPTION> soundex and plain <OPTION> plain <OPTION> soundex </SELECT> <INPUT TYPE="text" NAME="fieldsel_0_content"> connect with: <SELECT NAME="fieldsel_0_tie"> <OPTION> and <OPTION> or </SELECT> <DT> <SELECT NAME="fieldsel_1_description"> <OPTION> publication year <OPTION> volume number <OPTION> issue number </SELECT> <DD> <SELECT NAME="fieldsel_1_p"> <OPTION> == <OPTION> &gt; <OPTION> &gt;= <OPTION> &lt; <OPTION> &lt;= </SELECT> <INPUT TYPE="text" NAME="fieldsel_1_content"> connect with: <SELECT NAME="fieldsel_1_tie"> <OPTION> and <OPTION> or </SELECT> </DL> <INPUT TYPE="hidden" NAME="fieldsel_name_au" VALUE="author name"> <INPUT TYPE="hidden" NAME="fieldsel_name_ti" VALUE="title"> <INPUT TYPE="hidden" NAME="fieldsel_name_text" VALUE="text"> <INPUT TYPE="hidden" NAME="fieldsel_name_py" VALUE="publication year"> <INPUT TYPE="hidden" NAME="fieldsel_name_vo" VALUE="volume number"> <INPUT TYPE="hidden" NAME="fieldsel_name_no" VALUE="issue number"> <HR> You may want to decide for the user which query conditions must be met. The contents of the following input fields are and'ed to the rest of the query: <DL> <DT> publication year <DD> <SELECT NAME="py_p"> <OPTION> &gt;= <OPTION> &gt; <OPTION> == <OPTION> &lt;= <OPTION> &lt; </SELECT> <INPUT TYPE="text" NAME="py_and" SIZE=4 VALUE="1995"> <DT> volume number <DD> <SELECT NAME="vo_p"> <OPTION> == <OPTION> &gt;= <OPTION> &gt; <OPTION> &lt;= <OPTION> &lt; </SELECT> <INPUT TYPE="text" NAME="vo_and" SIZE=4> <DT> issue number <DD> <SELECT NAME="no_p"> <OPTION> == <OPTION> &gt;= <OPTION> &gt; <OPTION> &lt;= <OPTION> &lt; </SELECT> <INPUT TYPE="text" NAME="no_and" SIZE=4> </DL> <HR> <INPUT TYPE="submit" VALUE="start search"> <INPUT TYPE="reset" VALUE="reset query"> <HR> <H2>Specify options:</H2> <DL> <DT> <B>Dump environment?</B> <SELECT NAME="dmpenv"> <OPTION> no <OPTION> yes </SELECT> <DD> This option will dump the environement to an html pages instead of processing the query. <DT> <B>Debug:</B> <SELECT NAME="debug"> <OPTION> off <OPTION> on </SELECT> <DD> This option will show you some debug informtion. <DT> <B>Language:</B> <SELECT NAME="language"> <OPTION> English <OPTION> Dutch <OPTION> French <OPTION> German <OPTION> Italian <OPTION> Portuguese <OPTION> Spanish <OPTION> Swedish </SELECT> <DD> Choose the language you want to use. <DT> <B>Listenvironment</B> <INPUT TYPE="radio" NAME="listenv" CHECKED VALUE="DL"> <B>description list</B> <INPUT TYPE="radio" NAME="listenv" VALUE="PRE"> <B>preformatted</B> <INPUT TYPE="radio" NAME="listenv" VALUE="TABLE"> <B>table.</B> <DD> Choose listenvironment for headlines. <DT> <B>Multiple choice headline menu?</B> <INPUT TYPE="radio" NAME="multiple" CHECKED VALUE="1"><B>YES</B> <INPUT TYPE="radio" NAME="multiple" VALUE="0"><B>NO.</B> <DT> <B>Connect fields with</B> <INPUT TYPE="radio" NAME="tie" VALUE="and"><B>AND</B> <INPUT TYPE="radio" NAME="tie" CHECKED VALUE="or"><B>OR</B>. <DT> <B>Connect query parts within fields</B> <INPUT TYPE="radio" NAME="tieinternal" VALUE="and"><B>AND</B> <INPUT TYPE="radio" NAME="tieinternal" CHECKED VALUE="or"><B>OR</B>. <DD> You can tie the fields within the formular either with <EM>AND</EM> or with <EM>OR</EM>. <DT> <B>Show</B> <INPUT TYPE="radio" NAME="verbose" CHECKED VALUE="1"> <B>verbose headlines</B> <INPUT TYPE="radio" NAME="verbose" VALUE="0"> <B>short headlines.</B> <DD> <DT> <B>Give pointer to further matching documents?</B> <INPUT TYPE="radio" NAME="range" CHECKED VALUE="1"><B>YES</B> <INPUT TYPE="radio" NAME="range" VALUE="0"><B>NO.</B> <DD> <DT> <B>How many hits do you want at most?</B> <INPUT NAME="maxhits" TYPE="text" VALUE="5" SIZE=2> <DD> <DT> <INPUT NAME="directget" TYPE="checkbox" VALUE="1"> <B>Skip headline menu?</B> </DL> <INPUT NAME="convert" TYPE="hidden" VALUE="Label"> </FORM> <HR> <ADDRESS> SFgate 5.1 </ADDRESS> </BODY> </HTML>

Go to the first, previous, next, last chapter, table of contents.
SFgate 5.111