Last active
April 7, 2017 21:10
-
-
Save vai2fc/7a4bc7aa196379a4a93ac15c4ac07625 to your computer and use it in GitHub Desktop.
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment