update the filter so empty strings are not ingested

This commit is contained in:
felix
2025-01-17 11:19:19 +01:00
parent aaf87ee32f
commit 347844e341
6 changed files with 21 additions and 0 deletions

View File

@@ -20,4 +20,8 @@ CONSTRUCT {
FILTER(REGEX(?finalResult, """^\\+((32\\d{8})|(324\\d{8})|((?!32)\\d+))$"""))
BIND(CONCAT("tel:", ?finalResult) as ?cleanedPhoneNumber)
FILTER NOT EXISTS {
?s schema:telephone "" .
}
}

View File

@@ -3,4 +3,8 @@ CONSTRUCT {
} WHERE {
?s a <http://www.w3.org/ns/locn#Address>;
?p ?o.
FILTER NOT EXISTS {
?s ?p "" .
}
}

View File

@@ -4,4 +4,8 @@ CONSTRUCT {
?s a <http://schema.org/ContactPoint>;
?p ?o.
FILTER (?p NOT IN (<http://schema.org/telephone>))
FILTER NOT EXISTS {
?s ?p "" .
}
}

View File

@@ -3,4 +3,8 @@ CONSTRUCT {
} WHERE {
?s a <http://data.lblod.info/vocabularies/leidinggevenden/Functionaris>;
?p ?o.
FILTER NOT EXISTS {
?s ?p "" .
}
}

View File

@@ -8,4 +8,8 @@ CONSTRUCT {
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>,
<http://xmlns.com/foaf/0.1/familyName>
))
FILTER NOT EXISTS {
?s ?p "" .
}
}

View File

@@ -19,4 +19,5 @@ CONSTRUCT {
OPTIONAL { ?s persoon_loket:gebruikteVoornaam ?gebruikteVoornaam . }
OPTIONAL { ?s foaf:name ?name . }
}