title: "Approach to model work, instances and items" date: "2020-08-19" categories:
- Data Platform tags:
- EDM
- BIBFRAME
- FRBR
- Entity
{ | |
"@context": [ | |
{ | |
"@id": "http://id.loc.gov/ontologies/bibframe/Text", | |
"@type": ["http://www.w3.org/2002/07/owl#Class"], | |
"http://www.w3.org/2000/01/rdf-schema#label": [ | |
{"@value": "Text"} | |
], | |
"http://www.w3.org/2000/01/rdf-schema#subClassOf": [ | |
{"@id": "http://id.loc.gov/ontologies/bibframe/Work"} |
<element-citation publication-format="electronic" publication-type="journal" id="ref31"> | |
<person-group person-group-type="author"> | |
<name> | |
<surname>Glaser</surname> | |
<given-names>R.</given-names> | |
</name> | |
<name> | |
<surname>Bond</surname> | |
<given-names>L.</given-names> | |
</name> |
<ce:bib-reference id="bib2"> | |
<ce:label>2</ce:label><!-- ce:label is required for ce:bib-reference --> | |
<sb:reference id="sref2"> | |
<sb:contribution langtype="en"> | |
<sb:authors> | |
<sb:author> | |
<ce:given-name>B.</ce:given-name> | |
<ce:surname>Ábalos</ce:surname> | |
</sb:author> | |
</sb:authors> |
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Elsevier schema for the interface from E-submission systems to PTSIII | |
version: 2.4 | |
date: 2020-09-02 | |
copyright © 2014–2020 Elsevier B.V. | |
This is open access material under the CC BY license (http://creativecommons.org/licenses/by/4.0/). | |
--> | |
<!-- | |
Version 0.1 23 May 2014 [JMi] |
title: "Approach to model work, instances and items" date: "2020-08-19" categories:
from pyshacl import validate | |
shapes_file = ''' | |
{ | |
"@context": { | |
"xml": "http://www.w3.org/XML/1998/namespace", | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"rdfs": "http://www.w3.org/2000/01/rdf-schema#", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", |
<db-info> | |
<issn> ... </issn> | |
<isbn> ... </isbn> | |
<e-isbn> ... </e-isbn> | |
<p-isbn> ... </p-isbn> | |
<doi> ... </doi> | |
<book-title> ... </book-title> | |
<chapter-title> ... </chapter-title> | |
<edition> ... </edition> |
<ref-list> | |
<ref id="ref1"> | |
<mixed-citation publication-type="JOUR"> 1] J. Choma, M. Kloske, M. Jaroniec, An improved methodology for adsorption characterization of unmodified and modified silica gels, J. Colloid Interface Sci. 266 (1) (2003) 168-174. <pub-id pub-id-type="doi">10.1016/s0021-9797(03)00573-3</pub-id> | |
<pub-id pub-id-type="publisher-id">0041330342</pub-id> | |
<pub-id pub-id-type="pmid">12957596</pub-id> | |
</mixed-citation> | |
<citation-alternatives id="ref1-alt"> | |
<element-citation publication-format="electronic" publication-type="journal" specific-use="0.7759562841530054" id="ref1-0"> | |
<named-content content-type="outcome">final</named-content> | |
<person-group person-group-type="author"> |
{ | |
"@context": { | |
"edm": "https://data.elsevier.com/schema/edm/", | |
"idtype": "https://data.elsevier.com/e/identifier/", | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"pub": "https://data.elsevier.com/publishing/", | |
"id": { | |
"@type": "@id", | |
"@id": "@id" | |
}, |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE book-part-wrapper | |
PUBLIC "-//NLM//DTD BITS Book Interchange DTD with OASIS and XHTML Tables v2.0 20151225//EN" | |
"BITS-book2.dtd"> | |
<book-part-wrapper dtd-version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
<!-- | |
collection-meta is optional | |
--> | |
<collection-meta> | |
<title-group> |