PGX 20.2.2
Documentation
NB: This is an enterprise feature and it is only available in PGX versions embedded in supported Oracle products.

Oracle RDF Format

PGX allows the loading of graphs in RDF format from the Oracle database. To read from RDF, you need to specify the following additional fields in the graph config:

Field Type Description Default
namestringRDF model name in databaserequired
accepted_predicatesarray of stringpredicates of triples that are transformed to edges[]
array_compaction_thresholdnumber[only relevant if the graph is optimized for updates] threshold used to determined when to compact the delta-logs into a new array. If lower than the engine min_array_compaction_threshold value, min_array_compaction_threshold will be used instead0.2
attributesobjectadditional attributes needed to read/write the graph datanull
data_source_idstringdata source id to use to connect to an RDBMS instancenull
edge_id_strategyenum[no_ids, keys_as_ids, unstable_generated_ids]Indicates what ID strategy should be used for the edges of this graph. If not specified (or set to null), the strategy will be determined during loading or using a default valuenull
edge_id_typeenum[long]type of the edge ID. For homogeneous graphs, if not specified (or set to null), it will default to long.null
edge_propsarray of objectspecification of edge properties associated with graph[]
error_handlingobjecterror handling configurationnull
external_storesarray of objectSpecification of the external stores where external string properties reside.[]
formatenum[pgb, edge_list, adj_list, graphml, pg, rdf, two_tables]graph formatnull
ignored_predicatesarray of stringpredicates of triples that are ignored[]
jdbc_urlstringjdbc URL pointing to an RDBMS instancenull
keystore_aliasstringalias to the keystore to use when connecting to databasenull
loadingobjectloading-specific configurationnull
local_date_formatarray of stringarray of local_date formats to use when loading and storing local_date properties. Please see DateTimeFormatter for a documentation of the format string[]
max_prefetched_rowsintegermaximun number of rows prefetched during each round trip resultset-database10000
optimized_forenum[read, updates]Indicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updatesread
partition_while_loadingenum[by_label, no]Indicates if the graph should be partitioned while loadingnull
passwordstringpassword to use when connecting to databasenull
point2dstringlongitude and latitude as floating point values separated by a space0.0 0.0
prefixesarray of objectIRI prefixes[]
time_formatarray of stringthe time format to use when loading and storing time properties. Please see DateTimeFormatter for a documentation of the format string[]
time_with_timezone_formatarray of stringthe time with timezone format to use when loading and storing time with timezone properties. Please see DateTimeFormatter for a documentation of the format string[]
timestamp_formatarray of stringthe timestamp format to use when loading and storing timestamp properties. Please see DateTimeFormatter for a documentation of the format string[]
timestamp_with_timezone_formatarray of stringthe timestamp with timezone format to use when loading and storing timestamp with timezone properties. Please see DateTimeFormatter for a documentation of the format string[]
usernamestringusername to use when connecting to an RDBMS instancenull
vector_component_delimitercharacterdelimiter for the different components of vector properties;
vertex_id_strategyenum[no_ids, keys_as_ids, unstable_generated_ids]Indicates what ID strategy should be used for the vertices of this graph. If not specified (or set to null), the strategy will be automatically detectednull
vertex_id_typeenum[int, integer, long, string]type of the vertex ID. For homogeneous graphs, if not specified (or set to null), it will default to a specific value (depending on the origin of the data).null
vertex_label_predicatesarray of stringpredicates of triples that are transformed to vertex labels[]
vertex_propsarray of objectspecification of vertex properties associated with graph[]