From fbde10887b44ffaeaafd9dcf405aabbc17f2b7f2 Mon Sep 17 00:00:00 2001 From: Elias Papanikitas Date: Thu, 7 Dec 2023 13:35:47 +0100 Subject: [PATCH] cleaned up code --- config/reasoner/dl2op/main-info/phone_number.n3 | 6 ------ config/reasoner/dl2op/main/phone_number.n3 | 6 ------ 2 files changed, 12 deletions(-) diff --git a/config/reasoner/dl2op/main-info/phone_number.n3 b/config/reasoner/dl2op/main-info/phone_number.n3 index 4a2d2f2..da5ce99 100644 --- a/config/reasoner/dl2op/main-info/phone_number.n3 +++ b/config/reasoner/dl2op/main-info/phone_number.n3 @@ -3,14 +3,8 @@ PREFIX e: PREFIX schema: 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. diff --git a/config/reasoner/dl2op/main/phone_number.n3 b/config/reasoner/dl2op/main/phone_number.n3 index 4a2d2f2..da5ce99 100644 --- a/config/reasoner/dl2op/main/phone_number.n3 +++ b/config/reasoner/dl2op/main/phone_number.n3 @@ -3,14 +3,8 @@ PREFIX e: PREFIX schema: 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.