Skip to content

Commit

Permalink
Update ontology_messenger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaniah authored Dec 14, 2023
1 parent 0ee1502 commit e445db0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions relation_extraction/ontology_messenger.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import requests
import re
import os
from dotenv import load_dotenv

from relation_extraction.API_handler import APIHandler

class OntologyMessenger(APIHandler):
Expand All @@ -11,7 +9,6 @@ def API_endpoint():

def send_request():
"Function to extract relations based on the specified pattern"
load_dotenv()
print("Getting relations from online ontology...")
relations = []
query_string_s = 'http://dbpedia.org/ontology/'
Expand Down

0 comments on commit e445db0

Please sign in to comment.