Atom
Package: Markdown Preview Plus
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
declare function local:lookup-sentences($word as xs:string, $id as xs:string, $key as xs:string) { | |
let $request := | |
<http:request href="https://od-api.oxforddictionaries.com/api/v1/entries/en/{$word}/sentences" method="get"> | |
<http:header name="app_key" value="{$key}"/> | |
<http:header name="app_id" value="{$id}"/> | |
</http:request> | |
return http:send-request($request) | |
}; |
An ISBN: 9780424000633
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
let $classes := collection('/db/bmtn-data/transcriptions')//tei:classCode[#scheme='CCS'] | |
return distinct-values($classes) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
let $musicsections := collection('/db/bmtn-data/transcriptions')//tei:classCode[.='Music']/ancestor::tei:relatedItem[@type='constituent'] | |
return $musicsections |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
let $sectionsofinterest := collection('/db/bmtn-data/transcriptions')/tei:date[@when > xs:date("1900-01-01")] | |
let $allmusicsections := collection('/db/bmtn-data/transcriptions')//tei:classCode[.='Music']/ancestor::tei:relatedItem[@type='constituent'] | |
return count($sectionsofinterest) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PAINTER | PAINTER_ID | LOCATION_CITY | COLLECTION_NAME | TRENDALL_ID | |
---|---|---|---|---|---|
Adolphseck Painter | 1 | Boston | Museum of Fine Arts | 4.52 | |
Adolphseck Painter | 1 | Naples | MANN | 4.54 | |
Adolphseck Painter | 1 | Lecce | Museo Provinciale Sigismondo Castromediano | 4.56 | |
Adolphseck Painter | 1 | Brussels | Private Collection (I. Errera) | 4.57 | |
Adolphseck Painter | 1 | St. Petersburg | Hermitage Museum | 4.58 | |
Adolphseck Painter | 1 | Paris | Louvre | 4.59 | |
Ariadne Painter | 2 | Naples | MANN | 1.111 | |
Ariadne Painter | 2 | London | British Museum | 1.114 | |
Ariadne Painter | 2 | Lisbon | Palácio de Belém | 01.118a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
let $doc := "/bluemountain-transcriptions/periodicals/bmtnaab/issues/1920/02_01/bmtnaab_1920-02_01.tei.xml" | |
for $id in fn:doc($doc)/tei:TEI//*/fn:data(@xml:id) | |
let $metadata := fn:doc($doc)/tei:TEI//*[@xml:id=$id] | |
let $article := fn:doc($doc)/tei:TEI//*[@corresp=$id] | |
let $tei := |
OlderNewer