Skip to content

Instantly share code, notes, and snippets.

@anarchivist
Created June 18, 2015 17:05
Show Gist options
  • Select an option

  • Save anarchivist/ccaf7e060a090659ba63 to your computer and use it in GitHub Desktop.

Select an option

Save anarchivist/ccaf7e060a090659ba63 to your computer and use it in GitHub Desktop.
Sample Pubby configuration for RightsStatements.org
@prefix conf: <http://richard.cyganiak.de/2007/pubby/config.rdf#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edm: <http://www.europeana.eu/schemas/edm/> .
@prefix odrl: <http://www.w3c.org/community/odrl/two/vocab/2.1/> .
@prefix premiscopy: <http://id.loc.gov/vocabulary/preservation/copyrightStatus/> .
@prefix rsdotorg: <http://rightsstatements.org/vocab/path/tba/> .
@prefix schema: <http://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
<> a conf:Configuration;
conf:projectName "RightsStatements.org";
conf:projectHomepage <http://rightsstatements.org/>;
conf:webBase <http://localhost:8983/rights/>;
conf:dataset [
conf:datasetBase <http://rightsstatements.org/vocab/path/tba/>;
conf:addSameAsStatements "true";
conf:loadRDF <https://github.com/rightsstatements/data-model/raw/master/rights-statements.ttl>;
];
## the following doesn't seem to do anything
# conf:usePrefixesFrom <https://github.com/rightsstatements/data-model/raw/master/rights-statements.ttl>;
conf:labelProperty skos:prefLabel, rdfs:label;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment