@startuml
hide empty methods
hide empty attributes
hide circle
skinparam classAttributeIconSize 0
class _object_ObjectID_ as "<object/(ObjectID)>"
_object_ObjectID_ : a crm:E22_Man-Made_Object
class _object_ObjectIDclean_title_TitleIDclean_ as "<object/(ObjectIDclean)/title/(TitleIDclean)>"
_object_ObjectID_ -down-> _object_ObjectIDclean_title_TitleIDclean_ : crm:P102_has_title
_object_ObjectID_ :  "\nselect *, \n  replace[',','',ObjectID] as ObjectIDclean\n  replace[',','',TitleID] as TitleIDclean\n  [case TitleType of 'Primary Title' then Title else null end] as TitlePrimary\nfrom titles.csv\n"
_object_ObjectID_ : rdfs:label "[TitlePrimary]"
class _thesaurus_title_TitleTypeIDclean_ as "<thesaurus/title/(TitleTypeIDclean)>"
_thesaurus_title_TitleTypeIDclean_ : a skos:Concept
_thesaurus_title_TitleTypeIDclean_ : rdfs:label "[TitleType]"
_thesaurus_title_TitleTypeIDclean_ : skos:exactMatch aat:SOMETHING
_object_ObjectIDclean_title_TitleIDclean_ : a crm:E35_Title
_object_ObjectIDclean_title_TitleIDclean_ -down-> _thesaurus_title_TitleTypeIDclean_ : crm:P2_has_type
class _object_ObjectIDclean_title_TitleIDclean_id_ as "<object/(ObjectIDclean)/title/(TitleIDclean)/id>"
_object_ObjectIDclean_title_TitleIDclean_ -down-> _object_ObjectIDclean_title_TitleIDclean_id_ : crm:P1_is_identified_by
_object_ObjectIDclean_title_TitleIDclean_ : crmx:display_order "[DisplayOrder]"^^xsd:integer
_object_ObjectIDclean_title_TitleIDclean_ : rdf:value "[Title]"
_object_ObjectIDclean_title_TitleIDclean_id_ : a crm:E42_Identifier
_object_ObjectIDclean_title_TitleIDclean_id_ : rdf:value "[TitleIDclean]"
@enduml
