I hereby claim:
- I am vai2fc on github.
- I am vikeshojiorlati (https://keybase.io/vikeshojiorlati) on keybase.
- I have a public key ASDJECZzeSsGViC_XxwmE_ubxv0CoieNcVATlZr5Km6-4go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| 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 := |
| 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) |
| 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 |
| 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) |
An ISBN: 9780424000633
| 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) | |
| }; |
Atom
Package: Markdown Preview Plus