Wikibase
MediaWiki Wikibase extension
|
Implementation for RDF mapping for Snaks. More...
Public Member Functions | |
__construct (RdfVocabulary $vocabulary, ValueSnakRdfBuilder $valueBuilder, PropertyDataTypeLookup $propertyLookup) | |
getEntityMentionListener () | |
setEntityMentionListener (EntityMentionListener $mentionedEntityTracker) | |
Private Member Functions | |
addSnakValue (RdfWriter $writer, $snakNamespace, PropertyValueSnak $snak, $propertyNamespace) | |
Adds the value of the given property to the RDF graph. | |
Private Attributes | |
$mentionedEntityTracker | |
$vocabulary | |
$valueBuilder | |
$propertyLookup | |
$propertyTypes = [] | |
Implementation for RDF mapping for Snaks.
Wikibase\Repo\Rdf\SnakRdfBuilder::__construct | ( | RdfVocabulary | $vocabulary, |
ValueSnakRdfBuilder | $valueBuilder, | ||
PropertyDataTypeLookup | $propertyLookup ) |
|
private |
Adds the value of the given property to the RDF graph.
RdfWriter | $writer | |
string | $snakNamespace | |
PropertyValueSnak | $snak | |
string | $propertyNamespace | The property namespace for this snak |
Wikibase\Repo\Rdf\SnakRdfBuilder::getEntityMentionListener | ( | ) |
Wikibase\Repo\Rdf\SnakRdfBuilder::setEntityMentionListener | ( | EntityMentionListener | $mentionedEntityTracker | ) |
|
private |
|
private |
|
private |
|
private |
|
private |