Skip to content

Commit

Permalink
update osfmap vocab with shorthands
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Oct 22, 2024
1 parent 60ca2c2 commit 07c0481
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions trove/vocab/osfmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
FOAF,
OSFMAP,
OWL,
PROV,
RDF,
RDFS,
SKOS,
Expand Down Expand Up @@ -543,6 +544,54 @@
literal('hostingInstitution', language='en'),
},
},
PROV.qualifiedAttribution: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('qualifiedAttribution', language='en')},
},
PROV.agent: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('agent', language='en')},
},
DCAT.hadRole: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('hadRole', language='en')},
},
OSFMAP.usage: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('usage', language='en')},
},
OSFMAP.storageRegion: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('storageRegion', language='en')},
},
OSFMAP.storageByteCount: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('storageByteCount', language='en')},
},
OSFMAP.hasOsfAddon: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('hasOsfAddon', language='en')},
},
OSFMAP.viewCount: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('viewCount', language='en')},
},
OSFMAP.viewSessionCount: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('viewSessionCount', language='en')},
},
OSFMAP.downloadCount: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('downloadCount', language='en')},
},
OSFMAP.downloadSessionCount: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('downloadSessionCount', language='en')},
},
DCTERMS.temporal: {
RDF.type: {RDF.Property},
JSONAPI_MEMBERNAME: {literal('temporalCoverage', language='en')},
},
RDFS.label: {
RDF.type: {RDF.Property},
RDFS.label: {
Expand Down Expand Up @@ -708,6 +757,7 @@
literal('hasCedarTemplate', language='en'),
},
},

###
# values:
OSFMAP['no-conflict-of-interest']: {
Expand Down

0 comments on commit 07c0481

Please sign in to comment.