PREFIX schema:
PREFIX rdfs:
DELETE { ?s ?v . }
INSERT { ?s schema:givenName ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:familyName ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:birthDate ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:deathDate ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s . }
INSERT { ?s schema:gender schema:Female . }
WHERE { ?s . }
;
DELETE { ?s . }
INSERT { ?s schema:gender schema:Male . }
WHERE { ?s . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:birthPlace ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:deathPlace ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:image ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT {
?s schema:hasOccupation ?occ .
?occ a schema:Occupation .
?occ schema:name ?name .
}
WHERE {
?s ?v .
BIND(IRI(CONCAT("http://example.org/migrants/occupation/", ENCODE_FOR_URI(STR(?v)))) AS ?occ)
BIND(STRLANG(STR(?v), "en") AS ?name)
}
;
DELETE { ?s ?v . }
INSERT { ?s rdfs:comment ?v . }
WHERE { ?s ?v . }
;
DELETE { ?s ?v . }
INSERT { ?s schema:citation ?v . }
WHERE { ?s ?v . }