Skip to content

Instantly share code, notes, and snippets.

@scherztc
Last active August 29, 2015 14:13
Show Gist options
  • Save scherztc/6a613bb6a2763e688434 to your computer and use it in GitHub Desktop.
Save scherztc/6a613bb6a2763e688434 to your computer and use it in GitHub Desktop.
RDF for Multi_Page_Text
<?xml version="1.0" encoding="UTF-8"?>
<!-- Attempt to describe a multi-page text at https://github.com/projecthydra-labs/hydra-works/issues/9 assuming that there mulitple items in multiple international organization strategies. Assuming that each object may only have 1 parent. -->
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:scholar="http://scholar.uc.edu#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:ore="http://www.openarchives.org/ore/terms/"
xmlns:hydra="http://projecthydra.org/ns/works#" xmlns:iana="http://www.iana.org/assignments/relation/">
<!-- scholar: doesn't really exist as it's being used here - it's some type of descriptive metadata that contains work titles and start and end times; may be MODS but may be some other type of metadata -->
<!-- Not sure rdf:Description is needed here if hydra: is managing same level of description and relationship. -->
<!--
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f1"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f2"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f3"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f4"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f2">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f3">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f4">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f5"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f6"/>
<ore:describes rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f7"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f5">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f6">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f7">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
</rdf:Description>
<rdf:Description about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_f1">
<ore:isDescribedBy rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
</rdf:Description>
<rdf:Description
about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<ore:proxyIn rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
</rdf:Description>
<rdf:Description
about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
<ore:proxyIn rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
</rdf:Description>
<rdf:Description
about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
<ore:proxyIn rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
</rdf:Description>
-->
<fcdm:Object rdf:about="http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<scholar:WorkTitle>US Governement Pamphlet</scholar:WorkTitle>
<scholar:WorkCreator>Barack Obama</scholar:WorkCreator>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f1/master/pdf"/>
</fcdm:hasFile>
<fcdm:hasMember>
<fcdm:Object rdf:about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1">
<scholar:WorkTitle>Page 1</scholar:WorkTitle>
<scholar:WorkCreator>Joe Biden</scholar:WorkCreator>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f2/representation/jpg"/>
</fcdm:hasFile>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f3/representation/tiff"/>
</fcdm:hasFile>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f4/representation/xml"/>
</fcdm:hasFile>
</fcdm:Object>
</fcdm:hasMember>
<fcdm:hasMember>
<fcdm:Object rdf:about="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2">
<scholar:WorkTitle>Page 2</scholar:WorkTitle>
<scholar:WorkCreator>Barack Obama</scholar:WorkCreator>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f5/representation/jpg"/>
</fcdm:hasFile>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f6/representation/jp2"/>
</fcdm:hasFile>
<fcdm:hasFile>
<fcdm:File
rdf:about="http://media/scholar:mptw_f7/representation/xml"/>
</fcdm:hasFile>
</fcdm:Object>
</fcdm:hasMember>
</fcdm:Object>
<ore:Proxy
rdf:about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<iana:first rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
<iana:last rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
</ore:Proxy>
<ore:Proxy
rdf:about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
<ore:proxyIn rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<iana:next rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
</ore:Proxy>
<ore:Proxy
rdf:about="http://oreproxy.org/r?what=http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2&amp;where=http://scholar.uc.edu/concern/generic_works/scholar:mptw">
<ore:proxyFor rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p2"/>
<ore:proxyIn rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw"/>
<iana:previous rdf:resource="http://scholar.uc.edu/concern/generic_works/scholar:mptw_p1"/>
</ore:Proxy>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment