Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
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.
 

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\DispatchingValueSnakRdfBuilder, Wikibase\Repo\Rdf\Values\EntityIdRdfBuilder, Wikibase\Repo\Rdf\Values\ExternalIdentifierRdfBuilder, Wikibase\Repo\Rdf\Values\LiteralValueRdfBuilder, and Wikibase\Repo\Rdf\Values\ObjectUriRdfBuilder.


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