Skip to content

Commit

Permalink
add shorthand for new osfmap properties
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Oct 21, 2024
1 parent 645aa3c commit dd89a2a
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 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,50 @@
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')},
},
RDFS.label: {
RDF.type: {RDF.Property},
RDFS.label: {
Expand Down Expand Up @@ -708,6 +753,7 @@
literal('hasCedarTemplate', language='en'),
},
},

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

0 comments on commit dd89a2a

Please sign in to comment.