Skip to content

RDFGraphSummary

Source code in docs_src/capo_neptunedata/types/rdf_graph_summary.py
class RDFGraphSummary(TypedDict, closed=True):
    num_distinct_subjects: NotRequired["int"]
    """<p>The number of distinct subjects in the graph.</p>"""
    num_distinct_predicates: NotRequired["int"]
    """<p>The number of distinct predicates in the graph.</p>"""
    num_quads: NotRequired["int"]
    """<p>The number of quads in the graph.</p>"""
    num_classes: NotRequired["int"]
    """<p>The number of classes in the graph.</p>"""
    classes: NotRequired["capo_neptunedata.types.classes.Classes"]
    """<p>A list of the classes in the graph.</p>"""
    predicates: NotRequired[
        "capo_neptunedata.types.long_valued_map_list.LongValuedMapList"
    ]
    """<p>"A list of predicates in the graph, along with the predicate counts.</p>"""
    subject_structures: NotRequired[
        "capo_neptunedata.types.subject_structures.SubjectStructures"
    ]
    """<p>This field is only present when the request mode is <code>DETAILED</code>. It contains a list of subject structures.</p>"""

classes instance-attribute

classes: NotRequired[Classes]

A list of the classes in the graph.

num_classes instance-attribute

num_classes: NotRequired[int]

The number of classes in the graph.

num_distinct_predicates instance-attribute

num_distinct_predicates: NotRequired[int]

The number of distinct predicates in the graph.

num_distinct_subjects instance-attribute

num_distinct_subjects: NotRequired[int]

The number of distinct subjects in the graph.

num_quads instance-attribute

num_quads: NotRequired[int]

The number of quads in the graph.

predicates instance-attribute

predicates: NotRequired[LongValuedMapList]

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

subject_structures instance-attribute

subject_structures: NotRequired[SubjectStructures]

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