#knowledge_useBlazeGraphBulkLoad = True, #knowledge_bulkLoadEndpoint = 'http://localhost:8080/blazegraph/dataloader', #knowledge_BlazeGraphProperties = '/apps/whyis/knowledge.properties', #load_dir = '/data/loaded', #knowledge_bulkLoadNamespace = 'knowledge', LOGIN_USER_TEMPLATE="auth/login.html", CELERY_BROKER_URL='redis://localhost:6379/0', CELERY_RESULT_BACKEND='redis://localhost:6379/0', CACHE_TYPE="redis", # Flask-Caching related configs CACHE_KEY_PREFIX='whyis_cache_', CACHE_REDIS_URL='redis://localhost:6379/0', CACHE_DEFAULT_TIMEOUT=0, default_language='en', namespaces=[ importer.LinkedData(prefix=LOD_PREFIX + '/dcat/', url='http://www.w3.org/ns/dcat#%s', headers={'Accept': 'text/turtle'}, format='turtle'), importer.LinkedData(prefix=LOD_PREFIX + '/doi/', url='http://dx.doi.org/%s', headers={'Accept': 'text/turtle'}, format='turtle', postprocess_update=[ '''insert { graph ?g { ?pub a <http://purl.org/ontology/bibo/AcademicArticle>. } } where { graph ?g { ?pub <http://purl.org/ontology/bibo/doi> ?doi. } }''', '''delete {
'http://localhost:8080/blazegraph/namespace/admin/sparql', knowledge_queryEndpoint= 'http://localhost:8080/blazegraph/namespace/knowledge/sparql', knowledge_updateEndpoint= 'http://localhost:8080/blazegraph/namespace/knowledge/sparql', LOGIN_USER_TEMPLATE="auth/login.html", CELERY_BROKER_URL='redis://localhost:6379/0', CELERY_RESULT_BACKEND='redis://localhost:6379/0', namespaces=[ importer.LinkedData(prefix=LOD_PREFIX + '/doi/', url='http://dx.doi.org/%s', headers={'Accept': 'text/turtle'}, format='turtle', postprocess_update='''insert { graph ?g { ?pub a <http://purl.org/ontology/bibo/AcademicArticle>. } } where { graph ?g { ?pub <http://purl.org/ontology/bibo/doi> ?doi. } } '''), importer.LinkedData(prefix=LOD_PREFIX + '/dbpedia/', url='http://dbpedia.org/resource/%s', headers={'Accept': 'text/turtle'}, format='turtle', postprocess_update='''insert { graph ?g { ?article <http://purl.org/dc/terms/abstract> ?abstract. } } where {
'http://*****:*****@localhost:5672/whyis', CELERY_BROKER_URL='redis://*****:*****@localhost:5672/whyis', CELERY_RESULT_BACKEND='redis://localhost:6379/0', default_language='en', site_header_image='static/images/random_network.png', namespaces=[ importer.LinkedData(prefix=LOD_PREFIX + '/doi/', url='http://dx.doi.org/%s', headers={'Accept': 'text/turtle'}, format='turtle', postprocess_update='''insert { graph ?g { ?pub a <http://purl.org/ontology/bibo/AcademicArticle>. } } where { graph ?g { ?pub <http://purl.org/ontology/bibo/doi> ?doi. } } '''), importer.LinkedData( prefix=LOD_PREFIX + '/dbpedia/', url='http://dbpedia.org/resource/%s', headers={'Accept': 'text/turtle'}, format='turtle', postprocess_update='''insert { graph ?g { ?article <http://purl.org/dc/terms/abstract> ?abstract. }