HasKey

class HasKey(class_expression, object_property_expressions, data_property_expressions, *, annotations=None)[source]

Bases: Axiom

An axiom for 9.5 “Keys”.

Instantiate a “has key” axiom.

Methods Summary

to_rdflib_node(graph, converter)

Represent the "has key" axiom for RDF.

Methods Documentation

Parameters:
to_rdflib_node(graph, converter)[source]

Represent the “has key” axiom for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

BNode