@@ -0,0 +1,565 @@
+# -*- coding: utf-8 -*-%0A%22%22%22%0ACreated on Tue Sep 15 07:37:02 2020%0A%0A@author: rish-r%0A%22%22%22%0A%0A# Proof-of-concept for a general purpose ontology mapper%0A# Extract from YAGO and DBpedia and load into ArangoDB KG%0A%0A%0A# Query open SPARQL databases, return formatted RDF triples %0Adef triples_generator(endpoint_url):%0A    %0A# Convert to standardized RDF vocabulary%0Adef vocab_mapper():%0A%0A# Convert to custom ontology by lookup to file or table    %0Adef ontology_mapper():%0A    %0A# Create nodes in ArangoDB%0Adef create_nodes():    %0A%0A# Create edges in ArangoDB%0Adef create_edges():%0A%0A    %0A    

Create ontology_mapper_demo.py