clnsmth / soso

For creating Science On Schema.Org (SOSO) markup in dataset landing pages to improve data discovery through search engines.
https://soso.readthedocs.io/
MIT License
1 stars 0 forks source link

feat: get subjectOf from argument (#5) #30

Closed clnsmth closed 1 year ago

clnsmth commented 1 year ago

Retrieve the 'subjectOf' property from a user-provided argument and add to the graph.

While the majority of information required to populate the schema:subjectOf property can be assumed as constant (i.e. schema:name = "EML metadata for dataset" and schema:description = "EML metadata describing the dataset"), or is mappable to the EML schema (i.e. schema:dateModified = res:pubDate ), or extracted from the XML file header (i.e. schema:encodingFormat = xmlns:eml), the essential piece of information, the schema:contentUrl property, does not map EML and therefore makes any attempts at programmatically deriving the schema:subjectOf property a moot point.