cleaned up code

This commit is contained in:
Elias Papanikitas
2023-12-07 13:35:47 +01:00
parent b9263514b2
commit fbde10887b
2 changed files with 0 additions and 12 deletions

View File

@@ -3,14 +3,8 @@ PREFIX e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>
PREFIX schema: <http://schema.org/>
PREFIX : <#>
{
?s schema:telephone ?number.
# number not matches regex
?number string:notMatches """[a-zA-Z]""".
# Remove all non digits
( ?number ("""[^+\\d]""") ("") ) string:replaceAll ?scrape_result.

View File

@@ -3,14 +3,8 @@ PREFIX e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>
PREFIX schema: <http://schema.org/>
PREFIX : <#>
{
?s schema:telephone ?number.
# number not matches regex
?number string:notMatches """[a-zA-Z]""".
# Remove all non digits
( ?number ("""[^+\\d]""") ("") ) string:replaceAll ?scrape_result.