Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8a5935004 | ||
|
|
cdf4417ca5 | ||
|
|
5a318a99fe | ||
|
|
f36e2ba706 | ||
|
|
f41430b699 | ||
|
|
422e92a343 |
@@ -0,0 +1,18 @@
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?changeEventResult org:organization ?organization .
|
||||
}
|
||||
} INSERT {
|
||||
GRAPH ?g {
|
||||
?changeEventResult ext:resultingOrganization ?organization .
|
||||
}
|
||||
} WHERE {
|
||||
GRAPH ?g {
|
||||
?changeEventResult a <http://lblod.data.gift/vocabularies/organisatie/VeranderingsgebeurtenisResultaat> ;
|
||||
org:organization ?organization .
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
# cf 20220110100000-secondary-contacts.sparql for context.
|
||||
# In case it's not a secondary contactpoint (a contactpoint without an address if multiple contact points exist for one entity/mandataris)
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?contactPoint
|
||||
schema:contactType "Primary"
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?contactPoint
|
||||
a schema:ContactPoint.
|
||||
FILTER NOT EXISTS {
|
||||
?contactPoint
|
||||
schema:contactType "Secondary"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
PREFIX locn: <http://www.w3.org/ns/locn#>
|
||||
PREFIX schema: <http://schema.org/>
|
||||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
INSERT {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?secondary
|
||||
schema:contactType "Secondary"
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
GRAPH <http://mu.semte.ch/graphs/organisatieportaal> {
|
||||
?primary
|
||||
a schema:ContactPoint;
|
||||
locn:address ?a1;
|
||||
schema:telephone ?t1.
|
||||
?mandataris schema:contactPoint ?primary, ?secondary.
|
||||
?secondary
|
||||
schema:telephone ?t2.
|
||||
FILTER NOT EXISTS {
|
||||
?secondary locn:address ?a2.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -58,7 +58,7 @@
|
||||
"attributes": {},
|
||||
"relationships": {
|
||||
"resulting-organization": {
|
||||
"predicate": "org:organization",
|
||||
"predicate": "ext:resultingOrganization",
|
||||
"target": "organizations",
|
||||
"cardinality": "one"
|
||||
},
|
||||
|
||||
@@ -210,6 +210,10 @@
|
||||
"website": {
|
||||
"type": "uri",
|
||||
"predicate": "foaf:page"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"predicate": "schema:contactType"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
@@ -311,7 +315,7 @@
|
||||
"inverse": true
|
||||
},
|
||||
"change-event-results": {
|
||||
"predicate": "org:organization",
|
||||
"predicate": "ext:resultingOrganization",
|
||||
"target": "change-event-results",
|
||||
"cardinality": "many",
|
||||
"inverse": true
|
||||
|
||||
@@ -158,7 +158,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-contact-hub:1.5.1
|
||||
image: lblod/frontend-contact-hub:1.5.4
|
||||
volumes:
|
||||
- ./config/frontend/add-x-frame-options-header.conf:/config/add-x-frame-options.conf
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user