From efa224d40055a3a2ed6c5e5f5d1deed2f0c3ace9 Mon Sep 17 00:00:00 2001 From: Miel Vander Sande Date: Mon, 23 Sep 2024 13:42:53 +0200 Subject: [PATCH] Add id to contact type query --- queries/graph.schema_contact_point.sparql | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/queries/graph.schema_contact_point.sparql b/queries/graph.schema_contact_point.sparql index 89906ce..5cfb716 100644 --- a/queries/graph.schema_contact_point.sparql +++ b/queries/graph.schema_contact_point.sparql @@ -3,6 +3,7 @@ PREFIX schema: PREFIX haOrg: SELECT DISTINCT +?id ?organization_id ?schema_contact_type ?schema_email @@ -11,15 +12,15 @@ SELECT DISTINCT #?updated_at WHERE { ?organization_id a haOrg:ContentPartner; - schema:contactPoint ?point. + schema:contactPoint ?id. - ?point schema:contactType ?schema_contact_type. + ?id schema:contactType ?schema_contact_type. OPTIONAL { - ?point schema:email ?schema_email ; + ?id schema:email ?schema_email ; } OPTIONAL { - ?point schema:telephone ?schema_telephone . + ?id schema:telephone ?schema_telephone . } } \ No newline at end of file