Skip to content

Latest commit

 

History

History
270 lines (249 loc) · 9.96 KB

ucdlib.owl.org

File metadata and controls

270 lines (249 loc) · 9.96 KB

UCD Library Schema

This document describes the UCD linked data schema, additions for local properties and objects. This documentation file can be tangled to create the schema.owl.jsonld file. The schema.owl.jsonld file is what’s used to create the rest of the site.

Predicates

Aggie Experts Works

Aggie Experts describe works mostly with citeproc.js predicates. We are currently not including all of these, even though the current citeproc schema is not a jsonld representation, but instead a json-schema representation. This is most a

There are a few additions to a ucdlib:work that are required to

{
    "@id":"is-open-access",
    "@type":["owl:Property"],
    "domain":["schema:Boolean"],
    "range":["ucdlib:work"],
    "description":"Describes whether a work is available via open access."
},
{
    "@id":"rank",
    "@type":["owl:Property"],
    "domain":["schema:Number","schema:Text"],
    "range":["schema:Thing"],
    "description":"Provides ordering for items within a set. decimal values are sorted numerically, and strings are sorted lexigraphically"
}

Objects

Aggie Experts object replicates

Although we use the VIVO schema, we replicate a set of types that are explicitly for Aggie Experts. This is for consistency with the our naming scheme, and for future proofing from vivo

{
    "@id":"ucdlib:grant",
    "@type" : "owl:Class",
    "equivalentClass":"vivo:Grant"
},
{
    "@id":"ucdlib:person",
    "@type" : "owl:Class",
    "equivalentClass":"vivo:Person"
},
{
    "@id":"ucdlib:work",
    "@type" : "owl:Class",
    "equivalentClass":"vivo:Work"
}

Grant Information

{
    "@id": "ucdlib:dafis_abbrev",
    "@type" : "owl:Property",
    "domain":["xsd:string"],
    "range":["schema:Thing"],
    "subPropertyOf":"schema:identifier",
    "name":"UC Davis DAFIS Common Abbreviations"
}
{
    "@id" : "ucdlib:CoPrincipalInvestigatorRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "equivalentClass":"vivo:CoPrincipalInvestigatorRole",
    "dafis_abbrev":"COPI",
    "description" : "The head of a research project is called a Principal Investigator. On occasion, he or she may have one or more Co-Principal Investigators who share with him or her responsibility for participatory conduct of the project.",
    "label" : "Co-Principal Investigator"
}, {
    "@id" : "ucdlib:CoreLeaderRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "dafis_abbrev" : "CLDR",
    "description" : "Investigator who is designated as the lead for a “core”, as a component/project in large multi-project proposals like center grants (e.g. Center ABC, with an Administrative Core, an Education Core, and two projects). NIH refers to it as a “distinct, reviewable part…for which there is a business need to gather detailed information identified in the funding opportunity announcement”.",
    "label" : "Core Leader"
}, {
    "@id" : "ucdlib:KeyPersonnelRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "dafis_abbrev" : "KP",
    "description" : "Umbrella term for an investigator who will contribute / do work on / carry out the proposed project, part of the research team. May also be referred to as a primary contributor or senior personnel. Per NIH: “…individuals who contribute to the scientific development or execution of a project in a substantive, measurable way, whether or not they receive salaries or compensation under the grant…Consultants and those with a postdoctoral role also may be considered senior/key personnel if they meet this definition. Senior/key personnel must devote measurable effort to the project whether or not salaries or compensation are requested. \"Zero percent\" effort or \"as needed\" are not acceptable levels of involvement for those designated as Senior/Key Personnel.”",
    "label" : "Key Personnel"
}, {
    "@id" : "ucdlib:OtherRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "dafis_abbrev" : "OTHR",
    "label" : "Researcher"
}, {
    "@id" : "ucdlib:PrincipalInvestigatorRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "equivalentClass":"vivo:PrincipalInvestigatorRole",
    "dafis_abbrev" : "PI",
    "description" : "The head of a research project is called a Principal Investigator. On occasion, he or she may have one or more Co-Principal Investigators who share with him or her responsibility for participatory conduct of the project.",
    "label" : "Principal Investigator"
}, {
    "@id" : "ucdlib:ProgramDirectorRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "dafis_abbrev" : "PDIR",
    "description" : "Often used interchangeably with “Principal Investigator” (PD/PI); the person responsible for the project or program if awarded.",
    "label" : "Program Director"
}, {
    "@id" : "ucdlib:ProjectLeaderRole",
    "@type" : "owl:Class",
    "subClassOf":"vivo:InvestigatorRole",
    "dafis_abbrev" : "PLDR",
    "description" : "Investigator who is designated as the lead for a particular component within a multi-project proposal. “Project” may be used interchangeably with “Core” as defined above.",
    "label" : "Project Leader"
}
{
    "@id" : "ucdlib:AcademicSupportGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "G",
    "subClassOf" : "ucdlib:grant",
    "label" : "Academic Support"
}, {
    "@id" : "ucdlib:DefaultGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "X",
    "subClassOf" : "ucdlib:grant",
     "label" : "Default"
}, {
    "@id" : "ucdlib:InstructionGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "A",
    "subClassOf" : "ucdlib:grant",
    "label" : "Instruction"
}, {
    "@id" : "ucdlib:ResearchGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "C",
    "subClassOf" : "ucdlib:grant",
    "label" : "Research"
}, {
    "@id" : "ucdlib:ScholarshipGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "S",
    "subClassOf" : "ucdlib:grant",
    "label" : "Scholarships / Fellowships"
}, {
    "@id" : "ucdlib:ServiceGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "F",
    "subClassOf" : "ucdlib:grant",
    "label" : "Service / Other"
}, {
    "@id" : "ucdlib:StudentServiceGrant",
    "@type" : "owl:Class",
    "dafis_abbrev" : "S",
    "subClassOf" : "ucdlib:grant",
    "label" : "Student Service"
}

ucdlib.owl.jsonld

We automatically generate our official version of the owl file using this document.

Context File

We use a context file similar to vivo’s, for consistency with our best reprsentation.

"@context" : {
    "dafis_abbrev": {
        "@id": "ucdlib:dafis_abbrev"
    },
    "domain":{
        "@id" : "rdfs:domain"
    },
    "range":{
        "@id" : "rdfs:range",
        "@type":"@id"
    },
    "description" : {
        "@id" : "schema:description"
    },
    "label" : {
        "@id" : "rdfs:label"
    },
    "subClassOf" : {
        "@id" : "rdfs:subClassOf",
        "@type" : "@id"
    },
    "inverseOf" : {
        "@id" : "owl:inverseOf",
        "@type" : "@id"
    },
    "allValuesFrom" : {
        "@id" : "owl:allValuesFrom",
    "@type" : "@id"
  },
  "onProperty" : {
    "@id" : "owl:onProperty",
    "@type" : "@id"
  },
  "someValuesFrom" : {
    "@id" : "owl:someValuesFrom",
    "@type" : "@id"
  },
  "comment" : {
    "@id" : "rdfs:comment"
  },
  "equivalentClass" : {
    "@id" : "owl:equivalentClass",
    "@type" : "@id"
  },
  "subPropertyOf" : {
    "@id" : "rdfs:subPropertyOf",
    "@type" : "@id"
  },
  "@vocab" : "http://schema.library.ucdavis.edu/",
  "@base" : "http://schema.library.ucdavis.edu/",
  "obo" : "http://purl.obolibrary.org/obo/",
  "owl" : "http://www.w3.org/2002/07/owl#",
  "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
  "rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
  "schema": "http://schema.org/",
  "terms" : "http://purl.org/dc/terms/",
  "ucdlib" : "http://schema.library.ucdavis.edu/",
  "vivo" : "http://vivoweb.org/ontology/core#",
  "xsd" : "http://www.w3.org/2001/XMLSchema#"
}

File creation

The following file creates the schema file. Currently you have to explicitly add in each snippet above.

{
  <<context>>,
  "@graph":[
      <<ae-predicates>>,
  <<experts_types>>,
    <<dafis_abbrev>>,
    <<grant_roles>>,
    <<grant_types>>
          ]
}