Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rdf serializer #75

Merged
merged 89 commits into from Jun 1, 2014
Merged

Rdf serializer #75

merged 89 commits into from Jun 1, 2014

Conversation

mkroetzsch
Copy link
Member

No description provided.

guenthermi and others added 30 commits April 24, 2014 17:50
	- setup RdfConverter and Serializer for direct writing in RdfConverter
	- implement visitors for RdfConverter
* Move all actual triple writing to new class RdfWriter (no more OpenRDF
"Statements" in the main code)
* Move URI constants and methods to new class Vocabulary
* Rename methods in a uniform way (most methods now "write" something)
* Change method visibility and reorder methods according to style guide
* New Enum PropertyContext to specify how a property is used

More changes to come.
In some cases, the class will need to know which Wiki it is used with,
but for now let's just implement this for Wikidata only.
* New buffer object to store values for later serialization
* Initial implementation for serializing quantities
* Many architectural changes ... more to come
Unused features are omitted for now
https://github.com/Wikidata/Wikidata-Toolkit.git into rdf-serializer

Conflicts:
	wdtk-rdf/src/main/java/org/wikidata/wdtk/rdf/ValueRdfConverter.java
mkroetzsch and others added 25 commits May 5, 2014 21:57
Commented everything out that delivered no useful URI.
	- new interface PropertyTypes
	- rename class PropertyTypes to PropertyTypesImpl (for WikiData
		Properties)
	- put Url of the WebApi of Wikidata as a constant in PropertyTypesImpl
	- reparsing instead of removing blank nodes
	- extend RdfConverterTest
	- new RdfSerializerTest
	- helper class for test functions of wdtk-rdf
* Use GZIP instead of BZ2, which is much slower (we can re-code data in
BZ2 later on the console if really needed)
* Use buffers before and after compression
* Perform actual compression in separate threads
Smaller classes with more clearly defined tasks.
* Export links in addition rather than instead of Wikidata contents
* Manage link exports through a flexible system extension classes that
register on certain properties
mkroetzsch added a commit that referenced this pull request Jun 1, 2014
@mkroetzsch mkroetzsch merged commit 679829b into master Jun 1, 2014
@mkroetzsch mkroetzsch deleted the rdf-serializer branch June 1, 2014 17:45
@coveralls
Copy link

Coverage Status

Coverage decreased (-12.24%) when pulling 727d2ed on rdf-serializer into 07b99c2 on master.

@mkroetzsch mkroetzsch mentioned this pull request Jun 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants