3EITE¬

W W W  I F I  L M U  D E T Bibliograph Ar mybib:article_66_scaurus_qumran acm98:D_1_6 P A I r og Authors opics and Physical Home ‘L r 1 amming og ic ticle C ‘P T r echniques og ’ r amming — — Gr acm98:D_1 François Bry, Tim Furche narrower ‘F ’ aph da r om a g as in RDF and semi-struc ttr Qumr r W GRDDLing in Xcerpt P S Da r ea

ax Alina Hang, Benedikt Linse og narrower ‘ ‘S T V r ibut an C ‘ ablets t amming narrower C of isual acm98:D_1_7 omputing Classifi t a t acm98:D_4_2_e_i w emi-struc ase Study ar ont e o P acm98:D_4 tt ’ ’ es and namespac ap acm98:D_4_2_e en ‘ ta model yr W ’

i: primarySubject ax T narrower he acm98:D tion t T ablets hasTopConcept ca U T ta:

tion S Digital Home ’

ent: HTML or DocBook ‘ primarySubject narrower Oper y Entries: DBLP y Accessing XML as RDF in a Single Language hemes: SK st mybib:article_66_wax_cicero em

narrower acm98:CCS

o queryware.com/grddl a ting S ’ GRDDL: A De!nition

XML specifi

‘P narrower primarySubject acm98:D_4_2 ap y

M st yr narrower ‘S anagemen ems

acm98:H “GRDDL is a mechanism for Gleaning Resource Descriptions from Dialects of ‘St hasTopConcept St hasTopConcept ec i f ’ or or ondar ’ or X age age acm98:D_4_2_e_ii Languages. [It] introduces markup based on existing standards for declaring related ’ y tur t es ’ that an XML document includes data compatible with the Resource De-

c Legend acm98:H_2_1_a ‘I nf

ed DBs like L b-node er or

acm98:E scription Framework (RDF) and for linking to algorithms (typically repre- Da ma acm98:H_2_1 ‘Da ‘Spac ‘L pt and visX ta St cities og ‘Da tion S ta sented in XSLT), for extracting this data from the document.” ical D ta M ’ e or Event Date Calendar - and : for Dummies literal Calendar Data in RDF View y age on What? List—Compare—Analyze narrower st odels tur

esig Browser Rendering: Event Data in (X)HTML narrower ems

T related ime n } ] ] "to tachygraphy, systems as described in " ol ’ ’ such as ’ W

‘Da related Core idea: embed standardized mark-up for machine narrower “The Lixto systems acm98:E_1 - ax Optimal narrower article_66_cicero_wax ta Struc T narrower OS O — Get the event data from di!erent Web sites and process it, e.g., to ablets Fashion Week acm98:H_2 processing within HTML intended for human consumption applications in tachygraphy @ ], content within title authors or tur ’

c • “select and list all events taking place in Innsbruck during June 2007” body —GRDDL allows single document with both RDF and XML Business Intel- es er p Well-known fashion designers will present their new autumn collection.

e ed

’ http://.../robert/ http://.../tamara/

narrower subject acm98:H_3 narrower

‘E [ p h1 contributions narrower

ffi ligence and ‘Da

li li —eases publication and change management pt

[ [ Chang • “compare events from di!erent sources, e.g., to "nd events visited by me cien primarySubject "Though conditions for writing on wax tablets are adverse ", ... tabase M a [ [ [ [ scrolls[ calendar calendar mybib:inproc_44_brutus 02/10/2007 from 10:00 until 10:30. [ [

[ "Despite " [ "Space- and Time-Optimal Data Storage on Wax Tablets" [ Semantic Web” t M subject acm98:E_1_d acm98:E_1_c acm98:H_2_2 ing P "A History of Data Storage: From Stone to Parchment" and the colleague, I want to meet” anagemen nt em em href ... -style anagemen ersonal R Location: New York Source View (visXcerpt): Event Data in (X)HTML [ [ acm98:H_3_4_d

‘P • “analyze the event data, e.g., to "nd suitable free slots for a meeting”

‘I title T nf h acm98:H_3_4 y ‘ "Age of the " strong Gr ‘ or [ ^ t of R ], T sical D r ology ec ma aphs and Net ees For ticket reservation contact: Nancy Wu t M events events ‘

Applied Da — Aggregate and re-publish mesh-ups of the event data, e.g., on a Google Map or ’ narrower R primarySubject tion St anagemen r apidly ’ etr ds rdf:Seq mybib:journal_adm

esig http://.../eswc/ tiro narrower ’ iev h1 , cite[ ^ @ "1-94" — — C subject n rdf:type rdf:type rdf:_1 ees & G or al ’ subject schedule/t24 ’ age and [ [ @ onsist hCalendar : ta w t ], h1 ’ or How? Direct vs. RDF View "Challenges for Tachygraphy on Wax" "Homeric" non-hier possible tr childr narrower ks —uses HTML class attributes location ’ [ article 1 ], ^ (e ‘S "Section 2" "Contributions" ffi — — A rdf:_1 ‘P —vocabulary like in iCal RFC y Direct access using XML query lang. rdf:_2 rdf:_2 cienc st er — — Bibliog start ems and S , f article_66_scaurus_qumran r or — — T acm98:H_3_2 en or

manc —high "exibility of structure y and e mybib:conf_dmc ‘I ticle C

en such as XQuery or XSLT opics and nf strong D HTML: struc irr journal_adm or key sev r { e ev ma ocB

a —events may be nested ], skos:narrower of ff scheme plus some ad-hoc c par SK ar egular ec t tion St ther hard to program due to mix of HTML Elemen alua t Ex w ⊖ M Non-hier tiv anspar ar anagemen der ma F er

In —allows, e.g., sessions chical r ed a http://.../broadway/ http://.../nymag/ eness)’ e OS tion olding

’ 1 ook “Innsbruck” or ‘ t of A time A [ " Age:" and calendar data (microformat) al dv age within a conference

], events/fw07 r events/bb77 anc title day Or C r "Kings" -based on Applica ’ on aph t egular t f or on ttr emen t nesting ( , highly

: struc title or M ension track der elemen en t ar der "..." ], ], 2 Iden CM 1998 classifi tion ibut ts in Da y be ir ilitar ex

t View of only the interesting calendar ela r tur ed chical ’ ], en t r y and Civil t “09:00” y En -M T ta ed v aphs data in RDF tifi ], tions e thr “Beauty and esolution of schema with es tur hemes: s ] enu: start start t . "..." description , ts f er child description lists r end bo end unor ... the Beast” “2007-06-05” r r skos:related ecursiv t abstraction hiding HTML complexity

ela ⊕ elev e thr “Fashion Week” t and ":" ology using or x tries of ough , I n tions as

nesting ... r der inf , other t

], ], use of RDF as view format

XML ⊕ X ela er label an ], ough day time

orma day ac ed tion) bec egr • reuse of calendar standards for RDF t e "..." delimit tiv time childr of elemen "..." schema and h ca ],

e • integration with other RDF data tion f yperlinks wise “22:00” “10:30” F nesting

optionals “2007-10-02” tion “2007-02-18” ea time time day onc

] day c en list if done naively, less e#cient than

omes ⊖ olors ], ], ], c , et tur ocus ers epts es direct approach c ts “20:00” “2007-02-18” “10:00” “2007-10-02” .

GRDDL—the W3C way … XSLT Transform: Simplierpt "ed XSLT Template XSLT templates: GRDDL—the W3C way … SPARQL Query: List and Select Analysis queries in SPARQL: —powerful transformation language excelling at tree to tree —again data selection very easy, triple notation like t 1: PREFIX dc: transformation of data with no or loose schema —all of XPath 2.0's function library on simple types available Final Analysis: Plus and Minus Architecture principles: 2: PREFIX cal: ma —XPath expressions for data selection and input traversal a —for time data analysis quickly becomes unwieldy, integration of

ed) Standard approach but two languages

or —GRDDL used to associate XML 3: PREFIX rdf: —full stylesheet becomes extremely long (~ 500 lines) temporal reasoning (such as CATTS or CTTN) desirable of document with XSLT stylesheet 4: ⊕ uses established XSLT technology Transform: Full XSLT Stylesheet ializ icr —XSLT transforms XML into RDF 5: SELECT ?title ?sTime er ⊕ SPARQL easy to use if limited t 6: WHERE { ?x dc:title ?title. ?x a cal:Event. Query: Analyze Time Schedule —SPARQL query speci"es querting y 7: ?x cal:date ?date. ?date cal:startMonth ?sMonth. ⊕ endorsed way by the W3C likely to intent and is executed against —query involves time from the sample data 8: ?x cal:location ?location. become widely adopted

materialized RDF graph m (ma T C 9: OPTIONAL (?date cal:startTime ?sTime).

END (var (var (var )