Skip to content
This repository was archived by the owner on Mar 6, 2021. It is now read-only.

RDF Examples

p-galligan edited this page Jul 2, 2018 · 5 revisions
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix dcterms: <http://purl.org/dc/terms/>.
@prefix dc: <http://purl.org/dc/elements/1.1/>.
@prefix loc: <http://id.loc.gov/authorities/names/>.
@prefix ead: <https://www.loc.gov/ead/EAD3taglib/index.html#>.
@prefix foaf: <http://xmlns.com/foaf/0.99/>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix bf: <http://bibframe.org/vocab/>.
@prefix tgn: <http://vocab.getty.edu/page/tgn/>.
@prefix ore: <http://www.openarchives.org/ore/terms/>.
@prefix pcdm: <http://pcdm.org/models#>.
@prefix owl: <https://www.w3.org/TR/owl-ref/#>.
@prefix edm: <http://www.europeana.eu/schemas/edm/>.
@prefix premis: <http://id.loc.gov/vocabulary/preservation/> .

<!--AGENTS--!>

<http://example.org/Person> a dcterms:agent ;
  rdf:value loc:n84042461 ;
  foaf:name "Rockefeller, John D., Jr." .

<http://example.org/Organization> a dcterms:agent ;
  rdf:value loc:n50053846 ;
  foaf:organization "Rockefeller Brothers Fund" .

<!--NOTES--!>
<http://example.org/Note> a bf:Note ;
  bf:noteType "scopecontent" ;
  rdfs:label "Scope and Contents note" .

<!--TERMS--!>
<http://example.org/Geographic> a dcterms:location ;
  rdf:value tgn:7007568 ;
  skos:prefLabel "New York (state)" .

<http://example.org/Subject> a skos:Concept ;
  rdf:value loc:sh85020828 ;
  skos:prefLabel "Cataloging of archival materials" .

<!--DATES--!>
<http://example.org/Date> a dcterms:PeriodOfTime ;
  rdf:value "1880/1888" ;
  rdfs:label "1880 - 1888" .

<!--EXTENTS--!>
<http://example.org/Extent> a dcterms:SizeOrDuration ;
  rdf:value "100" ;
  rdfs:label "linear feet" .

<http://example.org/Extent2> a dcterms:SizeOrDuration ;
    rdf:value "5023213" ;
    rdfs:label "bytes" .

<!--LANGUAGE--!>
<http://example.org/Language> a dcterms:LinguisticSystem ;
  rdf:value "en" ;
  rdfs:label "English" .

<!--Rights--!>
<http://example.org/RightsStatement> a premis:File ;
    premis:hasRightsStatus <rightsStatus1> ;
    dcterms:rights <rightsBasis1> .

<rightsStatus1> a copStatus:cpr ;
    premis:startDate "2018-01-01" ;
    premis:endDate "OPEN" ;
    premis:hasBasis <rightsBasis1> .

<rightsBasis1> a premis:Copyright ;
    premis:hasJurisidiction: <http://ontologi.es/place/NY> ;
    premis:hasNote: "Copyright held by the donor" ;
    premis:allows <rule1> ;
    premis:prohibits <rule2> .

<rule1> a premis:Rule ;
    premis:act acGranted:rep ;
    premis:act acGranted:mig ;
    premis:hasBasis <rightsBasis1> .

<rule2> a premis:Rule ;
    premis:act acGranted:mod ;
    premis:act acGranted:del ;
    premis:hasBasis <rightsBasis1> .

<!--FILE--!>
<http://example.org/File> a pcdm:File ;
  dc:format "application/pdf" ;
  dcterms:extent "http://example.org/Extent2"
  dc:identifier "pdf0001" ;
  rdfs:label "Grant Number 0001"
  edm:uri "http://example.org/File:pdf001" .

<!--OBJECT--!>
<http://example.org/Object1> a pcdm:Object ;
  dcterms:title "Series 1" ;
  dc:identifier "ref0001" ;
  rdfs:label "series" ;
  dcterms:date <http://example.org/Date> ;
  dcterms:isPartOf <http://example.org/Collection> ;
  pcdm:hasFile <http://example.org/File> ;
  edm:WebResource <http://thumbnail.jpg> .

<http://example.org/Object2> a pcdm:Object ;
  dcterms:title "Series 2" ;
  dc:identifier "ref0002" ;
  dcterms:spatial <http://example.org/Geographic>
  rdfs:label "series" ;
  dcterms:isPartOf <http://example.org/Collection> .

<!--COLLECTION--!>
<http://example.org/Collection> a pcdm:Collection ;
  dcterms:creator <http://example.org/Organization> ;
  dcterms:contributor <http://example.org/Person> ;
  dcterms:title "Collection 1" ;
  dc:identifier "FA001" ;
  dcterms:date <http://example.org/Date> ;
  rdfs:label "collection" ;
  dcterms:language <http://example.org/Language> ;
  dcterms:extent <http://example.org/Extent> ;
  bf:note <http://example.org/Note> ;
  dcterms:rights <http://example.org/RightsStatement> ;
  dcterms:subject <http://example.org/Subject> ;
  pcdm:hasMember <http://example.org/Object1>, <http://example.org/Object2> .

Clone this wiki locally