Replace tm:reason and tm:secondaryReason with a single tm:hasReason property (937 triples). Refactor 6 flat date properties into structured tm:uncertainBeginning/tm:uncertainEnd intervals using W3C OWL-Time, introducing tm:FuzzyInterval as a superclass of tm:Migration, org:Membership, tm:Relationship, tm:PersonName, and tm:ReligionAffiliation. Output: data/graph-08.ttl (218,251 triples).
46 lines
649 B
SPARQL
46 lines
649 B
SPARQL
# Remove all 6 old date properties now that their values have been
|
|
# restructured into tm:uncertainBeginning / tm:uncertainEnd intervals.
|
|
|
|
PREFIX tm: <https://daniel.degu.cl/ontologies/theatre-migrants/>
|
|
|
|
DELETE {
|
|
?s tm:dateStartMin ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateStartMin ?o .
|
|
}
|
|
;
|
|
DELETE {
|
|
?s tm:dateStartMax ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateStartMax ?o .
|
|
}
|
|
;
|
|
DELETE {
|
|
?s tm:dateEndMin ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateEndMin ?o .
|
|
}
|
|
;
|
|
DELETE {
|
|
?s tm:dateEndMax ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateEndMax ?o .
|
|
}
|
|
;
|
|
DELETE {
|
|
?s tm:dateStartFuzzy ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateStartFuzzy ?o .
|
|
}
|
|
;
|
|
DELETE {
|
|
?s tm:dateEndFuzzy ?o .
|
|
}
|
|
WHERE {
|
|
?s tm:dateEndFuzzy ?o .
|
|
}
|