View Cora.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View talk_to_neo4j.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('dotenv').config() | |
const { Configuration, OpenAIApi } = require("openai"); | |
const neo4j = require('neo4j-driver') | |
const driver = neo4j.driver(process.env.NEO4JURI, neo4j.auth.basic(process.env.NEO4JUSER, process.env.NEO4JPASSWORD)) | |
const session = driver.session({ database: "biodb" }) | |
const configuration = new Configuration({ | |
apiKey: process.env.OPENAI_API_KEY | |
}); | |
const openai = new OpenAIApi(configuration); | |
let isConfidential = false; |
View DrkgSchemaAndDataImport.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View DrkgTigerGraphSchema.gsql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use global | |
CREATE VERTEX Gene (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Compound (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Disease (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Atc (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Tax (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX BiologicalProcess (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Symptom (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX Anatomy (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" | |
CREATE VERTEX MolecularFunction (PRIMARY_ID Id STRING) With primary_id_as_attribute="true" |
View Cora.nb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Content-type: application/vnd.wolfram.mathematica *) | |
(*** Wolfram Notebook File ***) | |
(* http://www.wolfram.com/nb *) | |
(* CreatedBy='Mathematica 12.3' *) | |
(*CacheID: 234*) | |
(* Internal cache information: | |
NotebookFileLineBreakTest |
View CSVGenerator.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View sparkCsv.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.sql.Dataset | |
import org.apache.spark.sql.Row | |
import org.apache.spark.sql.SparkSession | |
public fun main() { | |
val session = SparkSession.Builder() | |
.appName("Swa Spark") | |
.master("local") | |
.orCreate | |
val df: Dataset<Row> = session.read().format("csv") |
View GraphSageLinkPrediction.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View LaplacianEigenmaps.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View CommunityDetection.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder