microbiomedata / nmdc-schema

National Microbiome Data Collaborative (NMDC) unified data model
https://microbiomedata.github.io/nmdc-schema/
Creative Commons Zero v1.0 Universal
27 stars 8 forks source link

external_database_identifiers range of external identifier -> RDF conversion WARNING "No datatype specified for : external identifier" #500

Open turbomam opened 1 year ago

turbomam commented 1 year ago
poetry run linkml-convert \
        --output data_7.ttl \
        --target-class Database \
        --schema src/schema/nmdc.yaml data_7.json

With range: external identifier on external_database_identifiers

WARNING:root:No datatype specified for : external identifier, using plain Literal

WARNING does not appear when using either of these ranges

But those changes to not eliminate the terminating error:

ValueError: : Unknown CURIE prefix: @base

turbomam commented 1 year ago

Only a subset of the valid example data files cause this condition