Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8a5935004 | ||
|
|
cdf4417ca5 | ||
|
|
5a318a99fe |
@@ -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.
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -210,6 +210,10 @@
|
||||
"website": {
|
||||
"type": "uri",
|
||||
"predicate": "foaf:page"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"predicate": "schema:contactType"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
|
||||
@@ -158,7 +158,7 @@ services:
|
||||
restart: always
|
||||
logging: *default-logging
|
||||
frontend:
|
||||
image: lblod/frontend-contact-hub:1.5.3
|
||||
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