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 |
---|---|---|---|
name | string | RDF model name in database | required |
accepted_predicates | array of string | predicates of triples that are transformed to edges | [] |
array_compaction_threshold | number | [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 instead | 0.2 |
attributes | object | additional attributes needed to read/write the graph data | null |
data_source_id | string | data source id to use to connect to an RDBMS instance | null |
edge_id_strategy | enum[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 value | null |
edge_id_type | enum[long] | type of the edge ID. For homogeneous graphs, if not specified (or set to null), it will default to long. | null |
edge_props | array of object | specification of edge properties associated with graph | [] |
error_handling | object | error handling configuration | null |
external_stores | array of object | Specification of the external stores where external string properties reside. | [] |
format | enum[pgb, edge_list, adj_list, graphml, pg, rdf, two_tables] | graph format | null |
ignored_predicates | array of string | predicates of triples that are ignored | [] |
jdbc_url | string | jdbc URL pointing to an RDBMS instance | null |
keystore_alias | string | alias to the keystore to use when connecting to database | null |
loading | object | loading-specific configuration | null |
local_date_format | array of string | array 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_rows | integer | maximun number of rows prefetched during each round trip resultset-database | 10000 |
optimized_for | enum[read, updates] | Indicates if the graph should use data-structures optimized for read-intensive scenarios or for fast updates | read |
partition_while_loading | enum[by_label, no] | Indicates if the graph should be partitioned while loading | null |
password | string | password to use when connecting to database | null |
point2d | string | longitude and latitude as floating point values separated by a space | 0.0 0.0 |
prefixes | array of object | IRI prefixes | [] |
time_format | array of string | the time format to use when loading and storing time properties. Please see DateTimeFormatter for a documentation of the format string | [] |
time_with_timezone_format | array of string | the 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_format | array of string | the timestamp format to use when loading and storing timestamp properties. Please see DateTimeFormatter for a documentation of the format string | [] |
timestamp_with_timezone_format | array of string | the timestamp with timezone format to use when loading and storing timestamp with timezone properties. Please see DateTimeFormatter for a documentation of the format string | [] |
username | string | username to use when connecting to an RDBMS instance | null |
vector_component_delimiter | character | delimiter for the different components of vector properties | ; |
vertex_id_strategy | enum[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 detected | null |
vertex_id_type | enum[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_predicates | array of string | predicates of triples that are transformed to vertex labels | [] |
vertex_props | array of object | specification of vertex properties associated with graph | [] |