ontolearn.scripts.run
dicee –path_single_kg KGs/Family/family-benchmark_rich_background.owl –path_to_store_single_run embeddings –backend rdflib –save_embeddings_as_csv –model Keci –num_epoch 10
# Start Webservice ontolearn-webservice –path_knowledge_base KGs/Family/family-benchmark_rich_background.owl
# Send HTTP Get Request to train DRILL and evaluate it on provided pos and neg curl -X ‘GET’ ‘http://0.0.0.0:8000/cel’ -H ‘accept: application/json’ -H ‘Content-Type: application/json’ -d ‘{“pos”:[”http://www.benchmark.org/family#F2F14”], “neg”:[”http://www.benchmark.org/family#F10F200”], “model”:”Drill”,”path_embeddings”:”embeddings/Keci_entity_embeddings.csv”}’
# Send HTTP Get Request to load a pretrained DRILL and evaluate it on provided pos and neg curl -X ‘GET’ ‘http://0.0.0.0:8000/cel’ -H ‘accept: application/json’ -H ‘Content-Type: application/json’ -d ‘{“pos”:[”http://www.benchmark.org/family#F2F14”], “neg”:[”http://www.benchmark.org/family#F10F200”], “model”:”Drill”,”pretrained”:”pretrained”,”path_embeddings”:”embeddings/Keci_entity_embeddings.csv”}’
Module Contents
Functions
|
|
|
Initialize DRILL |
|
|
|
|
|
|
|
Attributes
- ontolearn.scripts.run.app
- ontolearn.scripts.run.args
- ontolearn.scripts.run.kb