ValueExportExtension<org.wikidata.wdtk.datamodel.interfaces.StringValue>FreebaseExportExtensionpublic abstract class StringIdExportExtension extends java.lang.Object implements ValueExportExtension<org.wikidata.wdtk.datamodel.interfaces.StringValue>
| Constructor | Description |
|---|---|
StringIdExportExtension() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract java.lang.String |
getPropertyPostfix() |
Returns the postfix string that should be used for forming property URIs
for the id properties created in this export extension.
|
abstract java.lang.String |
getValueUri(org.wikidata.wdtk.datamodel.interfaces.StringValue value) |
Returns the string URI that the id property should link to.
|
void |
writeExtensionData(org.openrdf.model.Resource resource,
org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue propertyIdValue,
org.wikidata.wdtk.datamodel.interfaces.StringValue value,
RdfWriter rdfWriter,
OwlDeclarationBuffer owlDeclarationBuffer) |
Writes additional RDF data for the given data.
|
public void writeExtensionData(org.openrdf.model.Resource resource,
org.wikidata.wdtk.datamodel.interfaces.PropertyIdValue propertyIdValue,
org.wikidata.wdtk.datamodel.interfaces.StringValue value,
RdfWriter rdfWriter,
OwlDeclarationBuffer owlDeclarationBuffer)
throws org.openrdf.rio.RDFHandlerException
ValueExportExtensionwriteExtensionData in interface ValueExportExtension<org.wikidata.wdtk.datamodel.interfaces.StringValue>resource - the subject for which to write the datapropertyIdValue - the property that was used for writingvalue - the value used with the propertyrdfWriter - the writer to write the data toowlDeclarationBuffer - the buffer to write necessary vocabulary declarations toorg.openrdf.rio.RDFHandlerException - if the data could not be writtenpublic abstract java.lang.String getPropertyPostfix()
public abstract java.lang.String getValueUri(org.wikidata.wdtk.datamodel.interfaces.StringValue value)
value - the string value containing the idCopyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage