Skip to content

Commit

Permalink
remove w3c and openlink NS
Browse files Browse the repository at this point in the history
  • Loading branch information
xgaia committed Jun 25, 2020
1 parent 1023546 commit f7fd8df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions libabstractor/RdfGraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,8 @@ def check_entity(self, entity):
True if entity is a true one
"""
excluded_namespaces = (
"http://www.w3.org/2002/07/owl#",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"http://www.w3.org/2000/01/rdf-schema#",
"http://www.openlinksw.com/schemas/virtrdf#",
"http://www.w3.org/ns/sparql-service-description#"
"http://www.w3.org",
"http://www.openlinksw.com"
)

if entity.lower().startswith(excluded_namespaces):
Expand Down

0 comments on commit f7fd8df

Please sign in to comment.