GH-5709: added vocabularies typically used in EU projects#5739
GH-5709: added vocabularies typically used in EU projects#5739barthanssens wants to merge 1 commit intoeclipse-rdf4j:developfrom
Conversation
0d95797 to
8b57a97
Compare
|
@barthanssens for these new vocabularies, can you use the case from the iri name instead of all caps? It makes it a lot easier for users to find the correct vocabulary when our names are identical to the vocabulary. |
|
@hmottestad uhm, for the java class name you mean ? e.g. GeoDCAT-AP instead of GEODCATAP ? Sure can do. And/or for the IRIs for the RDF properties / classes as well ? |
|
So I've changed the all-uppercase IRI for classes and properties of EU vocabularies package, would you like me to do the same for the newly added (but more generic) vocabularies like BIBO in the "main" vocabularies package ? |
Thanks. We don't need to do it for existing vocabularies or for new IRIs to existing vocabularies. For new vocabularies it reduces confusion and improves discoverability. It's always challenging when a vocabulary uses the same term for a class and a predicate when we use uppercase for all Java constants. |
|
And yes, think it's a good idea to use the same case as the IRI for all new vocabulary sets we introduce. |
|
Ok, makes sense, I'll change the IRIs of the other newly added vocabularies as well |
36bfdb2 to
3859946
Compare
aba486e to
4da008b
Compare
|
Split / moved into newer java packages. Also moved the Vocabularies helper class to model.base and made it public to make it reusable across packages |
GitHub issue resolved: #5709
Briefly describe the changes proposed in this PR:
PR Author Checklist (see the contributor guidelines for more details):
mvn process-resourcesto format from the command line)