_PROF.py 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. from rdflib.namespace import DefinedNamespace, Namespace
  2. from rdflib.term import URIRef
  3. class PROF(DefinedNamespace):
  4. """
  5. Profiles Vocabulary
  6. This vocabulary is for describing relationships between standards/specifications, profiles of them and
  7. supporting artifacts such as validating resources. This model starts with
  8. [http://dublincore.org/2012/06/14/dcterms#Standard](dct:Standard) entities which can either be Base
  9. Specifications (a standard not profiling any other Standard) or Profiles (Standards which do profile others).
  10. Base Specifications or Profiles can have Resource Descriptors associated with them that defines implementing
  11. rules for the it. Resource Descriptors must indicate the role they play (to guide, to validate etc.) and the
  12. formalism they adhere to (dct:format) to allow for content negotiation. A vocabulary of Resource Roles are
  13. provided alongside this vocabulary but that list is extensible.
  14. Generated from: https://www.w3.org/ns/dx/prof/profilesont.ttl
  15. Date: 2020-05-26 14:20:03.542924
  16. """
  17. # http://www.w3.org/2002/07/owl#Class
  18. Profile: URIRef # A named set of constraints on one or more identified base specifications or other profiles, including the identification of any implementing subclasses of datatypes, semantic interpretations, vocabularies, options and parameters of those base specifications necessary to accomplish a particular function. This definition includes what are often called "application profiles", "metadata application profiles", or "metadata profiles".
  19. ResourceDescriptor: URIRef # A resource that defines an aspect - a particular part or feature - of a Profile
  20. ResourceRole: URIRef # The role that an Resource plays
  21. # http://www.w3.org/2002/07/owl#DatatypeProperty
  22. hasToken: URIRef # A preferred alternative identifier for the Profile
  23. # http://www.w3.org/2002/07/owl#ObjectProperty
  24. hasArtifact: URIRef # The URL of a downloadable file with particulars such as its format and role indicated by a Resource Descriptor
  25. hasResource: URIRef # A resource which describes the nature of an artifact and the role it plays in relation to a profile
  26. hasRole: URIRef # The function of the described artifactresource in the expression of the Profile, such as a specification, guidance documentation, SHACL file etc.
  27. isInheritedFrom: URIRef # This property indicates a Resource Descriptor described by this Profile’s base specification that is to be considered a Resource Descriptor for this Profile also
  28. isProfileOf: URIRef # A Profile is a profile of a dct:Standard (or a Base Specification or another Profile)
  29. isTransitiveProfileOf: URIRef # A base specification an Profile conforms to
  30. _NS = Namespace("http://www.w3.org/ns/dx/prof/")