public class RdfConverter
extends java.lang.Object
| Constructor | Description |
|---|---|
RdfConverter(RdfWriter rdfWriter,
org.wikidata.wdtk.datamodel.interfaces.Sites sites,
PropertyRegister propertyRegister) |
| Modifier and Type | Method | Description |
|---|---|---|
static org.openrdf.model.Value |
getMonolingualTextValueLiteral(org.wikidata.wdtk.datamodel.interfaces.MonolingualTextValue value,
RdfWriter rdfWriter) |
|
int |
getTasks() |
Returns the tasks that should be performed during export.
|
void |
setTasks(int tasks) |
Sets the tasks that should be performed during export.
|
void |
writeBasicDeclarations() |
Writes OWL declarations for all basic vocabulary elements used in the
dump.
|
void |
writeItemDocument(org.wikidata.wdtk.datamodel.interfaces.ItemDocument document) |
|
void |
writeNamespaceDeclarations() |
|
void |
writePropertyDocument(org.wikidata.wdtk.datamodel.interfaces.PropertyDocument document) |
public RdfConverter(RdfWriter rdfWriter, org.wikidata.wdtk.datamodel.interfaces.Sites sites, PropertyRegister propertyRegister)
public void setTasks(int tasks)
RdfSerializer.TASK_STATEMENTS.tasks - the tasks to be performedpublic int getTasks()
RdfSerializer.TASK_STATEMENTS.public void writeBasicDeclarations()
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic void writeNamespaceDeclarations()
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic void writeItemDocument(org.wikidata.wdtk.datamodel.interfaces.ItemDocument document)
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic void writePropertyDocument(org.wikidata.wdtk.datamodel.interfaces.PropertyDocument document)
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic static org.openrdf.model.Value getMonolingualTextValueLiteral(org.wikidata.wdtk.datamodel.interfaces.MonolingualTextValue value,
RdfWriter rdfWriter)
value - Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage