Module Values.RDFGraphSummarySource

The RDF graph summary API returns a read-only list of classes and predicate keys, along with counts of quads, subjects, and predicates.

Sourcetype nonrec t = {
  1. numDistinctSubjects : Long.t option;
    (*

    The number of distinct subjects in the graph.

    *)
  2. numDistinctPredicates : Long.t option;
    (*

    The number of distinct predicates in the graph.

    *)
  3. numQuads : Long.t option;
    (*

    The number of quads in the graph.

    *)
  4. numClasses : Long.t option;
    (*

    The number of classes in the graph.

    *)
  5. classes : Classes.t option;
    (*

    A list of the classes in the graph.

    *)
  6. predicates : LongValuedMapList.t option;
    (*

    "A list of predicates in the graph, along with the predicate counts.

    *)
  7. subjectStructures : SubjectStructures.t option;
    (*

    This field is only present when the request mode is DETAILED. It contains a list of subject structures.

    *)
}
Sourceval make : ?numDistinctSubjects:??? -> ?numDistinctPredicates:??? -> ?numQuads:??? -> ?numClasses:??? -> ?classes:??? -> ?predicates:??? -> ?subjectStructures:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Map of ([> `String of String_.t ] * [> `Long of Long.t ]) list | `String of String_.t | `Structure of (string * [> `List of [> `String of String_.t ] list | `Long of Long.t ]) list ] list | `Long of Long.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t