Skip to content

Commit 9011a46

Browse files
committed
fix:[doc] Updated RDF graph and TEI sample
1 parent f8a1006 commit 9011a46

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

README.md

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,18 +212,42 @@ In order to add the RDFa layer to the TEI-encoded documents, a small number of m
212212
We use the attribute *@typeOf* to declare the domain of the properties defined with the attribute *@property* (these properties are generally the predicates). A subject IRI reference is indicated using *@about*. The objects which are IRI references are represented using *@resource*, whilst objects that are literals are the textual node of the element. Please see below simplified version of our encoding with its RDF-like visualization.
213213

214214
```xml
215-
<person property="dc:creator" typeOf="foaf:Person" resource="https://viaf.org/viaf/29108480">
216-
<persName property="foaf:name">Antonia Díaz de Lamarque</persName>
217-
<gender property="foaf:gender" xml:lang="en">female</gender>
215+
<person xml:id="disco_100n" about="disco:100n" typeof="foaf:Person">
216+
<idno cert="high"
217+
property="rdfs:seeAlso"
218+
resource="https://viaf.org/viaf/29108480"/>
219+
<persName type="full">
220+
<forename property="foaf:givenName">Antonia</forename>
221+
<surname property="foaf:familyName">Díaz de Lamarque</surname>
222+
</persName>
223+
<sex property="foaf:gender" content="F"/>
224+
<birth>
225+
<location>
226+
<placeName>
227+
<settlement property="schema:birthPlace">Marchena (Sevilla)</settlement>
228+
</placeName>
229+
</location>
230+
<date property="schema:birthDate" content="1837" cert="high"/>
231+
</birth>
232+
<death>
233+
<date property="schema:deathDate" content="1892" cert="high"/>
234+
</death>
235+
<listBibl rel="blterms:hasCreated">
236+
<bibl resource="disco:s100n_0335" typeof="schema:CreativeWork">
237+
<title property="dc:title">A Dios en la Eucaristía</title>
238+
<title type="incipit" property="dc:alternative">Tu infinito poder en la armonía</title>
239+
</bibl>
240+
</listBibl>
218241
</person>
219242
```
220-
![rdf-graph](https://sites.google.com/site/ancillaryfiles/files/rdf-graph-example.png "Visualisation of the structured data in a brief author entry")
243+
![rdf-graph](https://sites.google.com/site/ancillaryfiles/files/pub-doc_graph.png?attredirects=0 "Visualisation of the structured data in a brief author entry")
221244

222245
We looked for the vocabularies that would translate more accurately the TEI semantics. To increase readability and to more easily combine different vocabularies, we used prefixes to shorten the IRIs to the appropriate term. In a similar way to our use of the RDFa attribute *@prefix*, we declared all the vocabularies inside element *listPrefixDef*, available in the TEIheader. We implemented the following vocabularies:
223246

224247
* [Dublin Core vocabulary](http://dublincore.org/documents/dcmi-terms/)
225248
* [FOAF](http://xmlns.com/foaf/spec/)
226249
* [schema.org](http://schema.org/)
250+
* [British Library Terms](http://www.bl.uk/bibliographic/datafree.html)
227251

228252
Furthermore, besides linking to the VIAF and, in a small number of cases, to the [Wikidata](https://www.wikidata.org) datasets for the identification of authors, we added some links to the [esDBpedia](http://es.dbpedia.org/) dataset, so as to refer to some metrical concepts that were available in this resource.
229253

0 commit comments

Comments
 (0)