Open turbomam opened 9 months ago
this retrieves the permissible values for an enum, but I want to specify the slot and look through its range for the enum.
PREFIX linkml: <https://w3id.org/linkml/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX nmdc_sub_schema: <https://example.com/nmdc_sub_schema/>
select * where {
nmdc_sub_schema:SpecificEcosystemEnum linkml:permissible_values ?pv .
?pv rdfs:label ?l .
}
This is possibly a result of changing the global range from type string to type enum
Maybe we should start with an enum, in the nmdc-schema, which starts out including all values for specific_ecosystem in the data
remember open enumS?
The global
range
of https://microbiomedata.github.io/submission-schema/specific_ecosystem/ isstring
but is is used with a https://microbiomedata.github.io/submission-schema/SpecificEcosystemEnum/ range in https://microbiomedata.github.io/submission-schema/SoilInterface/I don't believe that makes it into the output of
gen-owl