# Construct occupation instances. # Existing schema:Occupation instances pass through. # migrants:Profession instances are retyped as schema:Occupation. PREFIX rdfs: PREFIX skos: PREFIX schema: PREFIX migrants: CONSTRUCT { ?s a schema:Occupation . ?s schema:name ?name . } WHERE { ?s a schema:Occupation . OPTIONAL { ?s schema:name ?name } } ; CONSTRUCT { ?s a schema:Occupation . ?s a skos:Concept . ?s rdfs:label ?label . ?s skos:prefLabel ?prefLabel . ?s schema:name ?label . } WHERE { ?s a migrants:Profession . OPTIONAL { ?s rdfs:label ?label } OPTIONAL { ?s skos:prefLabel ?prefLabel } }