Added migrations to introduce Agent type for people, organisations, and agents-in-position

This commit is contained in:
mirdono
2023-11-20 10:24:47 +01:00
parent de9f2f19c1
commit 118c78ce97
3 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dc_terms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?org a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?org a org:Organization .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?org a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?org a org:Organization .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?org a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?org a org:Organization .
}
}

View File

@@ -0,0 +1,33 @@
PREFIX person: <http://www.w3.org/ns/person#>
PREFIX dc_terms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?person a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?person a person:Person .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?person a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?person a person:Person .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?person a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?person a person:Person .
}
}

View File

@@ -0,0 +1,32 @@
PREFIX ch: <http://data.lblod.info/vocabularies/contacthub/>
PREFIX dc_terms: <http://purl.org/dc/terms/>
INSERT {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?agentInPosition a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/administrative-unit> {
?agentInPosition a ch:AgentInPositie .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?agentInPosition a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/worship-service> {
?agentInPosition a ch:AgentInPositie .
}
}
INSERT {
GRAPH <http://mu.semte.ch/graphs/shared> {
?agentInPosition a dc_terms:Agent .
}
} WHERE {
GRAPH <http://mu.semte.ch/graphs/shared> {
?agentInPosition a ch:AgentInPositie .
}
}