DataHasValue

class DataHasValue(data_property_expression: DataPropertyExpression | URIRef | Reference | Referenced | str | IdentifierBox, literal: LiteralBox | Literal | int | float | bool | str | date | datetime | OBOLiteral)[source]

Bases: _DataValuesFrom

A class expression defined in 8.4.3 Literal Value Restriction.

Instantiate a literal value restriction.

Attributes Summary

property_type

Methods Summary

to_funowl_args()

Get the inside of the functional OWL tag representing the literal value restriction.

to_rdflib_node(graph, converter)

Represent this literal value restriction for RDF.

Attributes Documentation

property_type: ClassVar[URIRef] = rdflib.term.URIRef('http://www.w3.org/2002/07/owl#hasValue')

Methods Documentation

to_funowl_args() str[source]

Get the inside of the functional OWL tag representing the literal value restriction.

to_rdflib_node(graph: Graph, converter: Converter) BNode[source]

Represent this literal value restriction for RDF.