Skip to content

Instantly share code, notes, and snippets.

@davidamichelson
davidamichelson / VoID
Created February 2, 2016 17:52 — forked from suellenstringer-hye/VoID
VoID file
@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/>;
xquery version "3.0";
declare namespace tei = "http://www.tei-c.org/ns/1.0";
let $list := ("http://syriaca.org/person/1210", "http://syriaca.org/person/1211")
for $uri in $list
return
for $person in fn:doc('/db/apps/srophe-data/data/persons/tei/saints/tei/1210.xml')//tei:person[tei:idno/text()[.=$uri]]
let $name := $person/tei:persName[@xml:lang="en"][contains(@syriaca-tags,"#syriaca-headword")]
@davidamichelson
davidamichelson / bl-data-teiHeader-mockup.xml
Last active September 2, 2022 22:19 — forked from wlpotter/bl-data-teiHeader-mockup.xml
A mockup of the teiHeader for The Digital Wright project.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml"
schematypens="http://purl.oclc.org/dsdl/schematron"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title level="a" xml:lang="en">BL Add MS 17229</title>
<title xml:lang="en" level="m">The Digital Wright: A Database of Syriac Manuscripts in the British Library</title>