# Construct enumeration instances with tm: types. # Replaces migrants: enum types with tm: equivalents. # Excludes migrants:Profession (handled in 010-occupations.rq) # and migrants:Gender (already covered by schema:GenderType). PREFIX rdfs: PREFIX skos: PREFIX tm: PREFIX migrants: CONSTRUCT { ?s a skos:Concept . ?s a ?tmType . ?s rdfs:label ?label . ?s skos:prefLabel ?prefLabel . } WHERE { VALUES (?oldType ?tmType) { ( migrants:Continent tm:Continent ) ( migrants:Country tm:Country ) ( migrants:State tm:State ) ( migrants:City tm:City ) ( migrants:MigrationReason tm:MigrationReason ) ( migrants:InstitutionType tm:InstitutionType ) ( migrants:Nametype tm:NameType ) ( migrants:RelationshipType tm:RelationshipType ) ( migrants:RelationshipTypePrecise tm:RelationshipTypePrecise ) ( migrants:Religion tm:Religion ) ( migrants:EmploymentType tm:EmploymentType ) ( migrants:ImportSource tm:ImportSource ) } ?s a ?oldType . OPTIONAL { ?s rdfs:label ?label } OPTIONAL { ?s skos:prefLabel ?prefLabel } }