update_dict
.update_dict(
results_triples, s, p, o
)
Add new triple to the dictionary
Parameters:
results_triples (dict): reduced triples: {s: {p: {o: count}}} s (str): subject url p (str): predicate url o (str): object url
summarize
.summarize(
graph, string
)
Summarize graph
Parameters:
graph (Graph): graph to be summarized string (str): if normalize literals, the literals are converted