New statistic for void:LinkSet and some minor fixes#23
Open
larsgsvensson wants to merge 13 commits into
Open
Conversation
Adapted Documentation so that when someone wants to use the LinkSets etc they don't clone the original repository but this one...
removed generation of void:class since that property is not about defined classes but about used classes. Moved that to /stats/UsedClasses.py /stats/UsedClasses.py Added generation of void:class (moved here from /stats/ClassesDefined.py /stats/LinkSets.py Refactored so that the dictionaries "link-properties" and "targets" are now externalised (in /config) /util/namespace.py Changed order of separators to # / : in order to get correct namespace for data.bnf.fr-URIs (à la http://data.bnf.fr/ark:/12148/cb16577733w where the namespace is http://data.bnf.fr/ark:/12148/) /util/rdf_namespaces.py Added namespaces skos: and gndo:
rdffile.py now sets proper rdf_format after conversion from .ttl to .nt (thus avoiding incorrect error message)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main addition
This PR introduces a new statistic
LinkSets.pythat creates createsvoid:LinkSetentries when running--void.The dataset names and a mapping from property URIs to property names (in order to create the link set name) are in the
/configdirectoryFurther changes
/stats/ClassesDefined.pyRemoved generation of
void:classessince that property is not about the number of defined classes but about number of classes used in the dataset. The generation ofvoid:classesis moved to/stats/UsedClasses.py/stats/UsedClasses.pyAdded generation of
void:classes. That code was moved here from/stats/ClassesDefined.py