RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
18 stars 7 forks source link

What is the correct predicate to use for a PROF Profile's preferred token? #234

Open ashleysommer opened 2 weeks ago

ashleysommer commented 2 weeks ago

@nicholascar I need your expert determination on this.

PROF ontology has a on property called hasToken to identify a Profile's preferred token to use. But all of the Prez built-in Profiles use dcterms:identifier (with xsd:token data-type) for their token.

https://github.com/RDFLib/prez/blob/45e8426fefc5b23edd3c0765eddd62f746f85b99/prez/reference_data/profiles/vocprez_default_profiles.ttl#L18-L21

I think the latter (dcterms:identifier with token data-type) fits better with the more recent thinking around "fewer custom properties in ontologies" and "use data-types where appropriate for string identifiers", but we should probably also support the actual PROF ontology standard of hasToken too.

ashleysommer commented 2 weeks ago

Related to https://github.com/w3c/dxwg/issues/453 and https://github.com/w3c/dxwg/issues/1061 Both of those threads are talking about this, but neither suggest the use of dcterms:identifier so I don't know where that has come from.