# Create triplestore object
avidaDB <- triplestore_access$new()
# Set access options
avidaDB$set_access_options(
url = "https://graphdb.fortunalab.org",
user = "public_avida",
password = "public_avida",
repository = "avidaDB_test"
)
# Single logic operation
get_genome_id_from_logic_operation(
logic_operation = "not-or",
triplestore = avidaDB
)
# More than one logic operation
get_genome_id_from_logic_operation(
logic_operation = c("not", "not-and"),
triplestore = avidaDB
)
# At seed_1
get_genome_id_from_logic_operation(
logic_operation = c("or", "equals", "and"),
seed_id = 1,
genome_seq = TRUE,
triplestore = avidaDB
)
Run the code above in your browser using DataLab