w3c / yml2vocab

Generate RDFS vocabulary files from YAML
https://w3c.github.io/yml2vocab
Other
14 stars 5 forks source link

Foreign properties #21

Closed BigBlueHat closed 11 months ago

BigBlueHat commented 11 months ago

First, this is probably all wrong, and should be thrown out and reconsidered. 😁

That said, I needed a way to include terms previously defined in other vocabularies so I reused the defined_by option to allow for that. I wanted to use prefixes, so that's part of this mess also...and could be removed if full URLs would be preferred. It does make writing the YAML much faster, though. 😉

BigBlueHat commented 11 months ago

Sorry for the extra commits... This is on top of #20