Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Rdf\ValueSnakRdfBuilder Interface Reference

Interface for RDF mapping for wikibase data values. More...

+ Inheritance diagram for Wikibase\Repo\Rdf\ValueSnakRdfBuilder:

Public Member Functions

 addValue (RdfWriter $writer, $propertyValueNamespace, $propertyValueLName, $dataType, $snakNamespace, PropertyValueSnak $snak)
 Adds specific value. More...
 

Detailed Description

Interface for RDF mapping for wikibase data values.

Author
Daniel Kinzler
Stas Malyshev

Member Function Documentation

◆ addValue()

Wikibase\Repo\Rdf\ValueSnakRdfBuilder::addValue ( RdfWriter  $writer,
  $propertyValueNamespace,
  $propertyValueLName,
  $dataType,
  $snakNamespace,
PropertyValueSnak  $snak 
)

Adds specific value.

Parameters
RdfWriter$writer
string$propertyValueNamespaceProperty value relation namespace
string$propertyValueLNameProperty value relation name
string$dataTypeProperty data type
string$snakNamespace
PropertyValueSnak$snak

Implemented in Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder, Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder, Wikibase\Repo\Rdf\Values\ExternalIdentifierRdfBuilder, Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder, and Wikibase\Repo\Rdf\DispatchingValueSnakRdfBuilder.


The documentation for this interface was generated from the following file: