[1] [3]. SQL SELECT GENERATE< media >< T F E > GENERATE. < media > HTML PDF < T F E > Target Form Expression ( ), 3.. (,). : Name, Tel name tel

Similar documents
: Name, Tel name tel (! ) name : Name! Tel tel ( % ) 3. HTML. : Name % Tel name tel 2. 2,., [ ]!, [ ]!, [ ]!,. [! [, ]! ]!,,. ( [ ], ),. : [Name], nam

([ ]!) name1 name2 : [Name]! name SuperSQL,,,,,,, (@) < >@{ < > } =,,., 200,., TFE,, 1 2.,, 4, 3.,,,, Web EGG [5] SSVisual [6], Java SSedit( ss

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =,

, [! [, ]! ]!,,., ([ ],). : [Name], name1 name2 name10 ([ ]!). name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =.,

Gray [6] cross tabulation CUBE, ROLL UP Johnson [7] pivoting SQL 3. SuperSQL SuperSQL SuperSQL SQL [1] [2] SQL SELECT GENERATE <media> <TFE> GENER- AT

. ([ ],) : [Name] name1 name2 name10 ([ ]!). name1 name2 : [Name]! name (@) < >@{ < > } = [employee.name@{width=200 color=red}]! l

DEIM Forum 2019 H2-2 SuperSQL SuperSQL SQL SuperSQL Web SuperSQL DBMS Pi

DEIM Forum 2013 B5-2 RMX RMX RMX $, RMX Implementation of the E-m

"-./0%. "-%!"#$#% $%&'(%)*+,%.!"#+$,$% &'()*% $%&'-(.(/%+,% $%&'0%12*+,'% 1 RMX.. grade gradetype= integer grade[

,, WIX. 3. Web Index 3. 1 WIX WIX XML URL, 1., keyword, URL target., WIX, header,, WIX. 1 entry keyword 1 target 1 keyword target., entry, 1 1. WIX [2

DEIM Forum 2009 B4-6, Str

, HTML HTML PHP, 3. SuperSQL SuperSQL [1] [2], SQL, SQL SELECT GENERATE <media> <TFE> GENERATE <media>, HTML XML, PDF <TFE> Target Form Expression,, 3

1 SuperSQL web HTML, SuperSQL PHP. SuperSQL, 1, XML, JavaScript SuperSQL web,, web Web Web, PHP [7], Ruby [8], Perl [9].,,,. Web,, HT

43_09.dvi

7,, i

Vol.55 No (Jan. 2014) saccess 6 saccess 7 saccess 2. [3] p.33 * B (A) (B) (C) (D) (E) (F) *1 [3], [4] Web PDF a m

IPSJ SIG Technical Report Vol.2009-HCI-134 No /7/17 1. RDB Wiki Wiki RDB SQL Wiki Wiki RDB Wiki RDB Wiki A Wiki System Enhanced by Visibl

IPSJ SIG Technical Report Vol.2010-SLDM-144 No.50 Vol.2010-EMB-16 No.50 Vol.2010-MBL-53 No.50 Vol.2010-UBI-25 No /3/27 Twitter IME Twitte

DEIM Forum 2009 E

Microsoft Word - toyoshima-deim2011.doc

DEIM Forum 2009 C8-4 QA NTT QA QA QA 2 QA Abstract Questions Recomme

IT,, i



3D UbiCode (Ubiquitous+Code) RFID ResBe (Remote entertainment space Behavior evaluation) 2 UbiCode Fig. 2 UbiCode 2. UbiCode 2. 1 UbiCode UbiCode 2. 2

3 3.1 SSedit ua012345% ssedit SuperSQL config.ssql log.txt( logs.txt) SSedit SSedit 3.2 ssql Putty SSedit ua012345% ssql HTML /public html/ssql.ssql 4

TCP/IP IEEE Bluetooth LAN TCP TCP BEC FEC M T M R M T 2. 2 [5] AODV [4]DSR [3] 1 MS 100m 5 /100m 2 MD 2 c 2009 Information Processing Society of

/var/lib/sharelatex/data/compiles/5a535643d11f6ba07fbbfa d68ddec3e /output.dvi

DEIM Forum 2010 A Web Abstract Classification Method for Revie

DVIOUT

dews2004-final.dvi

SERPWatcher SERPWatcher SERP Watcher SERP Watcher,

IPSJ SIG Technical Report Vol.2011-DBS-153 No /11/3 Wikipedia Wikipedia Wikipedia Extracting Difference Information from Multilingual Wiki

Table 1 Table 2

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

A Study on Throw Simulation for Baseball Pitching Machine with Rollers and Its Optimization Shinobu SAKAI*5, Yuichiro KITAGAWA, Ryo KANAI and Juhachi

独立行政法人情報通信研究機構 Development of the Information Analysis System WISDOM KIDAWARA Yutaka NICT Knowledge Clustered Group researched and developed the infor

, IT.,.,..,.. i

5) 2. Geminoid HI-1 6) Telenoid 7) Geminoid HI-1 Geminoid HI-1 Telenoid Robot- PHONE 8) RobotPHONE 11 InterRobot 9) InterRobot InterRobot irt( ) 10) 4

1 Web [2] Web [3] [4] [5], [6] [7] [8] S.W. [9] 3. MeetingShelf Web MeetingShelf MeetingShelf (1) (2) (3) (4) (5) Web MeetingShelf

/var/lib/sharelatex/data/compiles/5b35c6e168aeba3d a72a7acd11f6ba07fbbff68/output.dvi

e-learning station 1) 2) 1) 3) 2) 2) 1) 4) e-learning Station 16 e-learning e-learning key words: e-learning LMS CMS A Trial and Prospect of Kumamoto

& Vol.5 No (Oct. 2015) TV 1,2,a) , Augmented TV TV AR Augmented Reality 3DCG TV Estimation of TV Screen Position and Ro

untitled

untitled

2reN-A14.dvi

29 jjencode JavaScript

Vol.54 No (July 2013) [9] [10] [11] [12], [13] 1 Fig. 1 Flowchart of the proposed system. c 2013 Information

Vol. 9 No. 5 Oct (?,?) A B C D 132

(a) (b) 1 JavaScript Web Web Web CGI Web Web JavaScript Web mixi facebook SNS Web URL ID Web 1 JavaScript Web 1(a) 1(b) JavaScript & Web Web Web Webji

日本感性工学会論文誌

DEIM Forum 2014 D3-5 DSMS DSMS DSMS 2.13% RTOS Realtime-Aware Efficient Query Processing for Automotiv

09_加藤_紀要_2007

Microsoft Word - deim2011_new-ichinose doc

1 1 CodeDrummer CodeMusician CodeDrummer Fig. 1 Overview of proposal system c

Vol. 42 No. SIG 8(TOD 10) July HTML 100 Development of Authoring and Delivery System for Synchronized Contents and Experiment on High Spe

授受補助動詞の使用制限に与える敬語化の影響について : 「くださる」「いただく」を用いた感謝表現を中心に

Vol. 48 No. 3 Mar PM PM PMBOK PM PM PM PM PM A Proposal and Its Demonstration of Developing System for Project Managers through University-Indus

Web Basic Web SAS-2 Web SAS-2 i

BOK body of knowledge, BOK BOK BOK 1 CC2001 computing curricula 2001 [1] BOK IT BOK 2008 ITBOK [2] social infomatics SI BOK BOK BOK WikiBOK BO

DEIM Forum 2012 E Web Extracting Modification of Objec

IPSJ SIG Technical Report Vol.2012-HCI-149 No /7/20 1 1,2 1 (HMD: Head Mounted Display) HMD HMD,,,, An Information Presentation Method for Weara

IPSJ SIG Technical Report iphone iphone,,., OpenGl ES 2.0 GLSL(OpenGL Shading Language), iphone GPGPU(General-Purpose Computing on Graphics Proc

2. Twitter Twitter 2.1 Twitter Twitter( ) Twitter Twitter ( 1 ) RT ReTweet RT ReTweet RT ( 2 ) URL Twitter Twitter 140 URL URL URL 140 URL URL

3 3.1 SSedit ua012345% ssedit SuperSQL config.ssql log.txt( logs.txt) SSedit SSedit 3.2 ssql Putty SSedit ua012345% ssql HTML /public html/ssql.ssql 4


DEIM Forum 2010 D Development of a La

book-review.dvi

IPSJ SIG Technical Report Vol.2011-CE-110 No /7/9 Bebras 1, 6 1, 2 3 4, 6 5, 6 Bebras 2010 Bebras Reporting Trial of Bebras Contest for K12 stud

ACS電子ジャーナル利用マニュアル

ICT Web Web ICT Web 2. 新 学 習 指 導 要 領 の 理 念 と 教 育 の 情 報 化 の 意 義 2-1 新 学 習 指 導 要 領 の 理 念 ICT 2

CJL NEWS VOL JANUARY contents

ICT a) Caption Presentation Method with Speech Expression Utilizing Speech Bubble Shapes for Video Content Yuko KONYA a) and Itiro SIIO 1. Graduate Sc

DEIM Forum 2010 A3-3 Web Web Web Web Web. Web Abstract Web-page R

シリコーン・コンシェルジュ No.12

2 : Open Clip Art Library [4] Microsoft Office PowerPoint Web PowerPoint 2 Yahoo! Web [5] SlideShare Yahoo! Web Yahoo! Web

13 RoboCup The Interface System for Learning By Observation Applied to RoboCup Agents Ruck Thawonmas

fiš„v3.dvi


シリコーンコンシェルジュ7号

Abstract Journal of Agricultural Science 2

. Yahoo! 1!goo 2 QA..... QA Web Web [1]Web Web Yin [2] Web Web Web. [3] Web Wikipedia 1 2

22 (266) / Web PF-Web Web Web Web / Web Web PF-Web Web Web Web CGI Web Web 1 Web PF-Web Web Perl C CGI A Pipe/Filter Architecture Based Software Gener

untitled

1. [1, 2, 3] (PDF ) [4] API API [5] ( ) PDF Web Web Annotate[6] Digital Library for Earth System Education(DLESE)[7] Web PDF Text, Link, FreeTe


立命館21_松本先生.indd



立命館20_服部先生.indd




立命館16_坂下.indd



立命館人間科学研究No.10



立命館21_川端先生.indd

Transcription:

DEIM Forum 2011 C7-5 SuperSQL 223 8522 3 14 1 E-mail: tomonari@db.ics.keio.ac.jp, toyama@ics.keio.ac.jp SuperSQL, SQL SELECT GENERATE SQL., SuperSQL HTML,.,. SuperSQL, HTML, Equivalent Transformation on Link Expression in a SuperSQL Query Abstract Yosuke TOMONARI and Motomichi TOYAMA Department of Information and Computer Science, Keio University Hiyoshi 3 14 1, Kouhoku-ku, Yokohama-shi, Kanagawa, 223 8522 Japan E-mail: tomonari@db.ics.keio.ac.jp, toyama@ics.keio.ac.jp SuperSQL is an extension language, which enables us to express a variety of layouts, specifying output medium using GENERATE clause which syntax is GENERATE< media >< T F E > instead of SELECT clause in SQL. This article proposes a system which performs equivalent transformation on a link expression of a SuperSQL query specifying output medium to HTML and divides queries we can update partly. Additionally, we describe effectivenesses of what enables us to update queries partly. Key words SuperSQL, HTML, query language 1.,,,. WWW,. SuperSQL, SQL SE- LECT GENERATE< media >< T F E > GENERATE. media, HTML, PDF, SWF, Excel. T F E Target Form Expression,,. SuperSQL, HTML, Web. HTML, SuperSQL. TFE %, link, invoke. %,,,. Web. link, %, Web,., %, link.,. 2 SuperSQL. 3, 4. 5, 6. 2. SuperSQL SuperSQL. SuperSQL, SQL,

[1] [3]. SQL SELECT GENERATE< media >< T F E > GENERATE. < media > HTML PDF < T F E > Target Form Expression. 2. 1 ( ), 3.. (,). : Name, Tel name tel (! ). name : Name! Tel tel (%) 3. HTML. : Name % Tel name tel % SuperSQL, % HTML. HTML, HTML. SuperSQL Qa.sql, HTML Qa1.html, HTML, Qa2.html, Qa3.html,.... 1 % html 2. 2,.,. [ ]!, [ ]!, [ ]!,. [![, ]! ]!,,.,. ( [ ], ),. : [Name], name1 name2 name10 ( [ ]! ),. name1 name2 : [Name]! name10 2. 3 SuperSQL,,,,,,,. ( ). < >@{ < > } =.,. 2. 4 SuperSQL. 4. 2. 4. 1 imagefile imagefile.,. imagefile(id, path=./pic ) 2. 4. 2 link ( HTML link foreach.. link(cou.name, file=./menu.sql, att=co.country) link 1 URL, 2, 3. foreach, foreach. link 3 foreach,. foreach SuperSQL, foreach HTML. link Super-

SQL HTML, link 3 URL. link HTML, foreach foreach,. 2. 4. 3 invoke invoke,. link, SuperSQL, invoke,,. invoke(cou.name, file=./menu.sql, condition= ca.country= +co.country) 2. 4. 4 embed embed., HTML embed. embed(file=./test.sql where= ca.id= att=ca.id) 3. % link [4]. 3. 1 web SuperSQL, GENERATE media HTML, %,. %, Web,.,. % link,,. 3. 2 %,,. link,. % link,. 3. 3 % Web,. link,. 2 %, 3 link, Web. %,. link,, HTML. 2 3 3. 4 %,. link,,,,. 4. % link. %, TFE. TFE,,., FROM WHERE, % link [5] [6]. 4. 4, 5.

5 4. 1 GENERATE T F E. 6 Q0.sql TFE. 4. 2 link %,., TFE., TFE.. link, link 1., link 1 foreach, link 3.. link.,., link 2.. q1.sql TFE,, n.nation. link., q2.sql. 4. 3 FROM,. FROM, FROM. 4. 4 WHERE FROM, WHERE, WHERE. 6 Q0.sql TFE, %.,. %, % link. %. 7 Q0.sql q1.sql, q2.sql, q3.sql. 4. 5, foreach link 1,. link 1 S(1), foreach S(f). link 3, S(1) = S(f),. Q from T Q f (T ), where T Q w (T ). Q, Q f (T ) = Q w (T ).,. 7 q1.sql, q2.sql, q3.sql 5. 5. 1, % link. %, 2010 14 14., SuperSQL,., link, link %,. 14 % link 8., % link

8,, 21%. 8, link 3, 3. 43%. 9. link 3, 3., link 3 HTML link 3. 3. link 3.. 5. 2 % link, link. SuperSQL % 1, 2, 3, link.,.,. % 3, 3. 11. 9 9 SuperSQL, HTML., web.,,. 43%.,,. 10. 10 11, % 1, 2, 3, 2., %, link. %, link. SuperSQL, %. SuperSQL link,. 10, movie.id=cast.movie cast.actor=actor.id,,. link 3, % link. 6. 6. 1 SuperSQL HTML %, link.., 60%

., % link,,., SuperSQL % link. 6. 2 link 3, link 3., link 1 link 3,, link 3. 2010, link 3,. % link,, link 3., link 3,. % link, link 3., link 3. [1] SuperSQL: http://supersql.db.ics.keio.ac.jp/ [2] :,, Vol.93,No.152, P79-88,, 1993 [3] Motomichi Toyama, SupreSQL: An Extended SQL for Database Publishing and Presentation, Preceedings of ACM SIGMOD 98 International Conference on Management of Data, pp. 584-586, 1998 [4], : Web, 46(SIG 13(TOD 27)), 1-15, 2005-09-15 [5] T. Seto, T. Nagafuji and M. Toyama, Generating HTML Sources with TFE Enhanced SQL, Proc. ACM Symp. on Applied Computing(SAC 97), pp. 96-105, 1997 [6] Motomichi Toyama and Takuhiro Nagafuji: Dynamic and Structured Presentation of Database Contents on the Web Lecture Notes in Computer Science, 1998, Volume 1377/1998, 451-465 [7] E. F. Codd: A relational model of data for large shared data banks, Communications of the ACM, Volume 13 Issue 6, June 1970 [8] Alfred V. Aho, Jeffrey D. Ullman and John E. Hopcroft: Data Structures and Algorithms, Addison Wesley, January 11, 1983 [9] David Gries: Compiler Construction for Digital Computers, John Wiley & Sons, December, 1971 [10] J s GOAL - J : http://www.jsgoal.jp/