Muutke küpsiste eelistusi

E-raamat: XQuery for Humanists

  • Formaat: PDF+DRM
  • Sari: Coding for Humanists
  • Ilmumisaeg: 13-Apr-2020
  • Kirjastus: Texas A & M University Press
  • Keel: eng
  • ISBN-13: 9781623498306
  • Formaat - PDF+DRM
  • Hind: 55,25 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Sari: Coding for Humanists
  • Ilmumisaeg: 13-Apr-2020
  • Kirjastus: Texas A & M University Press
  • Keel: eng
  • ISBN-13: 9781623498306

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

XQuery is the best language for querying, manipulating, and transforming XML and JSON documents. Because XML is in many ways the lingua franca of the digital humanities, learning XQuery empowers humanists to discover and analyze their data in new ways.

Until now, though, XQuery has been difficult to learn because there was no textbook designed for non- or beginner programmers. XQuery for Humanists fills this void with an approachable guidebook aimed directly at digital humanists.

Clifford B. Anderson and Joseph C. Wicentowski introduce XQuery in terms accessible to humanities scholars and do not presuppose any prior background in programming. It provides an informed, opinionated overview and recommends the best implementations, libraries, and paradigms to empower those who need it most. Emphasizing practical applicability, the authors go beyond the XQuery language to include the basics of underlying standards like XPath, related standards like XQuery Full Text and XQuery Update, and explain the difference between XQuery and languages like Python and R. This book will afford readers the skills they need to build and analyze large-scale documentary corpora in XML. 

XQuery for Humanists is immeasurably valuable to instructors of digital humanities and library science courses alike and likewise is a ready reference for faculty, graduate students, and librarians who seek to master XQuery for their projects.
Introduction xiii
Chapter 1 Why XQuery for Humanists?
1(17)
1.1 Built for the Kind of Data Most Digital Humanists Use
1(3)
1.2 Easy for Beginning Programmers to Learn
4(3)
1.3 XML and Digital Humanities Data
7(6)
1.3.1 XML Compared to Other Formats
9(1)
1.3.1.1 JSON
9(2)
1.3.1.2 RDF
11(2)
1.4 XQuery Compared to XSLT
13(2)
1.5 A Great Digital Humanities Community
15(2)
1.6 Questions
17(1)
Chapter 2 Setting Up Your XQuery Environment
18(15)
2.1 Installing Java
21(1)
2.2 Setting Up BaseX
21(1)
2.3 Setting Up eXist
22(2)
2.4 Setting Up oXygen
24(2)
2.5 Setting Up Saxon
26(1)
2.6 Accessing Online Companion Materials
27(1)
2.7 Preserving and Sharing Code with GitHub
27(4)
2.8 Questions and Exercises
31(2)
Chapter 3 Reviewing XML and Related Standards
33(22)
3.1 History and Goals of XML
33(2)
3.2 XML Basics
35(6)
3.2.1 Writing Well-Formed XML
35(4)
3.2.2 Writing Valid XML
39(2)
3.3 XML as a Data Standard
41(3)
3.4 XML Gotchas
44(8)
3.4.1 Embracing Namespaces
46(3)
3.4.2 Escaping Strings
49(1)
3.4.3 Whitespace
50(2)
3.5 Questions and Exercises
52(3)
Chapter 4 Finding Your Way Around with XPath
55(24)
4.1 XPath Axes
57(1)
4.2 Node Tests by Kind
58(3)
4.3 XPath's Abbreviated Syntax
61(2)
4.4 XPath Functions
63(9)
4.5 XPath Tips and Tricks
72(4)
4.5.1 Wildcards
72(1)
4.5.2 Value Comparisons
73(2)
4.5.3 Selecting Multiple Element Names with the Union Operator
75(1)
4.5.4 Selecting the "Nth" Item or a Range of Items
75(1)
4.6 Questions and Exercises
76(3)
Chapter 5 XQuery Basics
79(28)
5.1 The Parts of an XQuery
80(4)
5.2 Enclosed Expressions and Curly Braces
84(1)
5.3 FLWOR Expressions
85(16)
5.3.1 Binding Variables
86(2)
5.3.2 Iterating over Variables
88(2)
5.3.3 Filtering Results
90(2)
5.3.3.1 A Short Note on Comparisons
92(2)
5.3.4 Ordering Results
94(2)
5.3.5 Counting Results
96(2)
5.3.6 Grouping Results
98(3)
5.4 Conditional Expressions
101(4)
5.4.1 Effective Boolean Values
102(1)
5.4.2 The Else Clause Is Required: A Few Tips About Using Conditional Expressions
103(1)
5.4.3 Chaining Conditional Expressions
104(1)
5.5 Questions and Exercises
105(2)
Chapter 6 Next Steps with XQuery
107(24)
6.1 The Built-In Function Library
107(7)
6.2 Writing Your Own Functions
114(5)
6.3 Using Library Modules
119(8)
6.3.1 Importing Library Modules
119(2)
6.3.2 Creating Your Own Library Modules
121(3)
6.3.3 Public and Private Functions
124(3)
6.3.4 Wrapping Up
127(1)
6.4 Questions and Exercises
127(4)
Chapter 7 Advanced XQuery
131(32)
7.1 String Constructors
131(5)
7.2 Maps and Arrays
136(16)
7.2.1 Revisiting Sequences
136(3)
7.2.2 Maps
139(6)
7.2.3 Arrays
145(2)
7.2.4 Combining Maps and Arrays
147(2)
7.2.5 Modifying Maps and Arrays
149(3)
7.3 Windowing
152(8)
7.3.1 Understanding Tuple Streams
152(2)
7.3.2 Tumbling Windows
154(2)
7.3.3 Sliding Windows
156(4)
7.4 Questions and Exercises
160(3)
Chapter 8 Thinking Functionally
163(37)
8.1 Immutability
164(3)
8.2 Maps
167(5)
8.3 Folds
172(4)
8.4 Recursion
176(15)
8.4.1 Transforming Data with Recursive Typeswitch
179(12)
8.5 Higher-Order Functions
191(7)
8.6 Questions and Exercises
198(2)
Chapter 9 Modifying Your Data with XQuery Update
200(24)
9.1 Copying Data
201(3)
9.2 Transform Expressions
204(11)
9.2.1 Insert
204(2)
9.2.2 Delete
206(1)
9.2.3 Replace
207(2)
9.2.4 Rename
209(2)
9.2.5 Transform With
211(4)
9.3 Updating Expressions
215(7)
9.3.1 Changing the World
215(4)
9.3.2 Updating Functions
219(3)
9.4 Questions and Exercises
222(2)
Chapter 10 Searching with XQuery Full Text
224(27)
10.1 Finding Patterns with XPath
224(6)
10.1.1 Searching Substrings
225(1)
10.1.2 Regular Expressions
226(4)
10.2 The Full Text Contains Text Operator
230(19)
10.2.1 Scoring
233(1)
10.2.2 Any-All Options
234(2)
10.2.3 Cardinality
236(1)
10.2.4 Positional Filters
237(5)
10.2.5 Weighting
242(2)
10.2.6 Match Options
244(5)
10.3 Questions and Exercises
249(2)
Chapter 11 Handling Errors Gracefully
251(18)
11.1 Documenting Your XQuery with XQDoc
252(5)
11.2 Catching Mistakes Before You Run Anything
257(3)
11.3 Catching Errors at Runtime
260(5)
11.4 Unit Testing with XQuery
265(1)
11.5 Questions and Exercises
266(3)
Chapter 12 Using XQuery with Other Digital Humanities Tools
269(27)
12.1 XQuery and JSON
271(9)
12.2 XQuery and CSV
280(10)
12.3 XQuery and XSLT
290(4)
12.4 Questions and Exercises
294(2)
Chapter 13 Conclusion
296(9)
13.1 XQuery Paralipomena
296(1)
13.1 Web Applications
297(3)
13.1.2 Databases
299(1)
13.2 The XQuery Community
300(4)
13.2.1 Books
300(1)
13.2.2 Digital Forums
301(2)
13.2.3 Conferences and Training
303(1)
13.3 Questions and Exercises
304(1)
Acknowledgments 305(2)
Notes 307(12)
About the Authors 319(2)
Index 321
Clifford B. Anderson is associate university librarian for research and learning at Vanderbilt University. He resides in Nashville, Tennessee.

Joseph C. Wicentowski is digital history advisor in the Office of the Historian at the US Department of State. He resides in Arlington, Virginia.