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
<birth when="0306" source="#bib13-11">0306</birth> | |
<death when="0373" source="#bib13-1">373</death> |
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
declare default element namespace "http://www.tei-c.org/ns/1.0"; | |
(: Which scene does each actor appear in? | |
Group by actor ($person) | |
Variable bound to scene, do not group | |
:) | |
for $scene in //div2[@type="scene"] | |
for $speech in $scene//sp | |
for $whoville in $speech//*[@who] |
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"; | |
for $abstracts in doc('/db/apps/persons/data/working-files/gedsh-abstracts-in-correction-20140729.xml')//row[Type='person'] | |
let $id := concat('person-',$abstracts/SRP_ID[1]/text()) | |
let $abstract-text := $abstracts/Abstract | |
let $note := $abstracts/Not_Useful/text() | |
let $auth := $abstracts/Author/text() | |
let $title := $abstracts/Headword/text() |
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 "1.0"; | |
declare namespace tei="http://www.tei-c.org/ns/1.0"; | |
let $langs := ("syr", "syr-Syrn", "syr-Syrj", "en", "en-x-gedsh") | |
let $doc := fn:doc("13.xml") | |
for $person in $doc//tei:person | |
let $uri := $doc//tei:person//tei:idno/text() | |
for $name in $person/tei:persName | |
let $names := $name//text()[. = normalize-space(.)] | |
let $lang :=$name/@xml:lang/string() |
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"; | |
for $node in doc("/Users/davidmichelson/GitHub Repositories/srophe/draft-data/data/works/Zanetti_XSL_Conversion/ZanettiBiblFull.xml")//tei:bibl/text() | |
return analyze-string($node | |
, "[,]*\s*[p]\.(\s)*\w*[-]*\w*.*$") |
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
@prefix : <http://syriaca.org/terms> . | |
#we need to make the above namespace | |
@prefix void: <http://rdfs.org/ns/void#> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | |
:my-dataset a void:Dataset; | |
dcterms:title "The Syriac Gazetteer"; | |
dcterms:publisher "Syriaca.org: The Syriac Reference Portal"; | |
foaf:homepage <https://syriaca.org/>; |
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"; | |
for $doc in fn:collection("/db/apps/incomplete-saints")//tei:TEI | |
let $abstract := $doc//tei:note[@type='abstract'] | |
let $uri := $doc//tei:publicationStmt//tei:idno[@type="URI"] | |
let $name := $doc//tei:persName[@xml:lang="en"] | |
return |
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
, Australian Early Medieval Association Journal | |
'Die Personennamen in den Akten der edessenischen Märtyrer Šarbēl und Bar Sāmyā' | |
"A Newly Discovered Wall Painting in the Church of Mar Giworgis in Qaraqosh, Iraq" | |
"Abgar" | |
"Bar 'Eta" | |
"Barsamyā, Märtyrer in Edessa" | |
"Children as Pilgrims and the Cult of the Holy Children in the Early Syriac Tradition: The Cases of Theodoret of Cyrrhus and the Child-Martyrs Behnām, Sarah, and Cyriacus" | |
"Christlicher Heiligenkult im Umkreis eines sassanidischen | |
"Commemoraisons" | |
"Die Legende von Mar Behnam" |
OlderNewer